Scripting/Squirrel/Functions/Object.Alpha: Difference between revisions
Jump to navigation
Jump to search
This wiki is using an old backup from 2020
Some information may be old/missing
No edit summary |
|||
Line 1: | Line 1: | ||
== Syntax == | == Syntax == | ||
<pre>Object.Alpha | <pre>Object.Alpha;</pre> | ||
== Arguments == | == Arguments == | ||
'''> Object''' - The object instance. | '''> Object''' - The object instance. | ||
== Example == | == Example == | ||
Line 16: | Line 14: | ||
myObject <- CreateObject( 334, 1, Vector( -2261.12, 753.12, 211.123 ),255 ); | myObject <- CreateObject( 334, 1, Vector( -2261.12, 753.12, 211.123 ),255 ); | ||
print(myObject.Alpha); | print(myObject.Alpha); | ||
} | } | ||
</pre> | </pre> |
Revision as of 11:23, 9 March 2016
Syntax
Object.Alpha;
Arguments
> Object - The object instance.
Example
This example will create a object and prints its current alpha on console.
function onScriptLoad() { myObject <- CreateObject( 334, 1, Vector( -2261.12, 753.12, 211.123 ),255 ); print(myObject.Alpha); }