counting actors
tom44410
Member Posts: 5
hey guys, is there a way of counting if actors have been destroyed?? i.e if you start this 10 and only 3 cross the line i still want it to move to the next level. this one has me stumped thanks in advance
Comments
Hi @tom44410 That's very straightforward; make an integer attribute, let's call it Count, set its starting value to 10.
In each of your actors' rules, add, just before the destroy behaviour,
Change Attribute Count to Count-1
And in an actor off-screen, in it's Rules, put:
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
thank you! ill try it