Page 1 of 1

Can I have human players in my bot map weaponless on allies?

Posted: Mon Jan 12, 2004 6:11 am
by small_sumo
Can I have human players in my bot map weaponless on allies? And how would I do that.

Also If I use triggers can I have the trigger work only for one team, this is all while in a bot enviornment. I am thinking a trigger setthread ......... and the thread says no weapon 4 u pal.

Summin like that.

:)

Future work might include triggers for a particular team even clipping off a team from an area so answers to that might be nice.

Thanks so much .map team.

:)

Posted: Tue Jan 13, 2004 12:33 pm
by mohaa_rox
maybe try:

if($player.dmteam == "allies")
{
$player takeall
}

i dunno, but maybe a trigger would be ok....

check_team: //a setthread
local.areuallied = parm.other
if(local.areuallied.dmteam == "allies") //see if the trigger is allied
{
local.areuallied takeall
}

Posted: Tue Jan 13, 2004 1:50 pm
by bdbodger
The only thing is there are more that one $player you will have to cheak each one .

(local.i=1;local.i <= $player.size;local.i++)
if ($player[local.i].dmteam == "allies")

etc etc

Posted: Wed Jan 14, 2004 1:40 am
by small_sumo
Well thats a start, thanks guys. If anyone else has a suggestion please type in a note. Thanks.