Guest User

Untitled

a guest
Dec 2nd, 2019
101
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (isServer) then{
  2. params ["_target", "_trigger"];
  3. _objects = _target nearEntities 15;
  4. _objects = _objects inAreaArray _trigger;
  5. {
  6. if ((typeOf _x) != "EmptyDetector") then {
  7. [_x, _target] call BIS_fnc_attachToRelative;
  8. };
  9. } forEach _objects;
  10. };
RAW Paste Data