WayTooShort
New Member
- Reaction score
- 4
// untested
globals
private trigger asdf_trigger = CreateTrigger()
private trigger fsda_trigger = CreateTrigger()
endglobals
function asdf takes nothing returns nothing
call TriggerEvaluate(fsda_trigger)
endfunction
function fsda takes nothing returns nothing
call TriggerEvaluate(asdf_trigger)
endfunction
function onInit takes nothing returns nothing
call TriggerAddCondition(asdf_trigger, Condition(function asdf))
call TriggerAddCondition(fsda_trigger, Condition(function fsda))
endfunction
call fsda.evaluate()
call fsda.execute()
call FSD.evaluate(u, 12., true)
globals
//JASSHelper struct globals:
trigger array st___prototype1
endglobals
function sc___prototype1_execute takes integer i returns nothing
call TriggerExecute(st___prototype1<i>)
endfunction
function sc___prototype1_evaluate takes integer i returns nothing
call TriggerEvaluate(st___prototype1<i>)
endfunction
function x takes nothing returns nothing
call TriggerEvaluate(st___prototype1[(1)]) // INLINED!!
endfunction
function y takes nothing returns nothing
endfunction
function main takes nothing returns nothing
call ExecuteFunc("jasshelper__initstructs4004")
endfunction
//Struct method generated initializers/callers:
function sa___prototype1_y takes nothing returns boolean
return true
endfunction
function jasshelper__initstructs4004 takes nothing returns nothing
set st___prototype1[1]=CreateTrigger()
call TriggerAddAction(st___prototype1[1],function sa___prototype1_y)
call TriggerAddCondition(st___prototype1[1],Condition(function sa___prototype1_y))
endfunction
</i></i>
function asdf takes nothing returns nothing
local timer abc=GetExpiredTimer()
call TimerStart(abc, 1.00, false, function fsda)
endfunction
function fsda takes nothing returns nothing
local timer abc=GetExpiredTimer()
call TimerStart(abc, 1.00, false, function asdf)
endfunction
globals
timer abc2 = null
endglobals
function asdf takes nothing returns nothing
set abc2 = GetExpiredTimer()
call ExecuteFunc("bababubu")
endfunction
function fsda takes nothing returns nothing
local timer abc=GetExpiredTimer()
call TimerStart(abc, 1.00, false, function asdf)
endfunction
function bababubu takes nothing returns nothing
call TimerStart(abc2, 1.00, false, function fsda)
endfunction
globals
code blarg
endglobals
function asdf takes nothing returns nothing
local timer abc=GetExpiredTimer()
call TimerStart(abc, 1.00, false, blarg)
endfunction
function fsda takes nothing returns nothing
local timer abc=GetExpiredTimer()
call TimerStart(abc, 1.00, false, function asdf)
endfunction
function Init takes nothing returns nothing
set blarg = function fsda
endfunction