Ok i have started a survival map where the objective is simple to survive all the waves.
i need some help scripting this like how to set spawn times and how to set the rally points.
this is my first time actually trying to make something and any help would be greatly appreciated.
Survival map spawn triggers
Moderator: Cheaters
-
- Forum Fanatic
- Posts: 315
- Joined: October 16th, 2007, 7:32 pm
Re: Survival map spawn triggers
You can use these triggers:
Events: Every 30 sec:
Coditions:
Actions: Create 1 (unit) at (region)
Then make another trigger like this
Events: Unit enters region
Coditions: Unit entering Region equal to (your unit)
Actions: (unit Group): Order units in (region) to(attack-move) to (region)
You can also do the first movement in the first trgger but that dosnt always work
Events: Every 30 sec:
Coditions:
Actions: Create 1 (unit) at (region)
(unit Group): Order units in (region) to(attack-move) to (region)
If you make a trigger like that one you could make a fail safe trigger like this:
Event: every 1 sec
Conditions:Unit entering Region equal to (your unit)
Actions: Pick every unit in Region and do actions
Actions: If Conditons than do actions else do actions:
Conditons: Selected unit equal to (your unit
Do actions: Order selected unit to move to (region)
Else actions: Do nothing
Thats how i made my trigger in my survival game. Hope this helps you
Events: Every 30 sec:
Coditions:
Actions: Create 1 (unit) at (region)
Then make another trigger like this
Events: Unit enters region
Coditions: Unit entering Region equal to (your unit)
Actions: (unit Group): Order units in (region) to(attack-move) to (region)
You can also do the first movement in the first trgger but that dosnt always work
Events: Every 30 sec:
Coditions:
Actions: Create 1 (unit) at (region)
(unit Group): Order units in (region) to(attack-move) to (region)
If you make a trigger like that one you could make a fail safe trigger like this:
Event: every 1 sec
Conditions:Unit entering Region equal to (your unit)
Actions: Pick every unit in Region and do actions
Actions: If Conditons than do actions else do actions:
Conditons: Selected unit equal to (your unit
Do actions: Order selected unit to move to (region)
Else actions: Do nothing
Thats how i made my trigger in my survival game. Hope this helps you
-
- Tyrannical Drama Queen
- Posts: 4430
- Joined: November 19th, 2007, 5:05 am
- Been thanked: 2 times
Re: Survival map spawn triggers
I'll use some of your triggers to rectify this.Black-Hole wrote:You can use these triggers:
Events: Every 30 sec:
Coditions:
Actions: Create 1 (unit) at (region)
Then make another trigger like this
Events: Unit enters region
Coditions: Unit entering Region equal to (your unit)
Actions: (unit Group): Order units in (region) to(attack-move) to (region)
You can also do the first movement in the first trgger but that dosnt always work
Events: Every 30 sec:
Coditions:
Actions: Create 1 (unit) at (region)
(unit Group): Order units in (region) to(attack-move) to (region)
If you make a trigger like that one you could make a fail safe trigger like this:
Event: every 1 sec
Conditions:Unit entering Region equal to (your unit)
Actions: Pick every unit in Region and do actions
Actions: If Conditons than do actions else do actions:
Conditons: Selected unit equal to (your unit
Do actions: Order selected unit to move to (region)
Else actions: Do nothing
Thats how i made my trigger in my survival game. Hope this helps you
Untitled Trigger 001
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Unit - Create 1 Dummy for Neutral Hostile at (Center of No region) facing 270.00 degrees
(Dummy = Your Unit) (No Region = Your Region)
Untitled Trigger 001
Events
Unit - A unit enters No region
Conditions
((Triggering unit) is A Hero) Not equal to True (This isn't really required, because you might have a hero wave, I just like things absolutely fool-proof)
(Owner of (Triggering unit)) Equal to Neutral Hostile
Actions
Unit - Set Rally-Point for (Triggering unit) to (Center of No region)
(No region equals the region you spawn the units in) (Second no unit equals the place you want to send it, create multiple of these for each corner)
Right, when you want to stop spawning those things, you turn off my/bomber's first trigger, and than wait a few seconds for another wave to start, and turn another one of the same thing, (except a different unit).
(Edit) Sorry Black, I meant Black, btw, not bomber -.-
Last edited by Bartimaeus on December 22nd, 2007, 3:58 am, edited 1 time in total.
-
- Newcomer
- Posts: 2
- Joined: December 22nd, 2007, 2:20 am
Re: Survival map spawn triggers
thanks... i ended up figuring it out but then having to replace something and the screwing up the entire thing so this helped a lot when having to re do it.