Jump to content
Sign in to follow this  
Prospero

Silly question

Recommended Posts

I know there are various ways of going "round the houses" to do this, but I've always wondered if there's a simple, straightforward, "direct" script method for determining which (official) map is loaded. We're talking from the script's POV.

I can't think of one. I suspect, however, I'm being terribly stupid.

Prospero

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Prospero @ Feb. 08 2003,01:11)</td></tr><tr><td id="QUOTE">I know there are various ways of going "round the houses" to do this, but I've always wondered if there's a simple, straightforward, "direct" script method for determining which (official) map is loaded. We're talking from the script's POV.<span id='postcolor'>

Well, I would do it by picking any object with an ID number (tree, house, rock) from each map, taking a note of their coordinates and using that information to check which map the script is run at. I doubt there are two maps where a rock with the same ID is at the same specific coordinates wink.gif

It's not probably that direct as you would want, but I'd say it's simple enough.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×