Jump to content

Drag and drop notecard into non-root prim.


animats
 Share

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

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

Recommended Posts

Is it possible to drag and drop a notecard into a prim's inventory when that prim is not the root prim? Or is all dropping always into the root prim? I'm trying to make something easily configurable, and need the notecard in a non-root prim. Haven't been able to do this; dropped notecards always end up in the root prim.

Drag and drop is for owner only here. Of course, the owner can edit inventory, but I'd like to make it easier.

Link to comment
Share on other sites

If nothing else, you can script the root prim to give the notecard to a child prim and then delete it from itself.

string strCard = llGetInventoryName(INVENTORY_NOTECARD,0);

llGiveInventory( llGetLinkKey( destination_link), strCard);

llRemoveInventory(strCard);

It's a little clunky, but it works.

  • Like 2
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 1602 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...