I added some code on my game to make this run alongside the CombatTracker script. I can't figure out how to put this into a pull request so I am putting the code I wrote here.
The following code goes at the end of the HandleInput function inside the first switch statement.
//CombatTracker Compatability
case '!ct':
switch(args[1]){
case 'next':
var timer = setTimeout(function() {
if(bInCombat) {
TurnChange();
}
}, 1000);
break;
case 'start':
StartCombat();
var timer = setTimeout(function() {
if(bInCombat) {
TurnChange();
}
}, 1000);
break;
case 'stop':
StopCombat();
var timer = setTimeout(function() {
if(bInCombat) {
TurnChange();
}
}, 1000);
break;
//default: break;
}break;
I added some code on my game to make this run alongside the CombatTracker script. I can't figure out how to put this into a pull request so I am putting the code I wrote here.
The following code goes at the end of the HandleInput function inside the first switch statement.