Page 1 of 1
CP just for humans
Posted: Tue Mar 30, 2010 9:00 am
by Executer94
I need a commandpost where just human players can spawn!
Is there a way to do that?
Re: CP just for humans
Posted: Tue Mar 30, 2010 9:18 am
by AgentSmith_#27
Well, I'm pretty sure there's a line you can add in your mission LUA to withhold ai spawns altogether, then through more LUA commands you can have them spawn when you want them to, you'd probably have to use the LUA to delete the cp you spawned at and spawn another cp, if you want to be the only one there. I don't know of any other way, sorry (but then again I'm a noob)
Re: CP just for humans
Posted: Tue Mar 30, 2010 9:18 am
by Teancum
You can probably just weight the CP to nothing to keep AI out of it. I've never tried it before though.
Re: CP just for humans
Posted: Wed Mar 31, 2010 9:03 am
by Executer94
So I need to search arround the luas and docs?
Re: CP just for humans
Posted: Wed Mar 31, 2010 9:17 am
by Teancum
No, weighting a CP is all done in that CP's ZeroEdit properties if I remember right. I've never had to do it myself. See the topic below from a few days ago:
http://www.gametoast.com/forums/viewtop ... 2&p=389521