Playmaker Forum

PlayMaker News => General Discussion => Topic started by: Morisato on September 28, 2016, 11:00:49 PM

Title: Using "Get Property" and "Set Property" with variables?[SOLVED]
Post by: Morisato on September 28, 2016, 11:00:49 PM
I'm having a *little* trouble understanding these actions. Is it not possible to use a GameObject variable with these actions? I want to find and store a game object in a variable, then using the variable find a specific property for that GameObject.

i.e.; I want to check to see if an object is "activated" or disabled and move within the FSM based on whether that is true or false.
Title: Re: Using "Get Property" and "Set Property" with variables?
Post by: mdotstrange on September 29, 2016, 12:12:02 AM
Those actions are drag and drop only- to be able to use a game object variable and set things on that object you'll need to make a custom action-

If you want to see if a game object variable is activated or not there is an "Is Active" action on Ecosytem that does that-
Title: Re: Using "Get Property" and "Set Property" with variables?
Post by: Morisato on October 02, 2016, 05:08:24 AM
Awesome! That was a much better solution :) Thank you :D