Staredit Network

Staredit Network -> Concepts -> Supply depots and their destruction
Report, edit, etc...Posted by Vmaps on 2006-06-03 at 10:13:22
Okay, so there's supply depots that are built at a location, and every second you get 50 minerals for having at least 1 supply depot every second at the location. I know of no way to do this except with preserve trigger, and then it doesn't stop! I want it to happen more than once, and if the supply depot is destroyed, then the mineral flow should stop. Can someone help me? Here are the triggers I have so far in testing.
Report, edit, etc...Posted by Killer_Kow(MM) on 2006-06-03 at 10:22:13
Trigger
Conditions:
¤ Current player brings exactly 1 supply depot to location x
Actions:
¤ add 50 minerals
¤ wait X ms
¤ preserve trigger

Report, edit, etc...Posted by Vmaps on 2006-06-03 at 10:25:23
Thank you. Now the question is, how will we turn off this trigger once the supply depot is destroyed and reset it.
Report, edit, etc...Posted by Noober on 2006-06-03 at 10:57:41
QUOTE(killer_kow @ Jun 3 2006, 10:21 AM)


Trigger
Conditions:
¤ Current player brings exactly 1 supply depot to location x
Actions:
¤ add 50 minerals
¤ wait X ms
¤ preserve trigger

[right][snapback]498369[/snapback][/right]


Look carefully at the condition, and you'll see that your question was answered aleady.
Report, edit, etc...Posted by Vmaps on 2006-06-03 at 11:38:47
sorry, im a trigger n00b.
Report, edit, etc...Posted by Darkomni on 2006-06-03 at 21:59:03
Everyone, move this topic, it is not a concept thread, it's a mapping assistance thread.
Report, edit, etc...Posted by Oo.Kevjak.oO on 2006-06-16 at 01:39:44
QUOTE
¤ Current player brings exactly 1 supply depot to location x
For a trigger's actions to take place, a series of user preset conditions must first be determined to be true, therefore, once the condition I just quoted ceases to be true, the trigger will cease to run. The preserve simply allows someone to rebuild a supply depo at a later time, in which case the condition returns to its original state: true. (at this point, the trigger will begin to run once again.)
Next Page (1)