User:Toy Wylie/RLV Documentation/sit

From Second Life Wiki
< User:Toy Wylie‎ | RLV Documentation
Revision as of 07:37, 7 July 2010 by Xela Soulstar (talk | contribs) (Created page with '{{Template:RLV_Documentation/Command |command=@sit|type=Interaction |usage=@sit |purpose=Forces the target to sit on the inputed object. This is used primaraly for catching victi...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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