playMaker

Author Topic: Make next object visible!  (Read 2472 times)

cptsvim

  • Playmaker Newbie
  • *
  • Posts: 14
Make next object visible!
« on: July 21, 2012, 06:31:37 PM »
Hi there,

Lets say I have 5 "breakable objects" like A,B,C,D,E

I just want A to be visual and when I pick A up it makes B visible.

Then when I pick B up C gets visible and so on.

How would you do this the easiest/smartest way?

Best

CptSvim..

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Make next object visible!
« Reply #1 on: July 23, 2012, 04:02:01 AM »
Hi,

 For this you can either maintain an integer of the current visible entity ( so instead of A B C, you would have 1 2 3)

You could find something to get started with this thread:

need help building radio button logic

it for a radio button system logic, but in your case it's very similar too.

 Bye,

 Jean
« Last Edit: July 24, 2012, 02:34:06 AM by jeanfabre »

cptsvim

  • Playmaker Newbie
  • *
  • Posts: 14
Re: Make next object visible!
« Reply #2 on: July 23, 2012, 06:55:22 PM »
Hi, thanks for your reply. Somehow the
link wont show up.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Make next object visible!
« Reply #3 on: July 24, 2012, 02:34:39 AM »
Hi,

 oups, wrong url formating, try again the same link, it works now.

bye,

 Jean