Difference between revisions of "PRIM POSITION"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
{{#if:
<onlyinclude>{{#if:
{{LSL_Constants/PrimitiveParams}}
 
{{#vardefine:position_const|{{LSL Const|PRIM_POSITION|integer|6|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the prim's position}}}}
 
{{#vardefine:p_position_desc|}}
 
}}</onlyinclude>{{#if:
 
}}{{LSL Constant
}}{{LSL Constant
|name=PRIM_POSITION
|name=PRIM_POSITION
Line 6: Line 12:
|value=6
|value=6
|desc=PRIM_POSITION is used to get or set the prim's position.
|desc=PRIM_POSITION is used to get or set the prim's position.
|pa={{LSL Constant/List|i_front=[&#32;[[PRIM_POSITION]],&#32;|i_end=&nbsp;]
|pa={{LSL Constant/List|i_front=[&#32;{{#var:position_const}},&#32;|i_end=&nbsp;]
|text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]]
|text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]]
|i1_type=vector|i1_name=position
|i1_type=vector|i1_name=position
}}
}}
|pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([&nbsp;[[PRIM_POSITION]]|i_end=&nbsp;]);|
|pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([&nbsp;{{#var:position_const}}|i_end=&nbsp;]);|
|r_front=Returns the list [&nbsp;|r_end=&nbsp;]
|r_front=Returns the list [&nbsp;|r_end=&nbsp;]
|text
|text

Revision as of 20:37, 17 April 2008

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.

[ PRIM_POSITION, vector position ]

[ PRIM_POSITION, vector position ]

llGetPrimitiveParams([ PRIM_POSITION ]);

llGetPrimitiveParams([ PRIM_POSITION ]);

Returns the list [ vector position ]

• vector position

Deep Notes

Search JIRA for related Issues

Signature

integer PRIM_POSITION = 6;