Advertisement
Guest User

Untitled

a guest
Oct 24th, 2014
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. if (!([_unit] call cse_fnc_isAwake)) then {
  2. _handle = [_unit,_vehicle] spawn {
  3. private ["_unit","_vehicle"];
  4. _unit = _this select 0;
  5. _vehicle = _this select 1;
  6. waituntil {vehicle _unit != _vehicle};
  7. [_unit,([_unit] call cse_fnc_getDeathAnim)] call cse_fnc_broadcastAnim;
  8. [format["Unit should move into death anim: %1", _unit]] call cse_fnc_Debug;
  9. _unit setDamage 1; // kill unit
  10. };
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement