Squirrel/Server/Functions/Vehicles/Alpha

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with '{{Squirrel/Title|Vehicle.Alpha}} {{ScriptingChangesIn0.1.0.10}} This ''Vehicle'' class member variable sets/returns the alpha of the vehicle. Note that setting the alpha value ca…')
 
(→‎Example 1. Returning)
 
Line 15: Line 15:
  
 
{{Squirrel/NeedsExample}}
 
{{Squirrel/NeedsExample}}
−
Some explanation here
+
same as pPlayer.Alpha :D im too lazy:P
  
 
<code lang="squirrel">
 
<code lang="squirrel">

Latest revision as of 05:58, 22 June 2015

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

This Vehicle class member variable sets/returns the alpha of the vehicle. Note that setting the alpha value can be tricky and it can cause unexpected effects on most vehicle models (such as unaffected wheels).

[edit] Syntax

  1. int Vehicle.Alpha
  1. Vehicle.Alpha = int alpha

[edit] Arguments

  • alpha - The alpha value you wish to set (0...255)

[edit] Example 1. Returning

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

same as pPlayer.Alpha :D im too lazy:P

  1.  
  2. -- todo
  3.  

[edit] Notes

-- List of used functions and other notes here.

[edit] Example 2. Setting

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

Some explanation here too

  1.  
  2. -- todo
  3.  

[edit] Notes

-- List of used functions and other notes here.

[edit] Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox