Created
January 2, 2015 11:04
-
-
Save antonyfairport/b822378b87594692ed55 to your computer and use it in GitHub Desktop.
RLV force sit vs obscured objects tester
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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