playMaker

Author Topic: Enabling behaviours  (Read 1399 times)

ETGgames

  • Junior Playmaker
  • **
  • Posts: 56
    • View Profile
    • ETGgames
Enabling behaviours
« on: August 31, 2015, 01:55:46 PM »
I am trying to enable the mesh renderer of an object if the blink state is off. however, I'm not sure what to put in the behaviour box? I dragged the rendered into the component box, but it isn't working. I tried selecting playmaker fsm in the behaviour box too.

Justin

  • Junior Playmaker
  • **
  • Posts: 58
    • View Profile
Re: Enabling behaviours
« Reply #1 on: August 31, 2015, 02:27:09 PM »
Try the 'set property' action instead of behavior.  Not sure if it is the best action to use but it works for me.

terri

  • Sr. Member
  • ****
  • Posts: 373
    • View Profile
    • terrivellmann.tumblr.com
Re: Enabling behaviours
« Reply #2 on: August 31, 2015, 02:43:10 PM »
I'd just use the Set Visibility action, have you tried that?

ETGgames

  • Junior Playmaker
  • **
  • Posts: 56
    • View Profile
    • ETGgames
Re: Enabling behaviours
« Reply #3 on: September 04, 2015, 12:55:52 PM »
The set property action doesn't detect components?? I can't find the mesh render inside the drop down menu for the set property.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14126
  • Official Playmaker Support
    • View Profile
Re: Enabling behaviours
« Reply #4 on: September 16, 2015, 10:39:24 PM »
Hi,

 It's because you need to drag the "Mesh Renderer" component itself, not the GameObject, if you want to access "Mesh Renderer" properties:


Bye,

 Jean