Esempio n. 1
0
    private void RebuildScenario()
    {
        if (defeated)
        {
            string[] initText =
            {
                "You had defeated" + enemy.EnemyName + ", he's laying on the ground and lost his consciousness."
            };
            scenarioScript = new List <string>(initText);
        }
        else
        {
            scenarioScript = new List <string>()
            {
                " It's time! ",
                " You have to finally face the Evil President!",
                " The Evil President is 336 years old.",
                " And he has ONE famous Momento: ",
                " Respect me! I am OLD! ",
                " Now, Time to fight. "
            };
        }

        battleLog.ClearOldElement();
        NpcUI.text = "";

        //Reset character for testing purpose
        //enemy.Reset ();
        //player.Reset ();
    }
Esempio n. 2
0
 private void ScenarioFinished()
 {
     scenarioScriptIndex = 0;
     talkButton.onClick.RemoveListener(OnTalk);
     theEvent.Finish();
     battleLog.ClearOldElement();
     // Unclock Player movement
     player.unlockPlayer();
 }
Esempio n. 3
0
    private void RebuildScenario()
    {
        string[] initText =
        {
            "You had defeated" + enemy.EnemyName + ", he's laying on the ground and lost his consciousness."
        };
        scenarioScript = new List <string>(initText);
        battleLog.ClearOldElement();
        NpcUI.text = "";

        //Reset character for testing purpose
        //enemy.Reset ();
        //player.Reset ();
    }
Esempio n. 4
0
    private void RebuildScenario()
    {
        string[] initText =
        {
            "The Korean brothers ran away, the president is safe now."
        };
        scenarioScript = new List <string>(initText);
        battleLog.ClearOldElement();
        NpcUI.text = "";

        //Reset character for testing purpose
        //enemy.Reset ();
        //player.Reset ();
    }
Esempio n. 5
0
    private void RebuildScenario()
    {
        string[] initText =
        {
            "The BU GUY LIED on the ground peacefully with a smile on his face."
        };
        scenarioScript = new List <string>(initText);
        battleLog.ClearOldElement();
        NpcUI.text = "";

        //Reset character for testing purpose
        //enemy.Reset ();
        //player.Reset ();
    }