terminate

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Armed Assault version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
1.00

Description

Description:
Terminates (aborts) spawned or execVMed script.
The given script will not terminate immediately upon terminate command execution, it will do so the next time the script is processed by the scheduler

Syntax

Syntax:
terminate scriptHandle
Parameters:
scriptHandle: Script
Return Value:
Nothing

Examples

Example 1:
_script = [] execVM "script.sqf"; sleep 5; terminate _script;

Additional Information

Multiplayer:
-
See also:
execVMspawnscriptDonehalt

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section