Team message

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
Alcoholic
General
Posts: 1470
Joined: Sat May 17, 2003 5:57 am
Location: California
Contact:

Team message

Post by Alcoholic »

In an OBJ map, how do I print a message to a specific team?
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

for(local.i = 1; local.i <= $player.size; local.i++)
{
local.player = $player[local.i]
if(local.player.dmteam == allies)
local.player iprint "HI fellow allies!"
}

for axis just change the .dmteam
Live to map, not map to live.
-mohaa_rox, .map
moderator
Post Reply