scriptDone: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 19: Line 19:
waitUntil {!scriptDone script_handler};</code> |= Example 2
waitUntil {!scriptDone script_handler};</code> |= Example 2
____________________________________________________________________________________________
____________________________________________________________________________________________
| |= See also
| [[execVM]] |= See also


}}
}}

Revision as of 14:03, 10 September 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