terminate – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "<code>" to "<code style="display: block">")
 
Line 1: Line 1:
Changed ''scriptName'' to ''scriptHandle'' since it suggested that following code should work:
Changed ''scriptName'' to ''scriptHandle'' since it suggested that following code should work:
<code>_code = { scriptName "foobar"; waitUntil { player sideChat str time } };
<code style="display: block">_code = { scriptName "foobar"; waitUntil { player sideChat str time } };
[] spawn _code;
[] spawn _code;
sleep 1;
sleep 1;

Latest revision as of 11:52, 11 January 2023

Changed scriptName to scriptHandle since it suggested that following code should work: _code = { scriptName "foobar"; waitUntil { player sideChat str time } }; [] spawn _code; sleep 1; hint "stopping"; terminate "foobar"; // does NOT terminate anything --Worldeater 15:45, 18 June 2009 (CEST)