playMaker

Author Topic: Using "Get Property" and "Set Property" with variables?[SOLVED]  (Read 1799 times)

Morisato

  • Playmaker Newbie
  • *
  • Posts: 5
Using "Get Property" and "Set Property" with variables?[SOLVED]
« 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.
« Last Edit: November 08, 2016, 01:44:39 PM by jeanfabre »

mdotstrange

  • Hero Member
  • *****
  • Posts: 555
    • Can't code? Who cares! Make games anyway!
Re: Using "Get Property" and "Set Property" with variables?
« Reply #1 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-
Indie game dev and instructor at the Strange School. Learn Playmaker at the Strange School!

Morisato

  • Playmaker Newbie
  • *
  • Posts: 5
Re: Using "Get Property" and "Set Property" with variables?
« Reply #2 on: October 02, 2016, 05:08:24 AM »
Awesome! That was a much better solution :) Thank you :D