Jump to content

Join group before unpacking


Miyuko101
 Share

You are about to reply to a thread that has been inactive for 3711 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

You can't really check them before they open it, but you certainly can distribute it using a script that first checks llSameGroup().

(Of course, that's in-world distribution, not through Marketplace, in case that's what you were thinking.)

  • Like 2
Link to comment
Share on other sites

http://wiki.secondlife.com/wiki/LlDetectedGroup

 

//Gives inventory only to agents with the same active groupdefault{    touch_start(integer total_number)    {        if (llDetectedGroup(0) )     //same as llSameGroup(llDetectedKey(0) ) (with llSameGroup, detected must be in the sim)            llGiveInventory(llDetectedKey(0), llGetInventoryName(INVENTORY_OBJECT, 0) );        else            llSay(0, "Wrong active group!");    }}
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 3711 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...