Counters
Posted: Mon Sep 12, 2005 7:50 pm
Sorry for all the questions - I've tried to download the definitive editing guide from the thread above but it just says "cannot find server" or "page not found".
Anyway, I have a question regarding counters. Namely, how the flip do I get them to reset?
I have a doorway that opens when four coins are inserted into a coin slot. Every time a coin is inserted, a counter is increased by 1 and when it reaches four the door opens. When the party leaves the room, the door closes again and they need to pay 4 coins to get back in each time. But how do I reset the counter to zero so that it starts counting again when the next coin is inserted? Seems a pretty simple requirement of a counter - I had imagined, logically, that since activating the counter increases it, deactivating it would decrease it. But when I add a line to the counter to deactivate itself the game crashes.
Anyway, I have a question regarding counters. Namely, how the flip do I get them to reset?
I have a doorway that opens when four coins are inserted into a coin slot. Every time a coin is inserted, a counter is increased by 1 and when it reaches four the door opens. When the party leaves the room, the door closes again and they need to pay 4 coins to get back in each time. But how do I reset the counter to zero so that it starts counting again when the next coin is inserted? Seems a pretty simple requirement of a counter - I had imagined, logically, that since activating the counter increases it, deactivating it would decrease it. But when I add a line to the counter to deactivate itself the game crashes.