|
Asmita Frangilli
Registered User
Join date: 8 Dec 2006
Posts: 9
|
01-25-2008 13:22
Hi, Im an inexperienced scripter and I'm almost done with my HUD the way I would like it, but I cannot figure out how to get the button I press to dispense the mentioned notecard (if the avatar would like to have it). I have about 5 notecards, and 5 buttons for the corresponding notecards, but I just cant seem to link them up. I know it's probably something very basic, but I can't figure it out at this moment.
Please help me.
|
|
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
|
01-25-2008 13:38
Hmm. I think we'd probably need more information about your basic use case and your current implementation to help. It is a pretty vague question.
|
|
Pale Spectre
Registered User
Join date: 2 Sep 2005
Posts: 586
|
01-25-2008 14:34
For a HUD, from within the listen Event handler, I'd expect something like this: llGiveInventory(llGetOwner(), "Notecard Name"  ;
|
|
Asmita Frangilli
Registered User
Join date: 8 Dec 2006
Posts: 9
|
01-25-2008 15:13
Thanks Hewee and Pale, I was able to figure it through, and youre absolutely right the give inventory was what I needed with a few other tweaks. Thanks very much .
|