7CavArma

Drop Item at Body

May 3rd, 2022 (edited)
469
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 0.30 KB | None | 0 0
  1. //Added to init field of unit to drop item when killed
  2. this addEventHandler ["Killed", {
  3.     params ["_unit", "_killer", "_instigator", "_useEffects"];
  4.     private _position = position _unit;
  5.     private _radius = 2;
  6.     private _trackingFob = createVehicle ["Land_PenBlack_F", _position, [], _radius, "NONE"];
  7. }];
  8.  
Add Comment
Please, Sign In to add comment