Vehicle.Colour2

From Liberty Unleashed Wiki
Revision as of 02:04, 29 September 2010 by Juppi (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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