Hi
I'm stuck in my map, becouse of one trigger, what I don't know how to do it.
I'm trying to do this -> 10 times spawn some ultralisks (sometimes with another units), and then order them, to attack every killable players unit until themselves die. = something like in Kodo tag X-treme
If you want them to spawn at random areas, you could do:
Repeat 10 times
-> Spawn 1 Ultralisk for player x at [Random Location] in [Entire map]
-> Then issue the unit to search and destroy, can't remember what the name for the action is, but for last created unit.
Now, you mentioned some times with another unit? if you want to controll it, use a variable .. If you just want it to be random, you could just set a random variable to 0 or 1 each repeat, and if 1, then also spawn.. etc.. if you want less than 50/50 chance just add more numbers.
Thanks for idea... When i was doing my trigger, spawned units only stands on spawn location.. so thank a much :), but i not much understand variable triggers, so, can you tell me example?
And, how to do this -> I blocked my position with supplies (invulnerable), so will enemy attack someone other? or he will be stucked arround the walls?
you could do, IF Points are connected by pathing, that way if anything is blocking a path it will return false, unless you are doing Attack move random unit on map, then it wont, but for specific units it will
@PsychoMC
do
A=0
while A is = 0
Create 1 Carrier
Set Last created unit = #1
Create 1 Carrier
Order #1 to attack Last created unit
you could do, IF Points are connected by pathing, that way if anything is blocking a path it will return false, unless you are doing Attack move random unit on map, then it wont, but for specific units it will
I still dont know how to do that...
But this is what I have got now... but spawned units are stucked in spawn region and dont moving to my units...
Spawn zaklad 1
Events
Timer - Every 180.0 seconds of Game Time
Local Variables
Conditions
Actions
Sound - Play Alert_BaseUnderAttackKlaxon for (All players) (at 100.0% volume, skip the first 0.0 seconds)
Transmission - Send transmission to (All players) from (No one) playing Alert_BaseUnderAttackKlaxon with name "" and message "Enemy spotted!" using No Portrait playing (None) (Add 3.0 seconds, Don't Wait until it finishes)
Unit - Create 4 Ultralisk for player 9 at (Center of Ress a Spawn) facing 270.0 degrees (No Options)
Unit Group - Add (Last created unit) to Zergove
Unit - Order all units in Zergove to ( Attack (Redirect) targeting units in (Units in (Entire map) having alliance Enemy with player 9 matching Excluded: Missile, Dead, Hidden, with at most Any Amount)) (Replace Existing Orders)
Spawb Zajkad 1
Events
Timer - Every 30.0 seconds of Game Time
Local Variables
A = 0 <Integer>
Spotted Unit = No Unit <Unit>
Conditions
Actions
Sound - Play Archon_Explode for (All players) (at 100.0% volume, skip the first 0.0 seconds)
Transmission - Send transmission to (All players) from (No one) playing Archon_Explode with name "" and message "Enemy spotted!" using No Portrait playing (None) (Add 3.0 seconds, Don't Wait until it finishes)
General - For each integer A from 1 to 4 with increment 1, do (Actions)
Actions
Unit - Create 1 Ultralisk for player 9 at (Center of Ress a Spawn) facing 270.0 degrees (No Options)
Unit Group - Add (Last created unit) to Zergove
General - For each integer A from 1 to 20 with increment 1, do (Actions)
Actions
Unit Group - Pick each unit in (Unit group((Random Living unit from (Units in (Entire map) having alliance Enemy with player 9 matching Excluded: Missile, Dead, Hidden, with at most Any Amount)))) and do (Actions)
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
((Position of (Picked unit)) and (Center of Ress a Spawn) are connected by pathing) == true
Then
Variable - Set Spotted Unit = (Picked unit)
Unit - Order all units in Zergove to ( Attack targeting (Position of Spotted Unit)) (Replace Existing Orders)
Else
this spawns the ultralisks and makes them run at people, if there is something blocking their path they will find someone else
Unit Group - Pick each unit in (Unit group((Random Living unit from (Units in (Entire map) having alliance Enemy with player 9 matching Excluded: Missile, Dead, Hidden, with at most Any Amount)))) and do (Actions)
Don't know how to write it, and when I copy it to custom script, it can't save becouse of problem that i don't see.....
EDIT: Seems, like i can't do completely that last triger >
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
((Position of (Picked unit)) and (Center of Ress a Spawn) are connected by pathing) == true
Then
Variable - Set Spotted Unit = (Picked unit)
Unit - Order all units in Zergove to ( Attack targeting (Position of Spotted Unit)) (Replace Existing Orders)
Hi I'm stuck in my map, becouse of one trigger, what I don't know how to do it.
I'm trying to do this -> 10 times spawn some ultralisks (sometimes with another units), and then order them, to attack every killable players unit until themselves die. = something like in Kodo tag X-treme
Thx for answers.
@atjov: Go
If you want them to spawn at random areas, you could do:
Repeat 10 times -> Spawn 1 Ultralisk for player x at [Random Location] in [Entire map] -> Then issue the unit to search and destroy, can't remember what the name for the action is, but for last created unit.
Now, you mentioned some times with another unit? if you want to controll it, use a variable .. If you just want it to be random, you could just set a random variable to 0 or 1 each repeat, and if 1, then also spawn.. etc.. if you want less than 50/50 chance just add more numbers.
@Deeweext: Go
Thanks for idea... When i was doing my trigger, spawned units only stands on spawn location.. so thank a much :), but i not much understand variable triggers, so, can you tell me example?
And, how to do this -> I blocked my position with supplies (invulnerable), so will enemy attack someone other? or he will be stucked arround the walls?
can someone tell me the search and destroy trigger?
@atjov
you could do, IF Points are connected by pathing, that way if anything is blocking a path it will return false, unless you are doing Attack move random unit on map, then it wont, but for specific units it will
@PsychoMC
do
A=0
while A is = 0
Create 1 Carrier
Set Last created unit = #1
Create 1 Carrier
Order #1 to attack Last created unit
Lag Fest ^
I still dont know how to do that... But this is what I have got now... but spawned units are stucked in spawn region and dont moving to my units...
Spawn zaklad 1
Events
Timer - Every 180.0 seconds of Game Time
Local Variables
Conditions
Actions
Sound - Play Alert_BaseUnderAttackKlaxon for (All players) (at 100.0% volume, skip the first 0.0 seconds)
Transmission - Send transmission to (All players) from (No one) playing Alert_BaseUnderAttackKlaxon with name "" and message "Enemy spotted!" using No Portrait playing (None) (Add 3.0 seconds, Don't Wait until it finishes)
Unit - Create 4 Ultralisk for player 9 at (Center of Ress a Spawn) facing 270.0 degrees (No Options)
Unit Group - Add (Last created unit) to Zergove
Unit - Order all units in Zergove to ( Attack (Redirect) targeting units in (Units in (Entire map) having alliance Enemy with player 9 matching Excluded: Missile, Dead, Hidden, with at most Any Amount)) (Replace Existing Orders)
Spawb Zajkad 1
Events
Timer - Every 30.0 seconds of Game Time
Local Variables
A = 0 <Integer>
Spotted Unit = No Unit <Unit>
Conditions
Actions
Sound - Play Archon_Explode for (All players) (at 100.0% volume, skip the first 0.0 seconds)
Transmission - Send transmission to (All players) from (No one) playing Archon_Explode with name "" and message "Enemy spotted!" using No Portrait playing (None) (Add 3.0 seconds, Don't Wait until it finishes)
General - For each integer A from 1 to 4 with increment 1, do (Actions)
Actions
Unit - Create 1 Ultralisk for player 9 at (Center of Ress a Spawn) facing 270.0 degrees (No Options)
Unit Group - Add (Last created unit) to Zergove
General - For each integer A from 1 to 20 with increment 1, do (Actions)
Actions
Unit Group - Pick each unit in (Unit group((Random Living unit from (Units in (Entire map) having alliance Enemy with player 9 matching Excluded: Missile, Dead, Hidden, with at most Any Amount)))) and do (Actions)
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
((Position of (Picked unit)) and (Center of Ress a Spawn) are connected by pathing) == true
Then
Variable - Set Spotted Unit = (Picked unit)
Unit - Order all units in Zergove to ( Attack targeting (Position of Spotted Unit)) (Replace Existing Orders)
Else
this spawns the ultralisks and makes them run at people, if there is something blocking their path they will find someone else
Hi again, I've got problem with one action
>Actions
Unit Group - Pick each unit in (Unit group((Random Living unit from (Units in (Entire map) having alliance Enemy with player 9 matching Excluded: Missile, Dead, Hidden, with at most Any Amount)))) and do (Actions)
Don't know how to write it, and when I copy it to custom script, it can't save becouse of problem that i don't see.....
EDIT: Seems, like i can't do completely that last triger
>Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
((Position of (Picked unit)) and (Center of Ress a Spawn) are connected by pathing) == true
Then
Variable - Set Spotted Unit = (Picked unit)
Unit - Order all units in Zergove to ( Attack targeting (Position of Spotted Unit)) (Replace Existing Orders)
Else
... big problem, can you help?..