OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Ryote 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
-
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