Hey guys, I'm trying to make a script that adds an action to all NATO Support boxes that will lower the hostility of the sector by x amount where that support box is at. Each support box should run the:
'[position, sides, value] call ALIVE_fnc_updateSectorHostility; ' code at the support boxes position, and after performing the action on that support box, I'd like the option to disappear for THAT box only. For instance, if I have a convoy deliver three NATO support boxes, I would like to be able to click each box once and for the action to disappear, updating the hostility per support box.
Any help would be very much appreciated, I'm literally clueless when it comes to scripting.