In The Hunt map when we pass a specific region, a trigger show the message to axis about "Allies" entering in perimter of objective.
Into a Team DeathMatch map is possible create this process using two triggers, to alert for each side (allied/axis) it the enemy team enter in perimeter ?
On/Off a lamp when the "enemy" enter in perimeter
Moderator: Moderators
- Axion
- Major General
- Posts: 683
- Joined: Mon Sep 29, 2003 5:14 am
- Location: Northern California
- Contact:
Just place a trigger multiple and give it the following key/value:
setthread - allied_perimeter
In your script, you would add this:
setthread - allied_perimeter
In your script, you would add this:
Code: Select all
allied_perimeter:
local.player = parm.other
if ( (local.player.dmteam != "axis") || (level.alliedperimeter_breached == 1) )
end
iprintlnbold "The Axis have breached the perimeter!"
level.alliedperimeter_breached = 1
end"The work of a thousand years is nothing but rubble."
- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9

- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9

Axion wrote:Just place a trigger multiple and give it the following key/value:
setthread - allied_perimeter
In your script, you would add this:
Code: Select all
allied_perimeter: local.player = parm.other if ( (local.player.dmteam != "axis") || (level.alliedperimeter_breached == 1) ) end iprintlnbold "The Axis have breached the perimeter!" level.alliedperimeter_breached = 1 end
Ok, but if per example i cant play a sound file, like alarm ???Axion wrote:Just place a trigger multiple and give it the following key/value:
setthread - allied_perimeter
In your script, you would add this:
Code: Select all
allied_perimeter: local.player = parm.other if ( (local.player.dmteam != "axis") || (level.alliedperimeter_breached == 1) ) end iprintlnbold "The Axis have breached the perimeter!" level.alliedperimeter_breached = 1 end
What is the operator to play sound (i know the loopsound)
-
agentmad007
- Brigadier General
- Posts: 570
- Joined: Tue Feb 24, 2004 3:52 pm