Page 1 of 1
How i can check that the avatar near some building now?
Posted: 20 Jan 2011, 16:04
by Darkwing Duck
Hi.
How i can check that my Avatar near the some building on the map when it has stopped?
Posted: 25 Jan 2011, 07:31
by Bax
Use the tile triggers. In the Editor, add a stop trigger to the tile/s near the building. Then in your client listen to the respective event.
Check the example provided with OpenSpace: the doors of the houses are always closed, except if your avatar is in front of them.
Posted: 25 Jan 2011, 11:28
by Darkwing Duck
The buildings must dinamically add to the map.. and I don't know where in editor will be the building..
Posted: 25 Jan 2011, 12:24
by Bax
Make that sensor tile/s part of the supertile which represents the building.