Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

BUG in llSetPrimitiveParams / PRIM_TEXTURE

Neo Rebus
Registered User
Join date: 10 Apr 2004
Posts: 59
07-07-2004 01:21
The documentation for calling llSetPrimitiveParams with PRIM_TEXTURE says that it expects:

integer face, key id, vector repeats, vector offsets, float rotation

However, it only seems to work if you actually pass a *string* as the id, not a key. Passing a key responds "llSetPrimitiveParams error: rule 0 error, PRIM_TEXTURE has missing or bad texture name.". Passing a string with the same value as the key works.

- Neo
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
07-07-2004 02:49
probably a typo on their part. but it makes sence. as you have to explisitly typecast a string to a key.

(it should be able to take both)
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey