terminate: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(populated)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Terminate (abort) the script |= Description
| Terminate (abort) the script. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''terminate''' |= Syntax
| '''terminate''' script |= Syntax
 
|p1= script: [[Script (Handle)|Script]]  |= PARAMETER1


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value
Line 17: Line 19:
  Sleep 5;
  Sleep 5;
  Terminate _Script;
  Terminate _Script;
  Hint "Script.sqs has been terminated after 5 seconds";</nowiki></code>  
  Hint "Script.sqf has been terminated after 5 seconds";</nowiki></code>  





Revision as of 12:29, 20 January 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 script
Parameters:
script: 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