Units Spawn with No Command Post [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
Fierfek
High General
High General
Posts: 805
Joined: Wed Jul 01, 2009 4:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Somewhere in the Galaxy (Most Likely Scrapping Tinnies)

Units Spawn with No Command Post [Solved]

Post by Fierfek »

Okay, I have a local side. At the beginning of the map, I use "killobject" to destroy their command post. It is respawned later. But even after it is killed, they are spawning. Why is this, and how do I fix it?
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

Re: Units Spawn with No Command Post

Post by Xavious »

AllowAISpawn(TeamName, True/False)
User avatar
Fierfek
High General
High General
Posts: 805
Joined: Wed Jul 01, 2009 4:38 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Somewhere in the Galaxy (Most Likely Scrapping Tinnies)

Re: Units Spawn with No Command Post

Post by Fierfek »

Xavious wrote:AllowAISpawn(TeamName, True/False)
THANK YOU!!
Wow, that was simple. Thanks a ton, Xav.
Post Reply