playMaker

Author Topic: Hiding and locking layers.  (Read 1497 times)

Accus

  • Playmaker Newbie
  • *
  • Posts: 1
Hiding and locking layers.
« on: June 22, 2015, 12:02:14 PM »
Hey there!

I recently purchased Playmaker (today) so I'm still getting to grips with it.

I have set up a simple FSM that when a model is clicked it vanishes, and then when clicked again it will reappear.

I have been using the Set Visible under Materials in the action browser.

This is fine for one model deep layers but, I have a whole block of them. I want to be able to turn off the above blocks and work up from the ground up.

I have attached images to better explain.

Basically, I want to start at the bottom layer and after removing some blocks lock the current layer and bring in the next layer which is hidden until the current layer is locked, rinse and repeat.

Thank you for your time, and this asset!
Accus

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Hiding and locking layers.
« Reply #1 on: June 23, 2015, 06:12:37 AM »
i'm not sure if this is the best way for you but,
if you have your layer of blocks inside an object (child)

i would use Active/Inactive on that object.

to do so you have to drag the object into a state and choose set Property
then choose inside property "Active" you will get a checkbox witch you can use to Activate/Deactivate the object and its children

Edit: or you can use the action "Activate Game Object" to do the same
« Last Edit: June 23, 2015, 07:07:29 AM by djaydino »