Scripting/Squirrel/Functions/SetUseClasses: Difference between revisions
Jump to navigation
Jump to search
This wiki is using an old backup from 2020
Some information may be old/missing
No edit summary |
No edit summary |
||
(7 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
This function will enable/disable use of classes | |||
<pre>SetUseClasses( bool );</pre> | <pre>SetUseClasses( bool );</pre> | ||
== Arguments == | |||
* ''bool'' - true or false | |||
== Example == | |||
<source lang=squirrel> | <source lang=squirrel> | ||
Line 9: | Line 17: | ||
</source> | </source> | ||
<source lang=squirrel> | |||
function onScriptLoad() | |||
{ | |||
SetUseClasses( false ); | |||
} | |||
</source> | |||
== Related Functions == | |||
{{Scripting/Squirrel/Functions/Spawn_and_Wasted_Screen_Functions}} | |||
[[Category:Scripting/Squirrel/Functions/Spawn_and_Wasted_Screen_Functions]] |
Latest revision as of 21:59, 30 January 2017
This function will enable/disable use of classes
SetUseClasses( bool );
Arguments
- bool - true or false
Example
function onScriptLoad()
{
SetUseClasses( true );
}
function onScriptLoad()
{
SetUseClasses( false );
}