1 2 3 4 5 6 7
Private["_ID"]; _ID = RESISTANCEID; if (_this == east) then {_ID = EASTID}; if (_this == west) then {_ID = WESTID}; _ID