playMaker

Author Topic: Tutorial Request: Get/Has component and Get/Set Property  (Read 3026 times)

justifun

  • 1.2 Beta
  • Sr. Member
  • *
  • Posts: 280
Tutorial Request: Get/Has component and Get/Set Property
« on: March 06, 2012, 04:45:12 PM »
I'm super confused on how to properly use the get/has component and Get/Set property actions,

can someone plz help explain how to use them? thx

I've been trying to use them to emit/stop a particle system for example.

thx

legend411

  • Playmaker Newbie
  • *
  • Posts: 6
Re: Tutorial Request: Get/Has component and Get/Set Property
« Reply #1 on: March 09, 2012, 11:14:36 AM »
Just select the object that has the particle emitter component in the unity scene view, and literally drag the particle emitter component from the unity inspector pane of that object to the "Target Object" field of the Set Property action in the FSM editor.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Tutorial Request: Get/Has component and Get/Set Property
« Reply #2 on: March 14, 2012, 01:05:28 AM »
I've been meaning to make a quick screencast for this... Did you manage to figure it out?

justifun

  • 1.2 Beta
  • Sr. Member
  • *
  • Posts: 280
Re: Tutorial Request: Get/Has component and Get/Set Property
« Reply #3 on: March 14, 2012, 09:26:18 AM »
I'm still a bit confused on how to use them properly based on the docs alone, a screencast would be awesome!

I think they key piece of the puzzle has been when i finally realized from another thread you need to drag the component name from the object in question over to the object field. I didnt realize there was a difference between a game object and object type.