Example #1
0
 //function called by EncounterSystem once encounter is calculated
 public void DeclareTheWinner(bool wins)
 {
     DialogueSystem.SetGlobalVariable <bool>("playerWins", wins);
 }
Example #2
0
 public void Update()
 {
     DialogueSystem.SetGlobalVariable("PlayerPower", combatPower);
     DialogueSystem.SetGlobalVariable("HasEnoughParts", HasEnoughParts);
 }
Example #3
0
 public void IdentifyBot(int botNumber)
 {
     DialogueSystem.SetGlobalVariable <int>("botIdentity", botNumber);
 }
Example #4
0
 public void Update()
 {
     DialogueSystem.SetGlobalVariable("playerPower", combatPower);
 }