Template:Tdm-scripting-reference-intro: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
(General utility functions)
 
No edit summary
 
Line 1: Line 1:
General utility functions not related to specific entities are listed under idThread. They're accessed in scripts using the dummy "sys" object, e.g. ''sys.waitFrame()'', or ''float brown_position = sys.strFind("The quick brown fox", "brown")''.
General utility functions not related to specific entities are listed under idThread. They're accessed in scripts using the dummy "sys" object, e.g. ''sys.waitFrame()'', or ''float brown_position = sys.strFind("The quick brown fox", "brown", 0, 0, -1)''.

Latest revision as of 02:12, 2 March 2015

General utility functions not related to specific entities are listed under idThread. They're accessed in scripts using the dummy "sys" object, e.g. sys.waitFrame(), or float brown_position = sys.strFind("The quick brown fox", "brown", 0, 0, -1).