24
« on: July 12, 2016, 11:56:15 am »
Off the top of my head, a list is going to be the only way.
ItemsList
Import a file with all 1's
Then have an actor attribute Unhidden, so you can number it as you place it in the scene. 0 to max number in the list
Then on create event of the actor
Check the Number attribute of the actor with the index of the list to see if the value is 1
If not 1 Kill the actor
If 1 leave
On collision of the actor, update the list index (using the number of the unhidden actor attribute) and update to 0
Then kill
There may be a faster way of doing it, the only time consuming thing will be placing the actor, and setting the next number in the unhidden attribute
edit
Thats actually a good idea for a future update, have an auto number attribute, so you default it to 0, when you place actors it auto increments for you. (have the max number listed, so you can change it if you want to)