Page 1 of 1
A question about COUNTERS
Posted: Tue Sep 17, 2002 12:11 am
by Gambit37
What happens to counters when they reach the specified count?
Do they reset back to 0?
Can they be activated to start counting again?
If not, can counters be reset somehow?
I've had some cool ideas for a puzzle, but I can't see how to do it without resetting counters...
Re: A question about COUNTERS
Posted: Tue Sep 17, 2002 9:12 am
by George Gilbert
Counters can't be specifically reset. They have a count value that is decremented / incremented by activating / deactivating them respectively. They only retain their current state rather than their starting state. When they change value to zero they do the thing they're set to do, when they change value to a non-zero value they do the opposite.
You could however implement a reset by having a seperate trigger that deactivates the counter several times?
Re: A question about COUNTERS
Posted: Tue Sep 17, 2002 10:51 am
by Gambit37
Thanks for the info. COUNTERS obviously work completely differently than I expected! I thought they would start at 0 and count to the value specified, then perform their action.
Is there anyway way of determining the current value of a counter? Is it possible to make some kind of 'dump' of the internals of RTC at any given time? This would really aid dungeon debugging...
x,y,z read out
Posted: Sun Mar 30, 2003 1:23 am
by chiefy
Gambit yeah I know how you feel
but if George hasn't done enough already, here we are asking for more
I have often wished that pressing F10 would display the x,y,z coordinates of your tile while you're "in" your compiled dungeon (play testing it) but I'm really happy to be able to "edit" at all so I'll leave my F9, F8 and F7 ideas for another day

Re: A question about COUNTERS
Posted: Mon Feb 02, 2004 6:12 am
by copperman
George Gilbert wrote:You could however implement a reset by having a separate trigger that deactivates the counter several times?
I tried employing this as a work around using a wall switch to cycle through a bunch of wall texts then on the last text click reset the counters with the correct number of deactivates.
Firstly I noticed that counters keep counting even when there trigger value has been reached. Secondly that they can become negative. Then I noticed it was hard to keep an accurate account of clicks to deactivates after the cycle had gone over. I appeared to be racing the deactivates.
So I BUM-PITY BUMP this 16 month old question with the request for the counter reset.
