|
Baron Hauptmann
Just Designs / Scripter
Join date: 29 Oct 2005
Posts: 358
|
07-12-2007 14:14
I hope this question is not out of line . . . I am trying to make a HUD that requires the names of inventory items be displayed. I have noticed that the HUDDLES HUDs seem to do that (if I understand correctly). Anyone have any suggestions how to do this? I'm fine with the rest of the HUD, but I don't want to have the user create a texture with the name of each inventory item on it.
Thanks, Baron
|
|
Senuka Harbinger
A-Life, one bit at a time
Join date: 24 Oct 2005
Posts: 491
|
07-12-2007 14:17
From: Baron Hauptmann I hope this question is not out of line . . . I am trying to make a HUD that requires the names of inventory items be displayed. I have noticed that the HUDDLES HUDs seem to do that (if I understand correctly). Anyone have any suggestions how to do this? I'm fine with the rest of the HUD, but I don't want to have the user create a texture with the name of each inventory item on it.
Thanks, Baron you can use llSetText(...) in conjunction with llGetInventory calls to have the "ugly" hovertext applied to your HUD in the appropriate place, or you can try to integrate the wide-spread xytext system into your HUD.
_____________________
My SLExchange shopTypos are forgiven; desecrating the english language with reckless abandon and necrophilic acts is not. The function is working perfectly fine. It's just not working the way you wanted it to work.
|
|
Baron Hauptmann
Just Designs / Scripter
Join date: 29 Oct 2005
Posts: 358
|
07-12-2007 14:19
Ahhh, I hadn't thought about using the llSetText like that . . . that might be the *easiest* way . . . . thanks!
|
|
Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
|
07-12-2007 14:19
From: Baron Hauptmann I hope this question is not out of line . . . I am trying to make a HUD that requires the names of inventory items be displayed. I have noticed that the HUDDLES HUDs seem to do that (if I understand correctly). Anyone have any suggestions how to do this? I'm fine with the rest of the HUD, but I don't want to have the user create a texture with the name of each inventory item on it.
Thanks, Baron You would use llGetInventoryName() to retrieve the names of the items in the inventory, then use llSetText() to display them.
|