Sequence and multiple triggers

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!
Post Reply
N'Zembwa
Posts: 53
Joined: Thu Oct 16, 2014 9:36 pm

Sequence and multiple triggers

Post by N'Zembwa »

How to make a sequence floor trigger where you have to move in a specific way either with invisible or plate floor triggers? and how to make a multiple trigger, where you have to press several floor plates at once to activate something?
User avatar
KadoDragon
Posts: 34
Joined: Sat Oct 18, 2014 3:54 am

Re: Sequence and multiple triggers

Post by KadoDragon »

N'Zembwa wrote:How to make a sequence floor trigger where you have to move in a specific way either with invisible or plate floor triggers? and how to make a multiple trigger, where you have to press several floor plates at once to activate something?
Not sure about the sequenced one. But having multiple floor triggers down can be done with a counter. I'll use five floor triggers as an example. Have a counter set to 5. Make the five floor triggers. Connect them all to the counter so that when they activate the counter decrements. Then make another trigger for each floor trigger that when they deactivate it increments. Then, have the counter trigger what ever you want to happen when the floor triggers are down set for when the counter activates. As far as I understand, a counter activates when it reaches zero, so you want the counter to be set for however many floor triggers you want pressed down.

That SHOULD work. But I may be wrong. I'm about 98% sure that will work.
User avatar
SnowyOwl47
Posts: 148
Joined: Fri Sep 12, 2014 10:41 pm

Re: Sequence and multiple triggers

Post by SnowyOwl47 »

If you define your own party with party hooks you can get when they go a certain way so you can have a floor trigger trigger a script that will get which way the party goes next.
Post Reply