Flare
Stops copies me!
- Reaction score
- 662
Code:
Unit Group - Pick every unit in zcastertarget and do (Actions)
Loop - Actions
Unit Group - Add EarthSpikesCasterTarget to zcastertarget
why are you picking every unit in the group, and adding a unit to the group EVERYTIME A UNIT IS PICKED?
Code:
Set zdummy1p2 = (zdummy1p offset by 50.00 towards RealFace[zint] degrees)
Set zdummy2p2 = (zdummy2p offset by 50.00 towards RealFace2[zint] degrees)
Set zdummy3p2 = (zdummy3p offset by 50.00 towards RealFace3[zint] degrees)
Set zdummy4p2 = (zdummy4p offset by 50.00 towards RealFace4[zint] degrees)
Here's your problem. before that, set zdummy1p, zdummy2p etc = Position of your dummy units (currently, zdummy1p is always the point where the dummy spawns, and as a result, zdummy1p2 is always going to be the same point, no matter what.
heres an example (freehand code)
Code:
Set Dummy1Pt1 = Position of Dummy1
Set Dummy1Pt2 = Dummy1Pt1 offset by 50 towards Dummy1Angle degrees
Move Dummy1 instantly to Dummy1Pt2
call RemoveLocation (udg_Dummy1Pt1)
call RemoveLocation (udg_Dummy1Pt2)
use code tags please, its the # symbol beside the < > at top of reply box