• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Spawn & Run

Status
Not open for further replies.
Level 9
Joined
Apr 11, 2008
Messages
515
So basicly what im doing is that im having some units spawning and i want them to move down a way.
now this is the trigger i use and its not working so please help^^
  • Event: Every 15 seconds.
  • Condition:
  • Action:
  • Unit:Spawn xx of xxxx
  • Unit Group: Move triggering unit to center of region xxx
 
Level 8
Joined
Feb 15, 2009
Messages
463
  • Unbezeichneter Auslöser 002
    • Ereignisse
      • Time - Every 15.00 seconds of game time
    • Bedingungen
    • Aktionen
      • For each (Integer A) from 1 to 5, do (Actions)
        • Loop - Actions
          • Unit - Create 1 Soldier for Player 1 (Rer) at (Center of (Playable map area)) facing Vorgabe für Gebäude-Ausrichtung degrees
          • Unit - Order (Last created unit) to attack (Center of (Playable map area))
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
  • Unbezeichneter Auslöser 002
    • Ereignisse
      • Time - Every 15.00 seconds of game time
    • Bedingungen
    • Aktionen
      • For each (Integer A) from 1 to 5, do (Actions)
        • Loop - Actions
          • Unit - Create 1 Soldier for Player 1 (Rer) at (Center of (Playable map area)) facing Vorgabe für Gebäude-Ausrichtung degrees
          • Unit - Order (Last created unit) to attack (Center of (Playable map area))

  • Some spawn-trigger...
    • Events
      • Time - Every 15.00 seconds of game time
    • Conditions
    • Actions
      • Set Loc[1] = (Center of (Playable map Area))
      • Set Loc[2] = (Center of (Another Region))
      • For each (Integer A) from 1 to 5, do (Actions)
        • Loop - Actions
          • Unit - Create 1 Soldier for Player 1 (Red) at Loc[1] facing 270 degrees
          • Unit - Order (Last created unit) to attack-move to Loc[2]
      • Custom script: call RemoveLocation(udg_Loc[1])
      • Custom script: call RemoveLocation(udg_Loc[2])
(translated + improved)

Credits go to Saia_Djinn
 
Status
Not open for further replies.
Top