Is there a way to detect that someone in the room stopped in a specific tile (with TriggerType.AVATAR_STOP) in the server side (extension) or client side (Flash)? We are using OpenSpace.
In fact, we need to know if a NPC stopped ina specific tile.
thanks
Detect STOP_MOVEMENT of other users
Detect STOP_MOVEMENT of other users
Fabio Colombini
Brazil
Brazil
Re: Detect STOP_MOVEMENT of other users
On the client side, you can make the AvatarEvent.STOP_MOVEMENT being fired by all the avatars stopping on a tile with an AVATAR_STOP trigger assigned. Just make sure the trigger has the "all avatars" property set to true.
On the server side I don't think this is possible. You could monitor the User Variables to know the position, but they are set immediately to the target tile (where the avatar will stop at the end of the path), so you don't know when the NPC will be there exactly.
On the server side I don't think this is possible. You could monitor the User Variables to know the position, but they are set immediately to the target tile (where the avatar will stop at the end of the path), so you don't know when the NPC will be there exactly.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Return to “SmartFoxServer 1.x Discussions and Help”
Who is online
Users browsing this forum: No registered users and 57 guests