Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

[Question] how networked vendors update display

Jin Takakura
Registered User
Join date: 27 Apr 2006
Posts: 11
06-20-2006 19:09
I was just wondering, how do networked vendors' displays (the picture of the item being sold and displayed) get updated remotely by a main controller? I figured they don't pass the texture to the vendors given that object can only give other objects items if they are in the same sim. I'm just curious how it works, can anybody shed some light on this?
Yumi Murakami
DoIt!AttachTheEarOfACat!
Join date: 27 Sep 2005
Posts: 6,860
06-20-2006 19:27
From: Jin Takakura
I was just wondering, how do networked vendors' displays (the picture of the item being sold and displayed) get updated remotely by a main controller? I figured they don't pass the texture to the vendors given that object can only give other objects items if they are in the same sim. I'm just curious how it works, can anybody shed some light on this?


They pass the texture UUID.

You can update a texture with llSetTexture via a UUID without the texture needing to be in the object's inventory.
DoteDote Edison
Thinks Too Much
Join date: 6 Jun 2004
Posts: 790
06-20-2006 19:27
They pass the texture's UUID (key). Using llSetTexture(id, ALL_SIDES);

llSetTexture() accepts either the name of a texture in contents, or a UUID (Key). So, the texture doesn't need to exist anywhere but the asset server, really.
Jin Takakura
Registered User
Join date: 27 Apr 2006
Posts: 11
06-20-2006 19:38
ohh ok, thanks!