terminate – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
 
m (Text replacement - "<code>" to "<code style="display: block">")
 
(One intermediate revision by one other user not shown)
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;
hint "stopping";
hint "stopping";
terminate "foobar"; // does NOT terminate the anything
terminate "foobar"; // does NOT terminate anything
</code>
</code>
--[[User:Worldeater|Worldeater]] 15:45, 18 June 2009 (CEST)
--[[User:Worldeater|Worldeater]] 15:45, 18 June 2009 (CEST)

Latest revision as of 12: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)