wiki:Exposed_Script_Object
Last modified 4 years ago Last modified on 2008-02-23 03:18:58

XML Script Object

A <script /> object can be nested into an XML to link a .js file into its scope (so that its contents can be called and recognised), using either:

  <Script File="entities/template_entity_script.js" />

or

  <script file="gui/test/functions_utility_coord.js"><![CDATA[ 
  ]]></script>