OpenSim.Region.ScriptEngine.Shared.Api.OSSL_Api.osForceOtherSit C# (CSharp) Method

osForceOtherSit() public method

Overload method of osForceOtherSit(string avatar) to allow a script NOT in the target prim to force an avatar to sit on the target prim using normal methods as if called by the client.
public osForceOtherSit ( string avatar, string target ) : void
avatar string
target string
return void
        public void osForceOtherSit(string avatar, string target)
        {
            CheckThreatLevel(ThreatLevel.VeryHigh, "osForceOtherSit");

            m_host.AddScriptLPS(1);

            UUID targetID = new UUID(target);
            
            ForceSit(avatar, targetID);             
        }

Same methods

OSSL_Api::osForceOtherSit ( string avatar ) : void
OSSL_Api