Set Event Data and Get Event Info are 2 actions I just came across.
https://hutonggames.fogbugz.com/default.asp?W531https://hutonggames.fogbugz.com/default.asp?W530I have been using another method:
1. set the required target FSM's variable(s),
2. then send an event to the target FSM to do something with those variable(s) set right before.
If I understand correctly?
1. Set Event Data
2. then Broadcast event
3. then Get Event Info in the target(s) FSM(s) you can do the same a bit more elegantly.
Is this right?
Which approach is better?
I would also appreciate some more explanation and use cases for the other actions in the StateMachine category. Some of them are gray areas still, but they seem like very powerful "allies" when used skilfully.
Thanks in advance,
szomaza