User avatar
jastaV
AGEod Guard of Honor
Posts: 1159
Joined: Mon Apr 14, 2008 9:22 am

ChgObjective: question

Sat Nov 08, 2008 1:01 pm

We have many examples of ChgObjective Commands used to add news objectives during a scenario:

ChgObjective; $Berlin|10
ChgObjective; $Dresden|5

Suppose these ones will add Berlin and Dresden as Objectives to two factions.


F05; NULL; ChgObjective; $Berlin|10
C05; NULL; ChgObjective; $Dresden|5

Suppose these last two should add Berlin to FRA side Objectives list, while Dresden is added to COA side Objetives list.

How then to remove existing objectives from a list?

ChgObjective; $Berlin|0
Does this work for removing Berlin?

Thanks in advance for replying
Ney: The army will not move!
Napoleon: The army will obey me!
Ney: The army will obey to its Generals’ orders!

[SIZE="1"]Fontainebleau, April 1814[/size]

Lafrite
Posts: 847
Joined: Mon Nov 14, 2005 9:00 pm
Contact: Website

Sat Nov 08, 2008 1:21 pm

Yes, value 0 remove a objectif from the list

User avatar
jastaV
AGEod Guard of Honor
Posts: 1159
Joined: Mon Apr 14, 2008 9:22 am

Sat Nov 08, 2008 1:45 pm

Lafrite wrote:Yes, value 0 remove a objectif from the list


Good!

Thanks
Ney: The army will not move!

Napoleon: The army will obey me!

Ney: The army will obey to its Generals’ orders!



[SIZE="1"]Fontainebleau, April 1814[/size]

Return to “Modding AGE engine games”

Who is online

Users browsing this forum: No registered users and 5 guests