I recently checked a map's script and noticed that there are some weird symbols.
The map works properly with them event if the JassCraft say they
are errors. The thing is that you cannot edit the script of the map and I want
that kind of protection in my maps.
It looks like this:
What is that kind of protection and how can I use it in my map?
The map works properly with them event if the JassCraft say they
are errors. The thing is that you cannot edit the script of the map and I want
that kind of protection in my maps.
It looks like this:
JASS:
function uC takes real UC returns nothing
local real wC
local real st=TimerGetElapsed(pC)
if st<=0 then
set pC=CreateTimer()
call TimerStart(pC,$F4240,false,null) // <--- $F4240
endif
if(UC>0)then
loop
set wC=UC-TimerGetElapsed(pC)+st
exitwhen wC<=0
if(wC>bj_POLLED_WAIT_SKIP_THRESHOLD)then
call TriggerSleepAction(.1*wC)
else
call TriggerSleepAction(bj_POLLED_WAIT_INTERVAL)
endif
endloop
endif
endfunction
What is that kind of protection and how can I use it in my map?