Detecting axis

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
agentmad007
Brigadier General
Posts: 570
Joined: Tue Feb 24, 2004 3:52 pm

Detecting axis

Post 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
cardevsan
Corporal
Posts: 28
Joined: Wed May 19, 2004 9:06 pm

Post 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
}
agentmad007
Brigadier General
Posts: 570
Joined: Tue Feb 24, 2004 3:52 pm

Post by agentmad007 »

thanks , for a lib map breakthrough , should i write :

if (local.player.libteam == "allies")
{
.................
}
cardevsan
Corporal
Posts: 28
Joined: Wed May 19, 2004 9:06 pm

Post by cardevsan »

i know that is far mohaa not to sure about breakthrough

might be same as dm ????
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

dmteam

Post by tltrude »

Always use "dmteam".


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

Image
agentmad007
Brigadier General
Posts: 570
Joined: Tue Feb 24, 2004 3:52 pm

Post by agentmad007 »

ok thx i ll tru to script the rest myself :)
Post Reply