- Joined
- Oct 23, 2011
- Messages
- 182
I have problem saving values to variables retrieved from local player functions. Is there any way to get around this problem?
Below code causes disconnections..
Below code causes disconnections..
JASS:
local integer i = 8
loop
set i = i - 1
if GetLocalPlayer() == Player(i) then
set sight[i] = GetCameraField(CAMERA_FIELD_TARGET_DISTANCE)
endif
exitwhen i == 0
endloop