terminate: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Changed example: Switched .sqs with .sqf (as far as I know, you can't call sqs scripts with execVM))
Line 14: Line 14:
| [[Nothing]] |= Return value
| [[Nothing]] |= Return value


|x1 = <code><nowiki>_Script=[] ExecVM "Script.sqs";
|x1 = <code><nowiki>_Script=[] ExecVM "Script.sqf";
  Sleep 5;
  Sleep 5;
  Terminate _Script;
  Terminate _Script;

Revision as of 04:07, 22 February 2007

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

Description

Description:
Terminate (abort) the script
Groups:
Uncategorised

Syntax

Syntax:
terminate
Return Value:
Nothing

Examples

Example 1:
_Script=[] ExecVM "Script.sqf"; Sleep 5; Terminate _Script; Hint "Script.sqs 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