Page 1 of 1
Disable plugin
Posted: Wed Jun 06, 2018 8:30 am
by enric
I can't remember the command to disable the plugin that ends the battle if one side has all units eliminated, can you refresh me? Pip.
Re: Disable plugin
Posted: Wed Jun 06, 2018 8:46 am
by enric
Maybe?
FUNCTION WIN_SCENARIO_CALLBACK(winner)
{
return -1;
}
Re: Disable plugin
Posted: Wed Jun 06, 2018 3:06 pm
by pipfromslitherine
That is correct. It is called when the game thinks the battle is over, and you can return -1 to prevent the normal ending of the battle.
Cheers
Pip