Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Is there a way to track the players position (x and y) without assigning an event to every tile?
Thanks!
------------------ Here's my site! There is art, music, movies, and games! (url="http://"http://www.sinthesisent.com")http://www.sinthesisent.com(/url)
Quote
Originally posted by Klatu: Is there a way to track the players position (x and y) without assigning an event to every tile?
The player's coordinates are &&PlayerX;/&&PlayerY.; Calling these at any time will tell you where the player is.
If you want to know where he has been, then you will need to use globals and/or events to keep track of it, and it will be an ardous process(very feasible though) depending on how large your maps are.
------------------ (url="http://"http://stark.evula.net/pogwalkthrough.htm")PoG Walkthrough and Compendium(/url) | (url="http://"http://stark.evula.net/plugins/dev_tools.htm")PoG Dev Tools(/url) | (url="http://"http://stark.evula.net/plugins/spells_expander.htm")Spells Expander(/url) (url="http://"http://stark.evula.net")Stark.evula.net(/url) | (url="http://"http://www.evula.net")EVula.net(/url) | (url="http://"http://mail.ambrosiasw.com/mailman/listinfo/coldstone_dev")Coldstone-dev mailing list(/url) | (url="http://"http://ucplugs.evula.net/pog.html")PoG Upcoming Plug-Ins Directory(/url)
I forgot about that! Oh well, I figured out an easier way to accomplish what I wanted to do - thanks though!