scriptDone: Difference between revisions

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


| '''scriptDone''' [[Script (Handle)]] |= Syntax
| '''scriptDone''' script |= Syntax
 
|p1= script: [[Script]] |= Parameter 1


| [[Boolean]] |= Return value
| [[Boolean]] |= Return value

Revision as of 16:33, 25 January 2009

-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
Parameters:
script: Script
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