scriptDone: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(fixed example)
Line 17: Line 17:


|x2= <code>script_handler <nowiki>=</nowiki> [parameters] execVM "scriptname.sqf";
|x2= <code>script_handler <nowiki>=</nowiki> [parameters] execVM "scriptname.sqf";
waitUntil {!scriptDone script_handler};</code> |= Example 2
waitUntil {scriptDone script_handler};</code> |= Example 2
____________________________________________________________________________________________
____________________________________________________________________________________________
| [[execVM]] |= See also
| [[execVM]] |= See also

Revision as of 14:42, 19 October 2007

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Check if an SQF script is already finished using the return value of execVM command as the argument.
Groups:
Uncategorised

Syntax

Syntax:
scriptDone Script (Handle)
Return Value:
Boolean

Examples

Example 1:
@ScriptDone _Handle
Example 2:
script_handler = [parameters] execVM "scriptname.sqf"; waitUntil {scriptDone script_handler};

Additional Information

See also:
execVM

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section