- Joined
- Oct 12, 2011
- Messages
- 483
Does anybody know how to escape the operation limit other than a new trigger or waits?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
function StartNewThread takes code c returns nothing
call ForForce(bj_FORCE_PLAYER[0], c)
endfunction
function StartNewThread takes code c returns nothing
if bj_FORCE_PLAYER[0] == null then
set bj_FORCE_PLAYER[0] = CreateForce()
endif
call ForForce(bj_FORCE_PLAYER[0], c)
endfunction
function Rawr takes nothing returns nothing
endfunction
function a takes code b returns nothing
call b
endfunction
function c takes nothing returns nothing
call a(function Rawr)
endfunction
-------- blah blah blah actions --------
Unit - Kill (Triggering unit)
Set TempUnit = (Triggering unit)
Custom script: call ExecuteFunc("MyNewThreadFunctionLalala")
-------- execute the function below us --------
Custom script: endfunction
-------- "endfunction" will allow us to declare a new function below --------
Custom script: function MyNewThreadFunctionLalala takes nothing returns nothing
-------- an example of declaring a function --------
Unit - Explode TempUnit
-------- you don't need endfunction at the end since the compiled code will place one already --------
