playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker News
»
General Discussion
(Moderator:
600
) »
Send Message..Can't send the Owner as a parameter
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Send Message..Can't send the Owner as a parameter (Read 2269 times)
grimmy
Junior Playmaker
Posts: 70
Send Message..Can't send the Owner as a parameter
«
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?
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: Send Message..Can't send the Owner as a parameter
«
Reply #1 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
Logged
grimmy
Junior Playmaker
Posts: 70
Re: Send Message..Can't send the Owner as a parameter
«
Reply #2 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
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker News
»
General Discussion
(Moderator:
600
) »
Send Message..Can't send the Owner as a parameter