llCollisionFilter(string name, key id, integer accept)
If
accept is
TRUE, then the
script only triggers
collision events when colliding with the
object or
avatar specified by
name and
id. Otherwise, the script only accepts collisions with objects or avatars that are not
name and
id. Either
parameter is optional,
"" can be passed for
name to specify objects or avatars with any name, and
NULL_KEY can be passed for
id to specify objects or avatars with any
UUID.
Stop filtering:
Filter out all collisions:
This can be very useful if you only care about collisions from a specific avatar, such as the current player of a game--it can prevent other people from disturbing the gameplay.
Notes:
- It appears as though this function only filters whatever the last filter specified was. This makes it useless if you only care about accepting collisions from individual avatars or objects (plural). It's only useful if you only care about a single object OR avatar--one or the other, never both or multiples.-- LuccaKitty
- This function is reset at state changes, so call it again in the state_entry() event in all states where it is required. -JesradSeraph
- It is important to consider that this function does not prevent physical impacts from occurring - it cannot make a primitive selectively phantom, it only prevents collision events from being called in the state when the specified key or name should trigger one under normal circumstances. -JeremyDuport
This article wasn't helpful for you? Maybe the
related article at the LSL Portal is able to bring enlightenment.
Functions |
Detection Functions |
Collisions 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