Squirrel/Server/Functions/Vehicles/RGBColour2

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with '{{Squirrel/Title|Vehicle.Colour2}} This ''Vehicle'' class member returns or sets a custom secondary colour for the vehicle. Note that if [[Squirrel/Server/Functions/Vehicles/Colo…')

Revision as of 02:04, 29 September 2010

Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This Vehicle class member returns or sets a custom secondary colour for the vehicle. Note that if Vehicle.Colour2 is used to change the colour, it will override this setting.

Syntax

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

  1. Colour Vehicle.RGBColour2
  1. Vehicle.RGBColour2 = Colour col

Arguments

  • col - This is a pointer to the custom RGB colour object to be used as the vehicle's secondary colour

Example 1. Returning the value

-- Example description here

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 and used functions here.

Example 2. Setting a new value

-- Example description here

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 and used functions here.

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox