These forums are CLOSED. Please visit the new forums HERE
llGiveInventory() |
|
Djiket Nyak
![]() Join date: 30 Sep 2004
Posts: 116
|
11-06-2004 19:47
How does this work? I am trying to get it to give a notecard to someone when they click the object, but I don't know how to determine the key of the person who clicked it. Also how far can this go? Like if i tell an object to give a notecard to another object can it be in a different sim?
_____________________
|
Jake Cellardoor
CHM builder
Join date: 27 Mar 2003
Posts: 528
|
11-06-2004 21:05
How does this work? I am trying to get it to give a notecard to someone when they click the object, but I don't know how to determine the key of the person who clicked it. In your touch() event handler, use the llDetectedKey() function to get the key of the person who touched the object. Pass 0 as the parameter. Also how far can this go? Like if i tell an object to give a notecard to another object can it be in a different sim? If you're giving it to another object, the object has to be in the same sim. If you're giving it to a person, that person can be anywhere in the world, as long as they're online. |
Djiket Nyak
![]() Join date: 30 Sep 2004
Posts: 116
|
11-06-2004 21:14
Kewl, thanks for the info. :0)
_____________________
|
Samhain Broom
Registered User
![]() Join date: 1 Aug 2004
Posts: 298
|
11-08-2004 07:36
oh, by the way, you can also give it to another person even if they are not online. I assume you are using the drag to CallingCard or that slot in their profile page that says something to the effect of "drop item here to give to user"... That even works for multiple items, and unless specifically optioned off, it will send an e-mail to the user notifing them that they have received something that should log on to accept it.
_____________________
rm -rf /bin/ladden #beware of geeks bearing grifts
|
Samhain Broom
Registered User
![]() Join date: 1 Aug 2004
Posts: 298
|
11-08-2004 07:48
Check out this thread Scripted vendor ...I'm pretty sure you can get some ideas from that.
_____________________
rm -rf /bin/ladden #beware of geeks bearing grifts
|