Difference between revisions of "Talk:PRIM POSITION"

From Second Life Wiki
Jump to navigation Jump to search
(llSetPrimitiveParams should be linked as prominently as llGetPrimitiveParams from PRIM_POSITION, but the wikitext there is too exotic for me to begin to know how to do that)
 
(→‎Other Tag Duplication: What is this 'other tag duplication' for which 'results are undefined'?)
Line 1: Line 1:
== Other Tag Duplication ==
Q: What is this 'other tag duplication' for which 'results are undefined'?
That is, what is a 'tag' here? Are 'tag's and 'rule's and 'flag's and such meant to be multiple words meaning the same thing, or multiple words meaning different things? Like do we say we have 'duplicated a tag' if we repeat a 'rule' more than once in a call to [[llSetPrimitiveParams]] or [[llGetPrimitiveParams]] and such?
-- [[User:Ppaatt Lynagh|Ppaatt Lynagh]] 06:03, 1 January 2009 (UTC)
== Set or Get, Your Option ==
== Set or Get, Your Option ==


Today, in the [[PRIM_POSITION]] article, we see:
We'd rather see:


<lsl>
<lsl>
[ PRIM_POSITION, vector position ]
llSetPrimitiveParams([ ..., PRIM_POSITION, vector position, ... ]
...
...
llGetPrimitiveParams([ PRIM_POSITION ]);
llGetPrimitiveParams([ ..., PRIM_POSITION, ... ]);
...
...
</lsl>
</lsl>


I think we'd rather see:
where today in the [[PRIM_POSITION]] article we see:


<lsl>
<lsl>
llSetPrimitiveParams([ ..., PRIM_POSITION, vector position, ... ]
[ PRIM_POSITION, vector position ]
...
...
llGetPrimitiveParams([ ..., PRIM_POSITION, ... ]);
llGetPrimitiveParams([ PRIM_POSITION ]);
...
...
</lsl>
</lsl>

Revision as of 22:03, 31 December 2008

Other Tag Duplication

Q: What is this 'other tag duplication' for which 'results are undefined'?

That is, what is a 'tag' here? Are 'tag's and 'rule's and 'flag's and such meant to be multiple words meaning the same thing, or multiple words meaning different things? Like do we say we have 'duplicated a tag' if we repeat a 'rule' more than once in a call to llSetPrimitiveParams or llGetPrimitiveParams and such?

-- Ppaatt Lynagh 06:03, 1 January 2009 (UTC)

Set or Get, Your Option

We'd rather see:

<lsl> llSetPrimitiveParams([ ..., PRIM_POSITION, vector position, ... ] ... llGetPrimitiveParams([ ..., PRIM_POSITION, ... ]); ... </lsl>

where today in the PRIM_POSITION article we see:

<lsl> [ PRIM_POSITION, vector position ] ... llGetPrimitiveParams([ PRIM_POSITION ]); ... </lsl>

I think this because I am new, so I still now remember the pain of not knowing:

    i) that often Lsl defines the same PRIM op to do symmetric things inside both llGetPrimitiveParams and for llSetPrimitiveParams, and

    ii) that each PRIM op and its args appear in the list of Params catenated together with other ops and args.

I then think the spirit of wiki is that, since I believe in this change, I should make this change myself, and spark community review that way. However, the wikitext here is much too exotic for me to begin to know how to make and save a change like that myself here. So I ask ...

Q: Anyone out there both:

    a) agree with me on how we should improve this page for the newbie and

    b) know how to change the wikitext to achieve this effect?

Or please would you hint how I could learn to do this myself? Thanks in advance,

-- Ppaatt Lynagh 17:59, 24 December 2008 (UTC)