Difference between revisions of "LlGetPos"
Jump to navigation
Jump to search
(Link also with llGetRegionName ... and sort the links, since otherwise I see no pattern in that list) |
m (Ouch I meant to link with Viewer coordinate frames#Region only once not twice) |
||
Line 27: | Line 27: | ||
{{LSL DefineRow||[[llGetLocalPos]]|Gets the prim [[Viewer coordinate frames#Local|local]] position}} | {{LSL DefineRow||[[llGetLocalPos]]|Gets the prim [[Viewer coordinate frames#Local|local]] position}} | ||
{{LSL DefineRow||[[llGetPrimitiveParams]]|Gets prim properties}} | {{LSL DefineRow||[[llGetPrimitiveParams]]|Gets prim properties}} | ||
{{LSL DefineRow||[[llGetRegionName]]|Gets the | {{LSL DefineRow||[[llGetRegionName]]|Gets the region name of the prim position}} | ||
{{LSL DefineRow||[[llGetRootPosition]]|Gets the root prims position}} | {{LSL DefineRow||[[llGetRootPosition]]|Gets the root prims position}} | ||
{{LSL DefineRow||[[llSetPos]]|Sets the prim position}} | {{LSL DefineRow||[[llSetPos]]|Sets the prim position}} |
Revision as of 22:22, 15 April 2009
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: vector llGetPos( );59 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns a vector that is the prim's region position
Caveats
Examples
<lsl> default {
touch_start(integer total_number) { // When touched, check the position of // the object, save it to "position", // then convert it into a string and // say it. vector position = llGetPos(); llSay(0, (string)position); }
}
</lsl>See Also
Functions
• | llGetLocalPos | – | Gets the prim local position | |
• | llGetPrimitiveParams | – | Gets prim properties | |
• | llGetRegionName | – | Gets the region name of the prim position | |
• | llGetRootPosition | – | Gets the root prims position | |
• | llSetPos | – | Sets the prim position | |
• | llSetPrimitiveParams | – | Sets prim properties | |
• | llSetLinkPrimitiveParams | – | Sets linked prim properties |