nickaguns 10 Posted October 19, 2019 I've recently got into Arma 3 mission making, and with no scripting experience, I'm still slowly learning the ropes. I'm trying to do a mp mission where Independent must go around killing specific civilian units while Blufor hunts them down. My goal scripting wise is to have it where once Independent kills a certain civilian, a marker will show up for blu for with an approximate location of where the murder took place so they can go there and hopefully catch the independent. As well as I plan on having around 3 different people for independent to kill, so once independent kills another civilian I want the old marker to delete and the new one to appear. If anyone has the time to help I highly appreciate it! Share this post Link to post Share on other sites
wogz187 1085 Posted October 20, 2019 @nickaguns this addEventHandler ["Killed", { params ["_unit", "_killer", "_instigator", "_useEffects"]; deleteMarker "Victim"; createMarker ["Victim", position _unit]; "Victim" setMarkerShape "ELLIPSE"; "Victim" setMarkerSize [20, 20]; systemChat format ["%1", _instigator]; }]; I'm not sure about the details of your marker but if you add this EH to the civilian init properties it'll place a marker where they died and chat the killer's identity. Each time a unit with this EH is killed it will delete the previous marker and set a new one. Have fun! Same as callable function: Spoiler you_fnc_investigation= { _this addEventHandler ["Killed", { params ["_unit", "_killer", "_instigator", "_useEffects"]; deleteMarker "Victim"; createMarker ["Victim", position _unit]; "Victim" setMarkerShape "ELLIPSE"; "Victim" setMarkerSize [20, 20]; systemChat format ["%1", _instigator]; }]; }; //Call with unit name or forEach _grp civ1 call you_fnc_investigation; 1 Share this post Link to post Share on other sites