Aurora.ScriptEngine.AuroraDotNetEngine.APIs.LSL_Api.llExecCharacterCmd C# (CSharp) Method

llExecCharacterCmd() public method

public llExecCharacterCmd ( Aurora.ScriptEngine.AuroraDotNetEngine.LSL_Types.LSLInteger command, Aurora.ScriptEngine.AuroraDotNetEngine.LSL_Types.list options ) : void
command Aurora.ScriptEngine.AuroraDotNetEngine.LSL_Types.LSLInteger
options Aurora.ScriptEngine.AuroraDotNetEngine.LSL_Types.list
return void
        public void llExecCharacterCmd(LSL_Integer command, LSL_List options)
        {
            IBotManager botManager = World.RequestModuleInterface<IBotManager>();
            if (botManager != null)
            {
                IBotController controller = botManager.GetCharacterManager(m_host.ParentEntity.UUID);
                if (command == ScriptBaseClass.CHARACTER_CMD_JUMP)
                    controller.Jump();
                if (command == ScriptBaseClass.CHARACTER_CMD_STOP)
                    controller.StopMoving(false, true);
            }
        }
    }
LSL_Api