Need mapping help

Post Reply
Bele
Terran Settler (Unemployed)
Terran Settler (Unemployed)
Posts: 1
Joined: Sat Oct 21, 2006 10:55 am

Need mapping help

Post by Bele »

hi, i have a little prob: how can i make a mineral timer. I mean: how can i make a trigger, which give all players 50 minerals every 60 sec?
i hope you can help me
bele
Gemini
Xel'naga World Shaper
Xel'naga World Shaper
Posts: 146
Joined: Fri Aug 25, 2006 5:50 pm
Location: Seattle, WA

Re: Need mapping help

Post by Gemini »

That's pretty simple. First make a switch, we'll call it "Minerals". Now here's the trigger.

CONDITIONS:
- "Minerals" is set.
ACTIONS:
- Disable "Minerals".
- Modify resources for All players: Add 50 Ore.
- Wait for 60000 milliseconds.
- Enable "Minerals".
- Preserve trigger.

Then all you need to do is have another trigger activate the "minerals" trigger and it'll keep running. If you want it to start immediately, then just reverse the enable/disable triggers. I would recommend giving this trigger to a player that doesn't have any other triggers firing though, since the 60000 millisecond wait timer can mess with the timing of other triggers for the player that has the trigger.
Post Reply