Page 1 of 1

IDS_LOC and MP Missions

Posted: Tue Oct 23, 2012 4:16 pm
by Old_Warrior
If scripted properly in BSF and Text1 files can locations be used on the maps? I noted that mine were now working in a MP mission I built.

Here is the BSF file:

include "Functions.BSF"
FUNCTION PreBattleSetup()
{
ShowTextMarker(1, 26, 24, "IDS_LOC_BRIDGE", 12, "FFFFFF", 1);
ShowTextMarker(1, 23, 22, "IDS_LOC_LA-MANOIR", 12, "FFFFFF", 1);
ShowTextMarker(1, 26, 28, "IDS_LOC_CAUSEWAY", 8, "FFFFFF", 1);
ShowTextMarker(1, 33, 46, "IDS_LOC_MEDERET", 8, "FFFFFF", 1);
}

Is the function FUNCTION DrawScenarioUI() required for on map text to show up?

Do I need to add in more sections in this script file to get this to work?

Re: IDS_LOC and MP Missions

Posted: Tue Oct 23, 2012 5:14 pm
by pipfromslitherine
Text markers work independently of the DrawScenarioUI function.

Note that PreBattleSetup is not a system function and so would need to be called at some point before you would see anything on the map.

Cheers

Pip

Re: IDS_LOC and MP Missions

Posted: Tue Oct 23, 2012 5:19 pm
by Old_Warrior
Ah yes, called here:

FUNCTION StartTurn(side)
{
if( GetTurn() == -1)
{
PreBattleSetup() ;
}

Thanks much!