event after deploy
Posted: Tue May 14, 2013 11:31 am
FUNCTION StartTurn(side)
{
Log ("turn", GetTurn());
}
In a scenario with deployment I got
turn -1
turn 0
and then BA is in deployment mode.
Quit the deploy phase pushing END TURN, but got nothing.
So it is still turn 0, is there a way to catch the event generated by the END TURN in that situation?
Also tried
if ( GetTurn() == 0)
{
if (IsDeploying() == 1)
{
Log ("isdeploy", GetTurn());
}
else
{
Log ("else", GetTurn());
}
}
But never happens the "else".
{
Log ("turn", GetTurn());
}
In a scenario with deployment I got
turn -1
turn 0
and then BA is in deployment mode.
Quit the deploy phase pushing END TURN, but got nothing.
So it is still turn 0, is there a way to catch the event generated by the END TURN in that situation?
Also tried
if ( GetTurn() == 0)
{
if (IsDeploying() == 1)
{
Log ("isdeploy", GetTurn());
}
else
{
Log ("else", GetTurn());
}
}
But never happens the "else".