Difference between revisions of "execFSM"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
Line 35: Line 35:
 
<dl class='command_description'>
 
<dl class='command_description'>
 
<!-- Note Section BEGIN -->
 
<!-- Note Section BEGIN -->
 +
Theres a difference in passing the parameters between [[execFSM]] and [[execVM]] or [[exec]]
  
 +
'''''Example:'''''
 +
 +
 +
'''[[execFSM]]:'''
 +
<code>
 +
hndl = [player] execFSM "group_follow.fsm";
 +
</code>
 +
'''[[execVM]]:'''
 +
<code>
 +
hndl = player execVM "group_follow.sqf";
 +
</code>
 
<!-- Note Section END -->
 
<!-- Note Section END -->
 
</dl>
 
</dl>

Revision as of 04:40, 7 June 2009

Template:Command

Notes

Theres a difference in passing the parameters between execFSM and execVM or exec Example: execFSM: hndl = [player] execFSM "group_follow.fsm"; execVM: hndl = player execVM "group_follow.sqf";

Bottom Section