Difference between revisions of "LlGetPos"
Jump to navigation
Jump to search
Peter Nelson (talk | contribs) |
m |
||
Line 9: | Line 9: | ||
|caveats | |caveats | ||
|constants | |constants | ||
|examples=< | |examples=<pre> | ||
default | default | ||
{ | { | ||
Line 22: | Line 22: | ||
} | } | ||
} | } | ||
</ | </pre> | ||
|helpers | |helpers | ||
|also_functions={{LSL DefineRow||[[llGetLocalPos]]|Gets the [[Viewer coordinate frames#Local|local]] position}} | |also_functions={{LSL DefineRow||[[llGetLocalPos]]|Gets the [[Viewer coordinate frames#Local|local]] position}} |
Revision as of 17:17, 16 April 2007
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
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); } }
See Also
Functions
• | llGetLocalPos | – | Gets the local position |