Page 1 of 1

Detecting axis

Posted: Mon Jun 28, 2004 12:10 am
by agentmad007
Hello,

Hi wanted to know if whe can set up a trigger that is only usable by axis player.

Indeed , i want to activate a ring bell, and close some issue , when axis reach a room, and if allied come in , nothing have to happen.

I know that i have to put a trigger_multiple at the door , with a setthread , but it miss me the script, if by luck , is it possible!LOL

Thx if anyone Know how to do ! :D

Posted: Mon Jun 28, 2004 1:17 am
by cardevsan
here is the command for allies just change it to axis for axis

if (local.player.dmteam == "allies")
{
do whatever inside of here
}

Posted: Mon Jun 28, 2004 1:28 am
by agentmad007
thanks , for a lib map breakthrough , should i write :

if (local.player.libteam == "allies")
{
.................
}

Posted: Mon Jun 28, 2004 1:37 am
by cardevsan
i know that is far mohaa not to sure about breakthrough

might be same as dm ????

dmteam

Posted: Mon Jun 28, 2004 5:08 pm
by tltrude
Always use "dmteam".


local.player = parm.other
if (local.player.dmteam == "axis")
{
do whatever inside of here
}

Posted: Mon Jun 28, 2004 11:36 pm
by agentmad007
ok thx i ll tru to script the rest myself :)