I'm looking for triggers that, after 120 seconds, cause (units) to spawn at (Location A), attack move to (Location B), and destory (target). If that makes sense, how would I set up those events?
im not sure how you mean the "destroy" part. When they are spawned, or when they reach Location B?
Basically you need a "periodic event", and set it's time to 120 seconds.
Then make an action to "Create (X) (Unit type) at (Location A)
Pick all units in unit group (Units in region matching condition(Units(Any unit) in (Location A) for player (Any player/Specific player) excluded (Bla bla bla defaults), with at most (any amount))) Then do Actions: Issue order to (picked unit) (attack (Location B))
As i said, i dont know what you mean with destroy target. Once i open my editor later i'll make the trigger and copy paste it so that it's more exact that this one.
For destroying, just add an action that kills the unit you want to destroy if you want to destroy it just as all units spawn, or if you want to destroy it when the unit reaches it just make an event "Any unit enters region (Location B)" or "Any unit comes within X range of unit (the one you want destroyed)" and make a condition that checks whether the owner of the triggering unit is the one you want, and then just make "Kill (The one you want destroyed)" as an action.
For the 120 second spawning event, you might want to set up a timer instead of a periodic event if you want people to be able to see when the next wave comes. If you want it that way, i'll post again with the details for that.
Or that. It's just that every time up to now i have used "last created units", something went wrong (definetely my own mistakes) and "pick all units" always worked for me, so i kind of always forget about the first and go over to the one that never failed me :p
By destroy I mean I want (units) to go kill or attack the (target). All of this will happen several times until the target is destroyed or the rounds are over. And I do want people to see the timer, beginning when the game starts, and resetting after every wave.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I'm looking for triggers that, after 120 seconds, cause (units) to spawn at (Location A), attack move to (Location B), and destory (target). If that makes sense, how would I set up those events?
im not sure how you mean the "destroy" part. When they are spawned, or when they reach Location B?
Basically you need a "periodic event", and set it's time to 120 seconds.
Then make an action to "Create (X) (Unit type) at (Location A)
Pick all units in unit group (Units in region matching condition(Units(Any unit) in (Location A) for player (Any player/Specific player) excluded (Bla bla bla defaults), with at most (any amount))) Then do
Actions:
Issue order to (picked unit) (attack (Location B))As i said, i dont know what you mean with destroy target. Once i open my editor later i'll make the trigger and copy paste it so that it's more exact that this one.
For destroying, just add an action that kills the unit you want to destroy if you want to destroy it just as all units spawn, or if you want to destroy it when the unit reaches it just make an event "Any unit enters region (Location B)" or "Any unit comes within X range of unit (the one you want destroyed)" and make a condition that checks whether the owner of the triggering unit is the one you want, and then just make "Kill (The one you want destroyed)" as an action.
For the 120 second spawning event, you might want to set up a timer instead of a periodic event if you want people to be able to see when the next wave comes. If you want it that way, i'll post again with the details for that.
why so complex? instead of the pick all units action you could just use "last created units" and "issue order to unit grp"
Or that. It's just that every time up to now i have used "last created units", something went wrong (definetely my own mistakes) and "pick all units" always worked for me, so i kind of always forget about the first and go over to the one that never failed me :p
@TheAlmaity: Go
By destroy I mean I want (units) to go kill or attack the (target). All of this will happen several times until the target is destroyed or the rounds are over. And I do want people to see the timer, beginning when the game starts, and resetting after every wave.