• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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