- Joined
- Dec 6, 2007
- Messages
- 2,228
Hello there!
Here's my library:
Everytime i save, i get an error message telling me that the end of the line is somehow missing.
How to solve that?
And if there are any other flaws in there, please report them to me.
I'm a beginner
Here's my library:
JASS:
library Init
function InitTrig_GSystem takes nothing returns nothing
local integer i
local group g
local unit u
local real x
local real y
set g = CreateGroup()
call GroupEnumUnitsOfPlayer(g, Player(1),null)
loop
set u = FirstOfGroup(g)
exitwhen u==null
call GroupRemoveUnit(g,u)
set i = (i+1)
call SetUnitUserData(u,i)
set x = GetUnitX(u)
set y = GetUnitY(u)
set udg_Creep_Point[i] = Location(x,y)
endloop
call FogEnable(false)
call FogMaskEnable(false)
set g = null
set u = null
endfunction
endlibrary
Everytime i save, i get an error message telling me that the end of the line is somehow missing.
How to solve that?
And if there are any other flaws in there, please report them to me.
I'm a beginner
Last edited: