Team 3 Question [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
DarthAphotic
Private First Class
Posts: 75
Joined: Wed Nov 21, 2012 12:09 pm
Projects :: Malachor V
Games I'm Playing :: SWBFII
xbox live or psn: Playstation 3
Location: Yavin
Contact:

Team 3 Question [Solved]

Post by DarthAphotic »

This may have already been discussed but I didn't find anything, but is it possible for ONLY Team 3 AI to spawn, and Team 1 & 2 AI don't spawn?
Last edited by DarthAphotic on Mon Aug 12, 2013 12:46 am, edited 1 time in total.
razac920
2nd Lieutenant
2nd Lieutenant
Posts: 365
Joined: Sun Jan 16, 2011 12:42 am

Re: Team 3 Question

Post by razac920 »

Use the function AllowAISpawn(team, boolean). In your case, you want to add 3 lines to your LUA:
AllowAISpawn(1, false)
AllowAISpawn(2, false)
AllowAISpawn(3, true)
User avatar
DarthAphotic
Private First Class
Posts: 75
Joined: Wed Nov 21, 2012 12:09 pm
Projects :: Malachor V
Games I'm Playing :: SWBFII
xbox live or psn: Playstation 3
Location: Yavin
Contact:

Re: Team 3 Question

Post by DarthAphotic »

Thanks So Much :D
Post Reply