i made a script in mono and got the -weirdest- return
It can be minimized to -this-:
CODE
default
{
state_entry()
{
llSay(0, "Hello, Avatar!");
}
touch_start(integer total_number)
{
llSay(0, "obj: "+(string)llGetInventoryName(INVENTORY_OBJECT, 0);
llSay(0, "tx: "+(string)llGetInventoryName(INVENTORY_TEXTURE, 0);
}
}
oki, in the mainobj i dump one object: 'obj' and one texture:'tex'
The return..
[6:51] shopbox: obj:
[6:51] shopbox: tx: New Script
what???
....How in .... did the SCRIPT get into this????!
....njooooo its on TOP of the pile... :/
now .. rename 'object' to 'aobject' ..eg it moves to the top in inventory..
returns
[6:53] shopbox: obj:
[6:53] shopbox: tx: aobj
Whut??
now .. rename 'aobj' to 'bobj' and tex to atex..eg it moves to the top in inventory..
returns
[6:56] shopbox: obj:
[6:56] shopbox: tx: atex
conclusion - the engine dont give a hoot about flag INVENTORY_OBJECT/ INVENTORY_TEXTURE
its just returns whats on top of the pile
That is SO wrong :/
br.