• 0

    posted a message on Write trigger for me?

    @Helral: Go

    I have got enGB version of SC2. This is, what i can't create ->

    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 Pick each unit in unit group unit group = units in region matching conditions

    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

    Posted in: Triggers
  • 0

    posted a message on Write trigger for me?

    @KnifeSmile: Go

    Ye, but I'm trying to make this trigger for 3 months with no solution... So I asked for help, got this trigger, but i don't know how to create part of it. So that is why I need to copy it.

    Posted in: Triggers
  • 0

    posted a message on Write trigger for me?

    Hi , just making map... I was stucked with one trigger, and one guy told me it. BUT. I can!t type it into trigger. So pls, can someone write that trigger to a map, and then upload it somewhere, where i can download it? Thx.

    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

    Posted in: Triggers
  • 0

    posted a message on CPU attacking

    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?..

    Posted in: Triggers
  • 0

    posted a message on CPU attacking
    Quote from Beffyman: Go

    @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

    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)

    Posted in: Triggers
  • 0

    posted a message on CPU attacking

    @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?

    Posted in: Triggers
  • 0

    posted a message on CPU attacking

    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.

    Posted in: Triggers
  • To post a comment, please or register a new account.