terminate: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma1 *\| *(New )?Scripting Commands\}\}" to "")
m (Text replacement - "\|gr1=([^ ]+) \|([0-9]\.[0-9]{2}) " to "|$2 |gr1= $1 ")
Line 3: Line 3:
| arma1
| arma1


|gr1= Program Flow
|1.00


|1.00
|gr1=  Program Flow


| Terminates (aborts) [[spawn]]ed or [[execVM]]ed script.
| Terminates (aborts) [[spawn]]ed or [[execVM]]ed script.

Revision as of 22:36, 13 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Program Flow

Syntax

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

Examples

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

Additional Information

See also:
execVMspawnscriptDonehalt

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