Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Zozo2099 on July 18, 2012, 03:00:32 PM

Title: [SOLVED] Need help!
Post by: Zozo2099 on July 18, 2012, 03:00:32 PM
Hi to all

So Iam null in programming and I found a playmaker a great tool to realize all I want visually, so my question: I have a Cs script file attached to an object (this object has playmaker FMS too) so I want to execute a State/Event inside this FSM within the Cs script. How to do that please, which command I shall use? Give an example.

Thanks
Title: Re: Need help!
Post by: A3DStudio on July 18, 2012, 08:35:20 PM
You can enable and disable a .cs script on a object with the "Enable Behaviour" action in a FSM.
See here: https://hutonggames.fogbugz.com/default.asp?W54
Title: Re: Need help!
Post by: Zozo2099 on July 18, 2012, 08:49:18 PM
You can enable and disable a .cs script on a object with the "Enable Behaviour" action in a FSM.
See here: https://hutonggames.fogbugz.com/default.asp?W54

Hi

no it is not that what I want, I want the contrary: I want to access playmaker FSM within a Cs script, so I want a cs command to enable fsm event or state.

thanks
Title: Re: Need help!
Post by: Alex Chouls on July 18, 2012, 11:08:52 PM
There's an example here:
https://hutonggames.fogbugz.com/default.asp?W329
Title: Re: Need help!
Post by: Zozo2099 on July 19, 2012, 08:00:54 AM
thanks  :)