|
Ben Stravinsky
Second Life Resident
Join date: 7 Nov 2004
Posts: 149
|
04-29-2007 04:43
Guys can someone throw up a "Give inventory object on sit" script for me, where said object also resides in the same prim as the script.
Or IM inworld and i will give you some pennies in appreciation.
Thanks in advance.
|
|
Ben Stravinsky
Second Life Resident
Join date: 7 Nov 2004
Posts: 149
|
04-29-2007 05:03
Job Done.
Tsukasa Sakai, thanks a bunch.
|
|
Nosmo Snickerdoodle
Registered User
Join date: 10 Feb 2006
Posts: 7
|
04-30-2007 11:21
Care to share ?
|
|
Sys Slade
Registered User
Join date: 15 Feb 2007
Posts: 626
|
04-30-2007 11:36
From: Nosmo Snickerdoodle Care to share ? This should do the trick: default{ state_entry(){ llSitTarget(<0,0,0.5>,ZERO_ROTATION); }
changed(integer change){ if(change & CHANGED_LINK){ key av=llAvatarOnSitTarget(); if(av) llGiveInventory(av,"some_object"); } } }
|