Difference between revisions of "LlGetNumberOfSides"
Jump to navigation
Jump to search
Rolig Loon (talk | contribs) |
(Undo revision 1189379 by Rolig Loon (Talk)) |
||
Line 26: | Line 26: | ||
|notes | |notes | ||
|cat1=Face | |cat1=Face | ||
|cat2 | |cat2 | ||
|cat3 | |cat3 | ||
|cat4 | |cat4 | ||
}} | }} |
Revision as of 18:07, 12 April 2014
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: integer llGetNumberOfSides( );168 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns an integer that is the number of faces (or sides) of the prim.
See Face for more information about faces and the conditions that control the number of faces a prim will have.
Caveats
Examples
<lsl>default {
state_entry() { // Set the hovertext to indicate the number of sides integer numOfSides = llGetNumberOfSides(); llSetText( "I have " + (string)numOfSides + " sides.", <1,1,1>, 1 ); }}</lsl>
See Also
Functions
• | llGetLinkNumberOfSides | – | Get number of faces for a linked prim |