User:Toy Wylie/RLV Documentation/sit
Jump to navigation
Jump to search
@sit
Type
General
Restriction
Implemented
Implemented since RLV version 1.04a
Usage
@sit:<UUID>=force
@sit=y
@sit=nPurpose
Force-Syntax: Forces the target to sit on the inputed object. This is used primarily for catching victims in RLV traps.
Restriction Syntax: Prevents the target to sit down at all.
Example
<lsl>default
{
state_entry()
{
// set sit position
llSitTarget(<0,0,0.1>,ZERO_ROTATION);
}
touch_start(integer total_number)
{
llOwnerSay("@sit:"+(string) llGetKey()+"=force");
llOwnerSay("You have been caught.");
}
}
</lsl>