This is happening only for the first turn!!! After the transition from state 1 to state 2... in the subsequent turn the notification is triggered.
Why ?
Why ?
Post by RicardoRix »
Post by RicardoRix »
Code: Select all
1 => array(
"name" => "gameSetup",
"description" => clienttranslate("Game setup"),
"descriptionmyturn" => clienttranslate("Game setup"),
"type" => "manager",
"action" => "stGameSetup",
"transitions" => array( "StartGame" => 2 )
),
2 => array(
"name" => "PlaceFruit",
"description" => clienttranslate("Rolling the dice"),
"descriptionmyturn" => clienttranslate("Rolling the dice"),
"type" => "game", //"multipleactiveplayer",
"action" => "stPlaceFruit",
//"args" => "argPlaceFruit",
//"possibleactions" => array( "PlaceFruitDone"),
"updateGameProgression" => true,
"transitions" => array( "PlayersTurn" => 3 )
),
3 => array(
"name" => "Playacard",
"description" => clienttranslate("Wait other players to play their cards"),
"descriptionmyturn" => clienttranslate("Play one card"),
"type" => "multipleactiveplayer",
"action" => "stPlayacard",
"updateGameProgression" => true,
"possibleactions" => array( 'Playacard' ),
"transitions" => array( "Applyaction" => 4 )
),
Post by RicardoRix »
Post by Victoria_La »