• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Easy Spawn system

Status
Not open for further replies.
Level 7
Joined
Jan 13, 2008
Messages
248
like i have 1 kind of unit that i want to spawn like each 1 second whole game
repeat 1 after 1. 1 sec between them. from 1 place to another and i want it to start after 15 seconds show me the trigger plz :)
 
You need two Triggers to do that

  • TrickyTrigger
    • Events
      • Time - Elapsed Game Time equal 20 Seconds
    • Actions
      • Trigger - Turn on Trigger (Spawn)
  • Spawn
    • Events
      • Time - Every 1 Second of Game
    • Actions
      • Set tmpLocation = Your Spawn Point here
      • Unit - Create 1 YourUnitHere for Player 1 (Red) at tmpLocation facing Default building facing (270.0) degrees
      • Custom script: call RemoveLocation(udg_tmpLocation)
tmpLocation is a Point variable
You need the Custom script to prevent leaks in your map click me for info on leaks
 
i dident get the lost one Order unit to move im stuck there i made unit last created unit to move but its not working because i have 2 spawn systems...

and when i order them to move they patrol of sum reason lol
 
Last edited:
whats the reason not to use "last created unit -> move" ?

i just tested it, and it seems to work fine. does it tend to lag? or to leak?

i got 8 spawning positions, so i needed 8 triggers to make them move per "unit enters region -> move", right?
 
Status
Not open for further replies.
Back
Top