I've set up some Tile Instance Triggers within the Editor. How do I pick these up in ActionScript?
for example, if I set an avatarGo event, with no target, and a parameter, is there an AvatarEvent.avatarGo, or AvatarEvent.AVATAR_GO event? It's not documented? Is my ActionScript something like..
os.addEventListener(AvartarEvent.avatarGo,avatargofn);
Is there a "parameter" property, to pick up the parameter? What's the syntax here?
Is there an example somewhere? Or is this all something that's going to be in the next version?
Tile Instance Triggers
As written in the Editor's documentation, the "triggers" feature is not used inside the current version of the OpenSpace Engine. Now all the tiles fire all AvatarEvents, as shown in the provided examples.
The next major release of OpenSpace will make use of this feature to optimize the dispatching of events.
The next major release of OpenSpace will make use of this feature to optimize the dispatching of events.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team