Yes.edward77 wrote:Is it possible to put up a message during the scenario for either side on any turn without using the reinforcement method?
Code: Select all
FUNCTION StartTurn(side)
{
if (GetTurn() == 0)
{
ShowUIScreen("BattlePop0", "Anim1", "IDS_SCN_BICOCCA_INTRO");
AddVizDelay(30);
}
if (GetTurn() == 2)
{
ShowUIScreen("BattlePop0", "Anim1", "IDS_SCN_BICOCCA_TURN2");
AddVizDelay(30);
}
if (GetTurn() == 4)
{
ShowUIScreen("BattlePop0", "Anim1", "IDS_SCN_BICOCCA_TURN4");
AddVizDelay(30);
}
if (GetShowSide() == GetCurrentSide())
condition
If so the AddVizDelay(30) needs to be outside that condition, otherwise there might be synch issues in MP.
e.g.
Code: Select all
if (GetTurn() == 2)
{
if (GetShowSide() == GetCurrentSide())
{
ShowUIScreen("BattlePop0", "Anim1", "IDS_SCN_BICOCCA_TURN2");
}
AddVizDelay(30);
}
So you put
ShowUIScreen("BattlePop0", "Anim1", "IDS_SCN_BICOCCA_TURN4");
in the code, but the string tag must be defined in the text1.txt file as
IDS_SCN_BICOCCA_TURN4_BP0TEXT, "The Venetians on our right are at last ready to advance.",