ShowUIScreen("SelectDeploy", "", "") ;
Posted: Sun May 15, 2016 7:34 pm
An odd behavior, or a misunderstanding:
1) During German turn X I show a UIScreen with two options: "from where do you want to receive the reinforcements? North or South?
2) German player then selects his preferred place, and the reinforcements appears in place.
3) German player then moves and fires with their new reinforcement units, finish the turn.
4) When allied loads his turn do not see the attacking German reinforcements, he finishes the turn.
5) When German loads his turn: his reinforcements units were gone.
The UIScreen has a SELECTDEPLOY.TXT and a SELECTDEPLOY.BSF files placed in the DATA/UI
The SELECTDEPLOY.BSF has a:
if( IsUIObject(id, "SDCenter") == 1 ) // Button for NORTH
CallFunctionInScript(GetUniversalVar("mainID"), "EnterArea",1);
----
The EnterArea(where) function Just call
germanReinforcements(where);, that places the units.
What's wrong?
1) During German turn X I show a UIScreen with two options: "from where do you want to receive the reinforcements? North or South?
2) German player then selects his preferred place, and the reinforcements appears in place.
3) German player then moves and fires with their new reinforcement units, finish the turn.
4) When allied loads his turn do not see the attacking German reinforcements, he finishes the turn.
5) When German loads his turn: his reinforcements units were gone.
The UIScreen has a SELECTDEPLOY.TXT and a SELECTDEPLOY.BSF files placed in the DATA/UI
The SELECTDEPLOY.BSF has a:
if( IsUIObject(id, "SDCenter") == 1 ) // Button for NORTH
CallFunctionInScript(GetUniversalVar("mainID"), "EnterArea",1);
----
The EnterArea(where) function Just call
germanReinforcements(where);, that places the units.
What's wrong?