Advertisement
Guest User

Untitled

a guest
Dec 2nd, 2019
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. if (isServer) then{
  2. params ["_target"];
  3. _objects = _target nearEntities 15;
  4. _objects = _objects inAreaArray _thisTrigger;
  5. {
  6. if ((typeOf _x) != "EmptyDetector") then {
  7. [_x, _target] call BIS_fnc_attachToRelative;
  8. };
  9. } forEach _objects;
  10. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement