Don't click here unless you want to be banned.

LSL Wiki : llAllowInventoryDrop

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are crawl338.us.archive.org
llAllowInventoryDrop(integer add)

If add is true, all users, even those who do not have modify permissions, can drop inventory items onto the object. If add is false the system forbids all users except those with modify permissions from dropping items onto the object.

The changed event handler is called with the CHANGED_ALLOWED_DROP flag when an item is dropped onto the object by a user that does not have modify permission. CHANGED_INVENTORY is passed to changed if someone with modify permission dropped the item.

To drop an inventory item onto/into an object, hold the Control key while dragging any inventory item onto the object (the object you're about to drop your item onto will be highlighted with a red frame). But for notecard drop, there is no need to hold the control key. Just drag and drop your notecard on which the object will be highlighted with a white frame.

Note: If you declare llAllowInventoryDrop in the root prim of a linkset and then drop a texture onto a child, it will go into the child's inventory, NOT the parents. This is odd, as every other object will go to the parent's inventory.

The exception are scripts, attempting to drop a script onto an object which allows inventory drops will cause the object to shout "Not permitted to edit this!".

default
{
    state_entry()
    {
        llAllowInventoryDrop(TRUE);
    }
    changed(integer mask)
    {
        if(mask & (CHANGED_ALLOWED_DROP | CHANGED_INVENTORY))
            llWhisper(0, "My inventory has changed");
    }
}


This article wasn't helpful for you? Maybe the related article at the LSL Portal is able to bring enlightenment.

Functions / Inventory Jasa SEO Jasa SEO Murah Sepatu Online Toko Sepatu Online Sepatu Sepatu Murah Sepatu Safety Sepatu Futsal Cheapes Hostgator Coupon Link Booking Televisori offerte Notebook Offerte Berita Terkini Internet Marketer Muda Internet Marketer Indonesia Portatile Apple RDAnet Lorks Karikatur Bisnis Modal Kecil Bisnis UKM Berita Terbaru Iklan Baris Jasa SEO Jasa SEO Murah SEO Indonesia Konsultan SEO SEO Belajar SEO Kursus SEO Kursus SEO Murah Jam Tangan Casio Jam Tangan Casio Jam Tangan Murah Jam Tangan Grosir Baju Terbaru Grosir Baju Baju Terbaru Grosir Baju Murah Bisnis Online Belajar SEO Kerupuk Kerupuk kulit Social Bookmark Dofollow Social Bookmark Kumpulan Puisi Kirim Puisi bola hantu Penumbuh Rambut Penumbuh Rambut timbangan WBC Wonogiri Jasa SEO Murah Jasa SEO Jam Tangan Murah
There are 7 comments on this page. [Display comments/form]