Page 1 of 1
"own" cp
Posted: Fri Jul 31, 2009 10:12 am
by Executer94
Is it possible that only i can spawn at a cp and not the AI ?
I need this for my Geonosis Mission.
Re: "own" cp
Posted: Fri Jul 31, 2009 11:18 am
by Eggman
I'm not sure if it's possible to tell the AI not to spawn at a specific cp they own, but what I did for a similar situation was set up the teams so it was just the player on team 1, the enemy AI on team 2 as normal, and a local team 3 with all of the friendly AI. If by "Geonosis Mission" you mean a campaign/series of objectives type of mode, that setup should work fine for your needs. I can post the team setup section from my .lua if you need an example.
It might be worth your time to take a look at this function: "AllowAISpawn." I can't remember off the top of my head how it's set up, but I'm pretty sure that it allows you to control whether a certain team can spawn (although I don't think it can apply to a specific cp). If all you want to do is prevent the AI on your team from spawning in general, this would probably be the function you want.
Re: "own" cp
Posted: Fri Jul 31, 2009 11:21 am
by Executer94
that's a great idea
no problem i have the mission scripter
so i'am team 1 (no AI)
team 2 (enemy AI)
team3 (local friendly AI [clones])
Re: "own" cp
Posted: Fri Jul 31, 2009 11:24 am
by Eggman
Executer94 wrote:that's a great idea
no problem i have the mission scripter
so i'am team 1 (no AI)
team 2 (enemy AI)
team3 (local friendly AI [clones])
Exactly.
Re: "own" cp
Posted: Fri Jul 31, 2009 11:26 am
by Executer94
thank you