5 function Mission
:OnInit()
6 -- you may want to load a string-table etc. here...
9 function Mission
:OnUpdate()
12 for i
,objective
in Mission
do
13 if (type(objective
)~="function") then
14 if (objective
==0) then
20 if (bFinished
==1) then
26 function Mission
:Finish()
27 -- go to next mission...