-
-
Re: How to reset timer?
Hello, welcome to KK!
To answer your question:
Set a timer and set the repeat to infinite or if you want it to stop otherwise then set a number.
Then do a trigger, set it to infinite. and say When Flag=0.
Then do another trigger on that trigger which is When Timer1>=Whatever value and infinite it.
Then do an action which adds a hero party at the action point over the hero gate. Do another action which is the Set Timer.
Now this will infinitely loop parties to come when say 7 minutes have passed. However, this is as long as Flag 1 = 0. That is the default value for all flags, 0. Then when a player claims the land around the gate the gate is destroyed or appears to be and Flag 1 shifts to 1. Assuming you are using a 2x2 Hero Gate.
With Flag 1 != 0, the cycle is broken and no more heroes shall enter (this works for both Hero Gate types).
Simply go to Timer as you would Flag in sections from a trigger, and then choose which timer. You can reset timers again with these.
If you are confused, you may want to look at the manual or look at a level where this is already done.
Dungeon Keeper I campaign: Undead Keeper
Download it
here!
Dungeon Keeper I campaign: Post Undead Keeper
Download it
here!
-
-
March 15th, 2013, 16:56
#4
Re: How to reset timer?
The skirmish map 'Onslaught' has an infinite hero party invasion set up to invade the keepers on the map. Might be a good idea to open this map up in the editor and copy the triggers from this map to your own to set up your infinite hero invasion. Worked for me.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules