Sorry for diggin up this old stuff but i confused. Im tryin to create trigger in wich if player will open fire Independent become from friends to a hostile.
So i put in init of player: this addEventHandler ["Fired", { if (this inArea CheckFireTrigger) then {ShootingInVillage=true}} ];
And in trigger (CheckFireTrigger) condition: ShootingInVillage && (player in thislist)
On Activation: west setFriend [resistance, 0];
resistance setFriend [west, 0];
But it doesnt work. So where i am wrong here?