Triggered while task is colliding with another task.

Syntax

collision( integer num_detected )

Event ID: 6.

Parameters

integer num_detected

Caveats

Examples

//Will turn phantom when someone bumps into it if on the list

list access_list = ["Governor Linden"];

default
{
    collision(integer num_detected)
    {
        if(~llListFindList(access_list, (list)llDetectedName(0)))
        {
            llSetStatus(STATUS_PHANTOM, TRUE);
        }
    }
}

See also

Events

Functions

Deep notes

Issues