demotry241
Don't Ever Categorize Yourself.
- Reaction score
- 105
I recently at long last installed jass newgen pack 1.5a on secondary comp and will be learning later.
but for now.. i have a problem regarding this.
when I try to save it gives an error regarding
line 77: Undeclared variable x
line 78: Undeclared variable y
which i don't quite get... please help : )
but for now.. i have a problem regarding this.
Code:
Untitled Trigger 001
Events
Time - Every 0.10 seconds of game time
Conditions
Actions
Custom script: local real x
Custom script: local real y
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
Set offset = ((Position of (Picked unit)) offset by 0.00 towards (Facing of (Picked unit)) degrees)
Custom script: set x = GetLocationX(udg_offset)
Custom script: set y = GetLocationY(udg_offset)
Custom script: call SetUnitX(GetEnumUnit(),x)
Custom script: call SetUnitY(GetEnumUnit(),y)
when I try to save it gives an error regarding
line 77: Undeclared variable x
line 78: Undeclared variable y
which i don't quite get... please help : )