The Daily Click ::. Forums ::. Klik Coding Help ::. can this be done?
 

Post Reply  Post Oekaki 
 

Posted By Message

Don Luciano

Heavy combat pancake

Registered
  25/10/2006
Points
  380

VIP Member
27th February, 2009 at 18:20:09 -

I have a lot of objects, each of them with flag 0 on or whatever.
They do their stuff, and when each is done he set flag 0 off. and everbody eventually sets 0 off.

Now i need an event that starts after all of these objects have set their flag 0 off, not just one. It means when the last object completes whatever hes doing to start the new event, but not before.
Is that possible as a condition in a single event without using fastloop?

 
Code me a sausage!

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
27th February, 2009 at 18:32:01 -

Easiest thing I can think of is have a counter or other value, and add 1 to it whenever an object sets its flag off. Then, when the counter equals the number of objects, launch the event...

 

  		
  		
   

Post Reply



 



Advertisement

Worth A Click