terminate: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "| Nothing " to "|r1= Nothing ")
m (Text replacement - " \|(x[0-9]|p[0-9]{1,2}|descr|game[0-9]|version[0-9]|s[0-9]|exec|r[0-9]|arg|eff|branch|serverExec|gr[0-9]|mp|pr|seealso) +=" to " |$1=")
Line 16: Line 16:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1 = <code>_script = [] [[execVM]] "script.sqf";
|x1= <code>_script = [] [[execVM]] "script.sqf";
[[sleep]] 5;
[[sleep]] 5;
[[terminate]] _script;</code>  
[[terminate]] _script;</code>  

Revision as of 00:30, 11 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Program Flow

Syntax

Syntax:
Syntax needed
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