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

osForceOtherSit() public method

Allows a script IN the target prim to force an avatar to sit on it using normal methods as if called by the client. Silent fail if agent (or target if overloaded) not found. Does work if passed key (or keys if overloaded).
public osForceOtherSit ( string avatar ) : void
avatar string
return void
        public void osForceOtherSit(string avatar)
        {
            CheckThreatLevel(ThreatLevel.VeryHigh, "osForceOtherSit");

            m_host.AddScriptLPS(1);

            ForceSit(avatar, m_host.UUID);
        }

Same methods

OSSL_Api::osForceOtherSit ( string avatar, string target ) : void
OSSL_Api