Playmaker Forum

PlayMaker News => General Discussion => Topic started by: grimmy on April 15, 2014, 08:18:04 AM

Title: Send Message..Can't send the Owner as a parameter
Post by: grimmy on April 15, 2014, 08:18:04 AM
I'm trying to use send a message from an FSM which adds a box collider in script.

However, my script requires a gameObject argument. (which defines the object to place the component on)

For some reason I cant seem to pass Use Owner in send message like I can normally.

How can I achieve this?
Title: Re: Send Message..Can't send the Owner as a parameter
Post by: jeanfabre on April 15, 2014, 10:43:21 AM
Hi,

 where did you get this action?

 create a fsmGameObject called "me" or "owner", and use the action "get owner", then you can inject "me" in that object field.

bye,

 Jean
Title: Re: Send Message..Can't send the Owner as a parameter
Post by: grimmy on April 16, 2014, 07:45:08 AM
Cool cheers!

The action is just a renamed Send Message action :)

I rename pretty much everything so I can read what's going on. Adding comments fields takes too long for me :)