Difference between revisions of "LlGetPos"

From Second Life Wiki
Jump to navigation Jump to search
(added example)
Line 9: Line 9:
|caveats
|caveats
|constants
|constants
|examples
|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>
|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 09:18, 16 April 2007