Difference between revisions of "LlGetScale"
Jump to navigation
Jump to search
Carl Omlet (talk | contribs) m |
Void Singer (talk | contribs) m (formatted example) |
||
Line 9: | Line 9: | ||
|caveats | |caveats | ||
|constants | |constants | ||
|examples=< | |examples=<lsl>default | ||
{ | { | ||
touch_start(integer total_number) | touch_start(integer total_number) | ||
Line 15: | Line 15: | ||
llSay(0, "My dimensions are: " + (string)llGetScale()); | llSay(0, "My dimensions are: " + (string)llGetScale()); | ||
} | } | ||
}</ | }</lsl> | ||
|helpers | |helpers | ||
|also_functions= | |also_functions= |
Revision as of 18:18, 19 February 2008
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: vector llGetScale( );48 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns a vector that is the scale of the prim.
Caveats
Examples
<lsl>default {
touch_start(integer total_number) { llSay(0, "My dimensions are: " + (string)llGetScale()); }}</lsl>
See Also
Functions
• | llSetScale | – | Sets the prims size | |
• | llSetPrimitiveParams | – | Sets prims attributes | |
• | llGetPrimitiveParams | – | Gets prims attributes |