Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: ryf9059 on June 07, 2013, 02:56:15 AM

Title: Connecting scripts and receiving value
Post by: ryf9059 on June 07, 2013, 02:56:15 AM
I have problem using the connecting script feature.

I watched the tutorial, but it doesn't say what to do if the function have more than 2 parameters, it only demonstrate the case with a single parameter.

Also I want to know how to get a return value from a function inside FSM.

Please advise.
Title: Re: Connecting scripts and receiving value
Post by: jeanfabre on June 07, 2013, 03:03:53 AM
Hi,

You'll need to write a custom action for this, when you want to access complex methods that invoke and SendMessage can't.

bye,

 Jean
Title: Re: Connecting scripts and receiving value
Post by: ryf9059 on June 07, 2013, 03:27:55 AM
You'll need to write a custom action for this, when you want to access complex methods that invoke and SendMessage can't.

Any tutorial for how to write custom actions like this?
Title: Re: Connecting scripts and receiving value
Post by: jeanfabre on June 07, 2013, 05:06:05 AM
Hi,

The best way is to open existing actions ( they are all open sources). the thing with giving a tutorial on creating custom actions is problematic, because if you do have scripting skills, writing custom actions is nothing but a few copy paste, so I am still unsure about how to approach such tutorial if I where to write one.

bye,

 Jean