Page 1 of 1
Make AI Love You!
Posted: Mon Nov 05, 2007 5:20 am
by Mo|)_M4n
How can I make it so that AI are on your team? I tried making then 1\ Player instead of 2\ Human or 3\ Convenent, (Team in Encounters) but they stand there, not doing anything...
Posted: Mon Nov 05, 2007 6:04 am
by MasterNeoChief
Set up AI in sapien, make the team human, and add a script that says (ai_allegiance player human).
Posted: Mon Nov 05, 2007 10:19 am
by Patrickssj6
Team Human? Only for SP right?
In MP:
Team Index 0 - Red Team
Team Index 1 - Blue Team
and if you hack the rest...it's fun online

Posted: Mon Nov 05, 2007 12:44 pm
by Mo|)_M4n
I'm doing MP, so use Patrick's?
If so, more information!
Posted: Mon Nov 05, 2007 4:08 pm
by Andrew_b
Code: Select all
(script startup aiteam
(player_allegiance "player, human")
)
That makes the player and human be on your side.
If you want to fight on a side that you can switch (by going to red team or blue team.
Use the 0 default by team index for red, and 1 for blue.
Posted: Tue Nov 06, 2007 4:37 am
by Mo|)_M4n
Thanks!
It works!