scriptDone: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Check if | | Check if an SQF script is already finished using the return value of execVM command as the argument. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | '''scriptDone''' [[Script (Handle)]] |= Syntax | ||
| [[Boolean]] |= Return value | | [[Boolean]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1=@ScriptDone _Handle | |x1=@ScriptDone _Handle | ||
|x2= <code>script_handler <nowiki>=</nowiki> [parameters] execVM "scriptname.sqf"; | |||
waitUntil {!scriptDone script_handler};</code> |= Example 2 | |||
____________________________________________________________________________________________ | |||
| |= See also | | |= See also | ||
Revision as of 13:40, 10 September 2007
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:
- See also needed
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