Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: escpodgames on November 08, 2014, 09:29:41 PM

Title: Get FSM name action
Post by: escpodgames on November 08, 2014, 09:29:41 PM
I want to disable the current FSM but the FSM is a template which will be renamed "SpawnPool_*ObjectName*" where ObjectName could be anything.

Is there a way to disable this FSM OR can we get a FSM name action?
Title: Re: Get FSM name action
Post by: Lane on November 08, 2014, 10:12:00 PM
Is this what you need?
Title: Re: Get FSM name action
Post by: escpodgames on November 08, 2014, 10:13:43 PM
You got it! Thx Lane!
Title: Re: Get FSM name action
Post by: escpodgames on November 09, 2014, 03:31:33 AM
One issue with the action is that it returns "GameObjectName : FSMName"

Had a play with the actions script but can't do any better :S

Here is my attempt at a work around (not ideal but it works)
Title: Re: Get FSM name action
Post by: Lane on November 09, 2014, 09:39:16 AM
Ah ok, I thought you needed the whole title there.

Try this?
Title: Re: Get FSM name action
Post by: jeanfabre on November 11, 2014, 02:20:11 AM
Hi,

 Very good action, I added it to the Ecosystem (https://hutonggames.fogbugz.com/default.asp?W1181).

Bye,

 Jean