turn off friendly fire

turn off friendly fire

« posted: Aug 24, 2022, 12:09 PM »
Does anyone know how to turn off friendly fire
  • Online LeonZ
  • github.com/LeonZ2019/Lucky-s-Wasteland-Server
  • First Blood
  • ***
  • Posts: 53

Re: turn off friendly fire

« Reply #1 posted: Aug 26, 2022, 05:57 AM »
on the handle damage event, you put the condition if same side then return damage value as 0
LeonZ#1848 on Discord

Re: turn off friendly fire

« Reply #2 posted: Aug 28, 2022, 02:33 AM »
Could you include a bit more information please?
  • Online LeonZ
  • github.com/LeonZ2019/Lucky-s-Wasteland-Server
  • First Blood
  • ***
  • Posts: 53

Re: turn off friendly fire

« Reply #3 posted: Aug 28, 2022, 07:17 PM »
Maybe edit this file https://github.com/A3Wasteland/ArmA3_Wasteland.Altis/blob/dev/client/functions/unitHandleDamage.sqf and check if same side then return damage as 0
LeonZ#1848 on Discord

Re: turn off friendly fire

« Reply #4 posted: Aug 29, 2022, 10:23 AM »
Still no good:(
  • Online LeonZ
  • github.com/LeonZ2019/Lucky-s-Wasteland-Server
  • First Blood
  • ***
  • Posts: 53

Re: turn off friendly fire

« Reply #5 posted: Aug 29, 2022, 08:30 PM »
you need code it in order to get it work, at least have some basic on sqf and the arma wiki
LeonZ#1848 on Discord