grimrock counters

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
RayB
Posts: 140
Joined: Fri Mar 06, 2015 3:45 am

grimrock counters

Post by RayB »

I have a question about counters and how they work internally. The only setting I can see for a counter (other than adding a connector) is to set it's initial value which I guess would be the starting value. Why would you even want to do this? Most counters I have dealt with have both preset and accumulative values. When the accumulative value reaches the preset, the counter sets a done bit which can be used to trigger an event.

I have tried to add a connector to a counter but with little success. It would seem that the connector event choices (activate, deactivate, or any) would refer to an increment or decrement event but neither seems to trigger anything. So how do you activate or deactivate a counter? It appears the only way to get anything from a counter is by checking its values with script.
User avatar
THOM
Posts: 1281
Joined: Wed Nov 20, 2013 11:35 pm
Location: Germany - Cologne
Contact:

Re: grimrock counters

Post by THOM »

THOM formaly known as tschrage
_______________________________________________
My MOD (LoG1): Castle Ringfort Thread
My MOD (LoG2): Journey To Justice Thread | Download
RayB
Posts: 140
Joined: Fri Mar 06, 2015 3:45 am

Re: grimrock counters

Post by RayB »

So reaching zero activates the counter while incrementing or decrementing off zero deactivates it.
Thank you. Now I know how they work.
Post Reply