Page 1 of 1

Command posts and factions

Posted: Sat Mar 11, 2006 1:54 pm
by froshthewookie
I have some command posts for my 3rd faction... Is there a way to change which faction controls them in the script? I want to keep them as the 3rd faction in my conquest mode, but would like them to be used for teams 1 & 2 in some other game modes?

Or would I just have to make a new layer with new CPs?

RE: Command posts and factions

Posted: Sat Mar 11, 2006 5:05 pm
by [RDH]Zerted
I believe CPs are objects and entities. If they are, you could use SetProperty( name or entity, property, value ). ex: SetProperty( "cp1", "Team", 3 )

Here is a game example: SetProperty ("Library_CP","Team", ATT)

RE: Command posts and factions

Posted: Sat Mar 11, 2006 5:54 pm
by froshthewookie
Thanks... I'm going to try that out...