- Joined
- Mar 25, 2008
- Messages
- 2,955
My jass has become rusty..
I want units to be created in a line with 1500 offset of the target point.
The units to be created have to be created like this:
lowercase x is the unit to be created, uppercase X depicts the unit which is to serve as a base to create the others by an offset of 100.
o is the target point
Hope this is understandable, if not, I'll provide further details
I want units to be created in a line with 1500 offset of the target point.
set u = CreateUnit(p,'n000',(x+TargDist),(y+TargDist),angle2-90)
creates the first unit TargDist being 1500 and angle2 AngleBetweenPoints(remLoc,CLoc) remLoc being target point and Cloc being caster pointThe units to be created have to be created like this:
Code:
[COLOR="Orange"]x[/COLOR]
[COLOR="Orange"]x[/COLOR]
[COLOR="Lime"]X[/COLOR]
o
o is the target point
Hope this is understandable, if not, I'll provide further details