OsForceOtherSit

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(First stage documentation of function)
 
Line 1: Line 1:
 
{{osslfunc
 
{{osslfunc
|function_syntax=void osForceOtherSit(string avatar)
+
|function_syntax=void osForceOtherSit(key avatar)
  
void osForceOtherSit(string avatar, string target)
+
void osForceOtherSit(key avatar, string target)
 
|csharp_syntax=
 
|csharp_syntax=
 
|description=Forces a sit of targeted avatar onto prim.
 
|description=Forces a sit of targeted avatar onto prim.

Revision as of 20:50, 23 October 2017

void osForceOtherSit(key avatar)

void osForceOtherSit(key avatar, string target)

Forces a sit of targeted avatar onto prim.
  • avatar - The UUID of the avatar to which to attach. Nothing happens if this is not a UUID.
  • target - The UUID of another prim to sit avatar on. Nothing happens if this is not a UUID of prim in region.

In OpenSimulator 0.8.0.1.

Threat Level VeryHigh. is unknown threat level
Permissions No permissions specified
Delay No function delay specified
Example(s)
//Simple example for osForceOtherSit
 
default
{
    state_entry()
    {
        llSitTarget(<0.0, 0.0, 1.0>, ZERO_ROTATION); //The vector's components must not all be set to 0 for effect to take place.
    }
 
     touch_start(integer num)
    {
      osForceOtherSit(llDetectedKey(0));
    }
}


Personal tools
General
About This Wiki