The $< means that the variable in question being referred to is a variable that is stored within a Window. In this case, it's the campaign selection window. The variable '$<.missionDesc' is one that is automatically created and updated to be the internal reference name of the current mission selected by the gamegod. In the case of mission description it usually gets formated like this
- #missions.story.S13.description
The game then reads this variable and because of the pound symbol '#' takes the string input, looks it up in english.dat, and then outputs the given result, which in this example would be 'Village of the Tanned' for the english game.
The variable is both created and stored within the Window class "Game::CampaignView" which is in turn defined directly by the game's source code. If you want to have a custom text displayed, simply use this line of code instead.
Code: Select all
CreateControl("MissionTitle", "Static")
{
Font("Debriefing");
Skin("Shell::CutInBorder");
Style("Transparent");
Geometry("ParentWidth", "HCentre", "Bottom");
Size(-162, 50);
Pos(0, -12);
ColorGroup("Shell::HeaderText");
Text("Your Text Here");
}
I may not make the best maps, or be the best player, but I put a lot of time, effort, and care into my stuff. That counts for something, right?
No.
"Can we order a pizza?"
GameRanger ID: 913974