+Afterburned Posted July 22, 2010 Share Posted July 22, 2010 Oh god, solve one issue and another rears its ugly head! So now the players are OnProximity to a zone to see items. I want to have objects that commands work only in certain zones, so I use an If command on the objects action: In the zone (if zone contains player) works. Proximity to the zone (if the player is within proximity to the zone) does not. This is the same on the emulator and the PPC (WherYouGo Android) that I have tried! Any reasons or answers? (no wonder people give up on building these things!!!) Quote Link to comment
matejcik Posted July 24, 2010 Share Posted July 24, 2010 well, do you have the Lua code for this statement? i think that it won't work in WhereYouGo/OpenWIG, because this functionality is not implemented (yet). but it should work in emulator Quote Link to comment
+Afterburned Posted July 24, 2010 Author Share Posted July 24, 2010 Hi matejcik, I was hoping you would pick up on this! Here is the test lua code zipped (amazing we cannot upload a .lua file!) There is one zone and one item, when you hit the command 'drop' it should tell you if you are in the zone, in proximity or otherwise. In and Out of the zone work but proximity does not. Thanks for your help. BlackDogTest2.zip Quote Link to comment
matejcik Posted July 24, 2010 Share Posted July 24, 2010 (edited) did you generate this code with a Builder? seems to be a builder bug. the code says: if zoneJersey.ZoneState == "Proximity" then and the correct code seems to be if zoneJersey.State == "Proximity" then as i said, this will not work in openwig and whereyougo, because it's not implemented yet, but i can add it rather easily. and it should work on Garmins and Emulator/PPC player just fine Edited July 24, 2010 by matejcik Quote Link to comment
+Afterburned Posted July 24, 2010 Author Share Posted July 24, 2010 Oh yes, most definately built with Builder. I started this one on Builder and thought I should see it through, however I may just finish it on Earwigo now! Thanks greatly for your help, most of the people around here use Garmins, I may have to publish 2 versions, one for PPC and one for Garmin! Quote Link to comment
+sTeamTraen Posted July 25, 2010 Share Posted July 25, 2010 I started this one on Builder and thought I should see it through, however I may just finish it on Earwigo now! Hmm, Earwigo also outputs "ZoneState". Some research is apparently needed - watch this space... Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.