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

Please use this forum to ask all your MoHAA Bots questions / discussions

Moderator: Moderators

Post Reply
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

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

Post 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.

:)
Image

www.smallsumo.tk

Yeah Truth above Honor Man ;)
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post 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
}
Live to map, not map to live.
-mohaa_rox, .map
moderator
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post 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
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

Post by small_sumo »

Well thats a start, thanks guys. If anyone else has a suggestion please type in a note. Thanks.
Image

www.smallsumo.tk

Yeah Truth above Honor Man ;)
Post Reply