User:Toy Wylie/RLV Documentation/sit: Difference between revisions

From Second Life Wiki
Jump to navigation Jump to search
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...'
(No difference)

Revision as of 07:37, 7 July 2010


@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