terminate: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. ArmA2 classification)
m (changed scriptName to scriptHandle to avoid confusion with the new scriptName statement)
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''terminate''' scriptName |= Syntax
| '''terminate''' scriptHandle |= Syntax


|p1= scriptName: [[Script]]  |= PARAMETER1  
|p1= scriptHandle: [[Script]]  |= PARAMETER1  


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 15:38, 18 June 2009

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Terminate (abort) the script.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
_Script=[] ExecVM "Script.sqf"; Sleep 5; Terminate _Script; Hint "Script.sqf has been terminated after 5 seconds";

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

Notes

Bottom Section