playMaker

Author Topic: making one object unlock another.  (Read 1505 times)

coffeeANDsoda

  • Hero Member
  • *****
  • Posts: 618
making one object unlock another.
« on: June 06, 2014, 02:09:43 AM »
How is this done in playmaker? Also, how would that apply to a few objects that a person would have to rotate a certain way in order to do the same thing?

Thanks.

« Last Edit: June 06, 2014, 04:25:40 AM by coffeeANDsoda »

TrentSterling

  • Junior Playmaker
  • **
  • Posts: 89
  • Someday I'll make games!
    • My Blog
Re: making one object unlock another.
« Reply #1 on: June 06, 2014, 02:43:05 PM »
I assume you mean something like a door. Here's a response I've made earlier on the topic with demo scene. 2 Buttons must be pressed to open the doorway.



http://hutonggames.com/playmakerforum/index.php?topic=7311.msg35575#msg35575

As far as rotating an object to unlock something- you could just use GetRotation or GetAngles (whatever the action is called.) Check that the object has 0 rotation perhaps.
« Last Edit: June 06, 2014, 02:45:31 PM by TrentSterling »

coffeeANDsoda

  • Hero Member
  • *****
  • Posts: 618
Re: making one object unlock another.
« Reply #2 on: June 06, 2014, 08:57:14 PM »
More like getting another object move. No doors, unless I make it invisible.