Squirrel/Server/Functions/SpawnClass/Colour
From Liberty Unleashed Wiki
(Difference between revisions)
(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:
int SpawnClass.Colour
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
-- todo
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
-- todo
Notes
-- Example notes/used functions here