Squirrel/Server/Functions/SpawnClass/Colour

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(New page: __NOTOC__ This ''SpawnClass'' class member returns or sets the ID of the pre-defined colour (check content.xml) for the given spawn class. == Syntax == You can either return or set a new ...)

Revision as of 03:19, 14 December 2009

This SpawnClass class member returns or sets the ID of the pre-defined colour (check content.xml) for the given spawn class.

Syntax

You can either return or set a new value using this member:

  1. int SpawnClass.Colour
  1. SpawnClass.Colour = int colourID

Arguments

  • colourID - This is the ID of the colour defined in content.xml

Example 1. Returning

This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o
  1.  
  2. -- todo
  3.  

Notes

-- Example notes/used functions here

Example 2. Setting

This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o
  1.  
  2. -- todo
  3.  

Notes

-- Example notes/used functions here

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox