• 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 Units (on a certain location against a target)

Status
Not open for further replies.
Level 28
Joined
Mar 25, 2008
Messages
2,955
Time - Every 10 secs

Set temppoint = *Your location*
Set temppoint2 = Your target
For each Integer A from 1 to 10 do:
--Unit - Create 10 units at temppoint for player x facing...
--Unit - Order (last created unit) to attack/move temppoint2
Custom script: call RemoveLocation(udg_temppoint)
Custom script: call RemoveLocation(udg_temppoint2)
 
Status
Not open for further replies.
Top