Difference between revisions of "PRIM POSITION"
Jump to navigation
Jump to search
Soft Linden (talk | contribs) m |
m |
||
Line 3: | Line 3: | ||
{{#vardefine:position_const|{{LSL Const|PRIM_POSITION|integer|6|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the prim's position}}}} | {{#vardefine:position_const|{{LSL Const|PRIM_POSITION|integer|6|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the prim's position}}}} | ||
{{#vardefine: | {{#vardefine:p_position_desc|}} | ||
}}</onlyinclude>{{#if: | }}</onlyinclude>{{#if: | ||
Line 32: | Line 14: | ||
|pa={{LSL Constant/List|i_front=[ {{#var:position_const}}, |i_end= ] | |pa={{LSL Constant/List|i_front=[ {{#var:position_const}}, |i_end= ] | ||
|text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]] | |text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]] | ||
|i1_type=vector|i1_name=position | |||
|i1_type=vector|i1_name | |||
|toc=llSetPrimitiveParams | |toc=llSetPrimitiveParams | ||
}} | }} | ||
|pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([ {{#var:position_const}}|i_end= ]);| | |pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([ {{#var:position_const}}|i_end= ]);| | ||
|r_front=Returns the list [ |r_end= ] | |r_front=Returns the list [ |r_end= ] | ||
|text | |text | ||
|r1_type=vector|r1_name=position | |||
|r1_type=vector|r1_name | |||
|toc=llGetPrimitiveParams | |toc=llGetPrimitiveParams | ||
}} | }} | ||
Line 59: | Line 37: | ||
|events= | |events= | ||
<!--{{LSL DefineRow||[[changed]]|}}--> | <!--{{LSL DefineRow||[[changed]]|}}--> | ||
|location | |location | ||
|cat1=Prim | |cat1=Prim |
Revision as of 07:31, 22 October 2008
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer PRIM_POSITION = 6;The integer constant PRIM_POSITION has the value 6
PRIM_POSITION is used to get or set the prim's position.
llSetPrimitiveParams
[ PRIM_POSITION, vector position ]• vector | position |
When used with llSetPrimitiveParams & llSetLinkPrimitiveParams
llGetPrimitiveParams
llGetPrimitiveParams([ PRIM_POSITION ]);Caveats
Related Articles
Functions
• | llGetPrimitiveParams | |||
• | llSetPrimitiveParams | |||
• | llSetLinkPrimitiveParams | |||
• | llGetPos | |||
• | llSetPos | |||
• | llGetLocalPos | |||
• | llGetRootPosition | |||
• | llGetObjectDetails |