Hidden/Spoiler:
Dual Conquest Campaign Objecive [SOLVED]
Moderator: Moderators
- wishihadaname
- Captain

- Posts: 493
- Joined: Fri Dec 28, 2007 2:10 pm
- Projects :: The Corellian Resistance
- Location: Look to your left.... no, your other left....
Dual Conquest Campaign Objecive [SOLVED]
I looked through the assets but I could not find any examples of scripts that involve taking two command posts in one objective. I was wondering if this is possible to script. The way I tried it I got an indexing error the prevented campaign mode from initializing. I think I either need and "and" function or my conventions are wrong. Could someone please look this bit of script over and tell me how to correct it?
Last edited by wishihadaname on Fri Aug 05, 2011 3:25 pm, edited 1 time in total.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Dual Conquest Campaign Objecive
im pretty sure you cannot make an objective for capturing two commandposts with the stock functions. i guess you have to make a a custom bojective for that. (please correct me if im wrong)
- Unlucky13
- Sergeant Major

- Posts: 239
- Joined: Mon Jan 24, 2011 11:11 am
- Projects :: Models models models
Re: Dual Conquest Campaign Objecive
The stock Kashyyk campaign had you capture three different command posts in one objective, you could look in that script.
- wishihadaname
- Captain

- Posts: 493
- Joined: Fri Dec 28, 2007 2:10 pm
- Projects :: The Corellian Resistance
- Location: Look to your left.... no, your other left....
Re: Dual Conquest Campaign Objecive [Solved]
The Kashyyyk mission script has the objective set up exactly the same way I do except for without the AIGoalWeight=0 line after the various popup texts. Here it is for reference.
I cleaned out a few more typos that may have had something to do with the problem, will re-enable the dual command posts and see what happens.
-edit-
Ok so it seems to be that the rule for multiple CP's is to have them indexed in ascending order and to have the lines of code defining them all be the same length. Here is what I changed my code to and it works now. (the typos I fixed were not related to cp's so I don't think they had anything to do with this.)
Hidden/Spoiler:
-edit-
Ok so it seems to be that the rule for multiple CP's is to have them indexed in ascending order and to have the lines of code defining them all be the same length. Here is what I changed my code to and it works now. (the typos I fixed were not related to cp's so I don't think they had anything to do with this.)
Hidden/Spoiler:
