User:Toy Wylie/RLV Documentation/sit
Jump to navigation
Jump to search
@sit
Type
Interaction
Implemented
Implemented since RLV version 1.04a
Usage
@sit
Purpose
Forces the target to sit on the inputed object. This is used primaraly for catching victims in RLV traps.
See Also
Example
<lsl>integer RelayChannel=-1812221819;
default {
state_entry() { llSitTarget(<0,0,0.1>,llEuler2Rot(<0,0,0> * DEG_TO_RAD));// set sit position }
touch_start(integer total_number) { key Toucher = llDetectedKey(0);llSay( RelayChannel,"Catch,"+(string)Toucher+",@sit:"+(string)llGetKey()+"=force