hc_wolf
04-04-2012, 02:31 AM
Hi,
I am trying to call a list on screen of objectives completed.
Is there a way to call the cost string into a list?
const string Objective_P = " German Supply Tankers Survived,"; //BlueObjective3 Survived
const string Objective_Q = " English Supply Tankers Survived,"; //RedObjective4 Survived
const string Objective_R = " English Supply Tankers Destroyed,"; //BlueObjective5 Destroyed
string Objective_Total_Red = "";
string Objective_Total_Blue = "";
When an objective is completed I add the Objective to the String "string Objective_Total_Blue" like this
Objective_Total_Blue += (Objective_P);]
So when I want to display the accumulated list onscreen string " Objective_Total_Blue = ""; " How do I do it?
GamePlay.gpHUDLogCenter(new Player[] { player }, "Objective_Total_Red ("")": "Objective_Total_Blue("")", new object[] { Objective_Total_Red.ToString(), Objective_Total_Blue.ToString() });
I am trying to call a list on screen of objectives completed.
Is there a way to call the cost string into a list?
const string Objective_P = " German Supply Tankers Survived,"; //BlueObjective3 Survived
const string Objective_Q = " English Supply Tankers Survived,"; //RedObjective4 Survived
const string Objective_R = " English Supply Tankers Destroyed,"; //BlueObjective5 Destroyed
string Objective_Total_Red = "";
string Objective_Total_Blue = "";
When an objective is completed I add the Objective to the String "string Objective_Total_Blue" like this
Objective_Total_Blue += (Objective_P);]
So when I want to display the accumulated list onscreen string " Objective_Total_Blue = ""; " How do I do it?
GamePlay.gpHUDLogCenter(new Player[] { player }, "Objective_Total_Red ("")": "Objective_Total_Blue("")", new object[] { Objective_Total_Red.ToString(), Objective_Total_Blue.ToString() });