• 🏆 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!

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