Home   Help Search Login Register  

Author Topic: flag activated kill zone  (Read 1117 times)

0 Members and 1 Guest are viewing this topic.

Ryote

  • Guest
flag activated kill zone
« on: 24 Nov 2004, 00:13:36 »
can anyone tell me is there a way to make an area a kill zone activated to a side by whoever holds a particular flag

ie if west hold flag5 then if east enter trigger area east die

i'd like to get this to work in 1.46

many thx for any help
« Last Edit: 24 Nov 2004, 00:14:34 by Ryote »

Offline Platoon Patton

  • Members
  • *
  • "Barbecue" CreateVehicle getpos LLama
Re:flag activated kill zone
« Reply #1 on: 26 Nov 2004, 23:59:48 »
U could use the Public Variable Flagstat.

Put Flag5stat = 0 in init.(Flag is neutral)
If West owns Flag5:Flag5stat = 1 ; if East owns:Flag5stat = 2

In your trigger:
Cond:side player ==east and Flag5stat ==1
Act:player setdammage 1

This is an unofficial idea,use at own risk  :P
http://www.platoon-clan.com/ We always wellcome dedicated OFP players :)

http://www.european-combat-league.com/index.php To play with us in the best OFP league ;)