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

Dummy Help

Status
Not open for further replies.
Level 19
Joined
May 1, 2008
Messages
1,130
if you say you want to create teh unit one meter in front of teh caster then it will be create a unit at (region with polar offset) region x offset by y (i suggest 200 for a meter :/) twords unit-facing of casting unit
 
Level 28
Joined
Mar 25, 2008
Messages
2,955
  • Set temppoint = *your location*
  • Set temppoint2 = temppoint offset by 150 towards (Facing of(Triggering Unit)) degrees
  • Unit - Create 1 *dummy* at temppoint facing temppoint2
  • Unit - Order (Last created unit) to move temppoint2
  • Custom script: call RemoveLocation(udg_temppoint)
  • Custom script: call RemoveLocation(udg_temppoint2)
 
Status
Not open for further replies.
Top