Hi,
SendMessage only accepts one parameter. But this is not really Playmaker related. In short, to send multiple parameters, either than a class you created and simply access its param and function as usual, else you can pass a hashtable, or an array, things like that.
In playmaker, You can send Events and add Data to that event. Check out the following actions:
https://hutonggames.fogbugz.com/default.asp?W531https://hutonggames.fogbugz.com/default.asp?W530 I do need to pass more than one parameter within playmaker, It's fine if you need to pass a string, a float, and an int, but the data structure of events is unfortunatly very limited, you can not pass more than one string, more than one float, etc etc, and you can't a hashtable for convenient retrieval. So I tend to NOT pass data when it becomes complex, instead I rely on other technics such as:
-- send a event to a Fsm, that fsm will then query the caller or what it needs when it receives that events, this is much easier, but introduce some dependancies, aka the receiver has to know where to get the informations. This is solved by creating what I call "META" Fsm, that acts as data repository, so if I have a player, all my enemies have a reference of "META PLAYER" fsm, and when the player wants to comnunicate with an enemy, it send an event, with no data, and the enemy simply pull from "META PLAYER" what it needs to react and act upon this event.
Hope that make sense
Bye,
Jean