Value of a counter

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
User avatar
THOM
Posts: 1274
Joined: Wed Nov 20, 2013 11:35 pm
Location: Germany - Cologne
Contact:

Re: Value of a counter

Post by THOM »

Everytime a floortrigger is activated (e.g. a party is stepping on it) it sends an impulse to the target it's connected with. In your case the counter.
The counter must have a value. It can have a plus or minus value. You can choose in the editor menue of the trigger, if the countervalue should be incremented (+1) or decremented (-1).
If the counter reaches 0 then it sends an impulse to the target it's connected with. e.g. a door. You can choose in the editor menue of the counter if the door should be opend on impulse (and stays open until something different closes it) oder should be closed (until something different opens it) or is toggled (closed when open, opend when closed).

Hope, that helps.
THOM formaly known as tschrage
_______________________________________________
My MOD (LoG1): Castle Ringfort Thread
My MOD (LoG2): Journey To Justice Thread | Download
User avatar
Halluinoid
Posts: 165
Joined: Tue Apr 02, 2013 7:08 pm
Contact:

Re: Value of a counter

Post by Halluinoid »

that helps a lot

Cheers Thom, now I realise you need to see the 0 is the trigger not the 3 :D thanks!
Post Reply