Staredit Network

Staredit Network -> UMS Assistance -> Location Trigger
Report, edit, etc...Posted by xtremebob on 2004-09-21 at 00:22:47
I have a decient trigger question. What I what to do is, whenever current player stay at a location for lets say 10 second the trigger activates. BUT, if the player moves the unit away, the trigger won't activate.
How would I make this work. If this is posible, it will surely involve switches, and I am not the smartest person when it comes to switches, lol. smile.gif
Report, edit, etc...Posted by Vindexus on 2004-09-21 at 01:04:08
Trigger
Players:
¤ Player 1
Conditions:
¤ Current player brings at least 1 men to Location
Actions:
¤ Add 1 Deaths for Current player for Unused Unit
¤ Preserve Trigger


Trigger
Players:
¤ Player 1
Conditions:
¤ Current player brings exactly 0 men to Location
Actions:
¤ Set Deaths for current: set to 0 for Unused unit
¤ Preserve Trigger


Trigger
Players:
¤ Player 1
Conditions:
¤ Current player has suffered at least 5 deaths of Unused unit
Actions:
¤ Do trigger
¤ set deaths to 0 for unused unit
¤ Preserve Trigger


These triggers will constantly add deaths whenever the player brings a unit to the location. Once he leaves, the timer restarts. Once it reaches 5 (1 trigger every 2 seconds, so 5 deaths = ~10 seconds) it will fire the trigger. I prefer this method because it works with HTs, but you can do it using waits.
Report, edit, etc...Posted by DT_Battlekruser on 2004-09-21 at 01:25:35
You can also use countdown timers, but that limits you to only one timer at a time.
Report, edit, etc...Posted by xtremebob on 2004-09-21 at 11:32:13
Cool, I'll try it out!
Report, edit, etc...Posted by xtremebob on 2004-09-22 at 17:58:56
Well I tried it, (the day it was posted...) and it only works for one unit at a time. Is there a way so that it will for more than one unit at a time?
Report, edit, etc...Posted by Vindexus on 2004-09-22 at 19:19:45
I'm not sure I understand your question.

Does each human get more than one unit? How many human players are there?
Report, edit, etc...Posted by RexyRex on 2004-09-22 at 20:34:11
Re-create the trigger for every unit that could enter the location.
Next Page (1)