Skip to content

Instantly share code, notes, and snippets.

@antonyfairport
Created January 2, 2015 11:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antonyfairport/b822378b87594692ed55 to your computer and use it in GitHub Desktop.
Save antonyfairport/b822378b87594692ed55 to your computer and use it in GitHub Desktop.
RLV force sit vs obscured objects tester
default
{
touch_start( integer _ )
{
integer iPrim = llDetectedLinkNumber( 0 );
string sPrim = llGetLinkName( iPrim );
if ( sPrim != "Force Sit" )
{
key kToucher = llDetectedKey( 0 );
llRegionSayTo( kToucher, -1812221819,
"ForceSit," + ( (string) kToucher ) + "," +
"@sit:" + sPrim + "=force" );
}
else
{
llSay( 0, "Please touch one of the arrows." );
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment