Hi there
I have a game where all players need to choose 2 characters. Everything works fine with multiactive if i do not want them to be able to change their mind before the last player validate.
Currently, i have this
This workds and everybody can change its mind.
My problem is hourglass is still rotating and are confused.
Is there anyway i can stop the time to go down and still be able to change my mind?
I tried to make the player nonmultiactive then call the method from js but i have "This is not your turn" message.
Thanks
I have a game where all players need to choose 2 characters. Everything works fine with multiactive if i do not want them to be able to change their mind before the last player validate.
Currently, i have this
Code: Select all
if(/* Everybody have confirmed */)
{
$this->gamestate->setAllPlayersNonMultiactive( "init" );
}
else
{
$this->gamestate->updateMultiactiveOrNextState('');
}
My problem is hourglass is still rotating and are confused.
Is there anyway i can stop the time to go down and still be able to change my mind?
I tried to make the player nonmultiactive then call the method from js but i have "This is not your turn" message.
Thanks