override public double execute(double dt)
    {
        if (state == 0)
        {
            if (agent != null)
            {
                if (audioplay)
                {
                    agent.playAudio(audioName);
                    audioplay = false;
                }
                ui.DisplayText(message, agent);

                /*
                 * Agent m_agent = MascaretUtils.getAgent(Host.name);
                 * Debug.Log("===================================   " + m_agent.name);
                 * ActionNode currentNode = MascaretUtils.getCurrentActionNode(m_agent);
                 * Debug.Log("===================================   " + currentNode.name);
                 * List<ActionNode> choices = MascaretUtils.getOutgoingNodes(m_agent, currentNode);
                 * foreach (ActionNode n in choices)
                 *  Debug.Log("===================================   " + n.name);
                 * ActionNode next = MascaretUtils.getNextNodeToExecute(m_agent);
                 * Debug.Log(" ========  " + next.name);
                 */
            }

            state++;
            return(ui.DisplayTime);
        }
        else
        {
            ui.resetDisplayText(agent);
            return(0);
        }
    }
    override public double execute(double dt)
    {
        if (state == 0)
        {
            if (agent != null)
            {
                agent.playAnimation(animation);
            }

            state++;
            return(ui.DisplayTime);
        }
        else
        {
            ui.resetDisplayText(agent);
            return(0);
        }
    }