Advertisement
Guest User

Untitled

a guest
Apr 28th, 2017
405
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. //Suicide script by Grafzahl edited by axeman to allow coming back from the brink.
  2. //File name: suicide.sqf
  3. private ["_Secondary","_lostHope","_actSuicide"];
  4. _Secondary = currentWeapon player;
  5. _lostHope = time;
  6. r_interrupt = false;
  7. closeDialog 602;
  8. cutText [format["You think about your family... 10 Seconds (Move to cancel!)"], "PLAIN DOWN"];
  9. uiSleep 2;
  10. player playmove "ActsPercMstpSnonWpstDnon_suicide1B";
  11. _actSuicide = 1;
  12.  
  13. while {alive player}do{
  14. if(r_interrupt)exitWith{
  15. player playMoveNow "AmovPercMstpSlowWrflDnon_AmovPsitMstpSlowWrflDnon";
  16. cutText [format["She wouldn't have wanted it to end this way.."], "PLAIN DOWN"];
  17.  
  18. while{true}do{
  19. if(!((animationState player) in ["AmovPercMstpSlowWrflDnon_AmovPsitMstpSlowWrflDnon"]) && (alive player))exitWith{uiSleep 1;player switchmove "";uiSleep 1;PVDZ_plr_Save = [player,[],true,true];publicVariableServer "PVDZ_plr_Save";};
  20. };
  21. };
  22.  
  23. if(time - _lostHope > 2 && _actSuicide < 2)then{
  24. cutText [format["Your little daughter, and what happened to her... 6 Seconds"], "PLAIN DOWN"];
  25. _actSuicide = 2;
  26. };
  27. if(time - _lostHope > 6 && _actSuicide < 3)then{
  28. cutText [format["You cant take this shit any longer... 2 Seconds"], "PLAIN DOWN"];
  29. _actSuicide = 3;
  30. };
  31. if(time - _lostHope > 7 && _actSuicide <4)then{
  32. cutText [format["I come to you Sahra! Goodbye cruel world!"], "PLAIN DOWN"];
  33. _actSuicide = 4;
  34. };
  35. if(time - _lostHope > 9.2 && _actSuicide > 3)exitWith
  36. {
  37. player fire (currentWeapon player);
  38. [player,"shot"] call player_death;
  39. };
  40. uiSleep .1;
  41. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement