Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Suicide script by Grafzahl edited by axeman to allow coming back from the brink.
- //File name: suicide.sqf
- private ["_Secondary","_lostHope","_actSuicide"];
- _Secondary = currentWeapon player;
- _lostHope = time;
- r_interrupt = false;
- closeDialog 602;
- cutText [format["You think about your family... 10 Seconds (Move to cancel!)"], "PLAIN DOWN"];
- uiSleep 2;
- player playmove "ActsPercMstpSnonWpstDnon_suicide1B";
- _actSuicide = 1;
- while {alive player}do{
- if(r_interrupt)exitWith{
- player playMoveNow "AmovPercMstpSlowWrflDnon_AmovPsitMstpSlowWrflDnon";
- cutText [format["She wouldn't have wanted it to end this way.."], "PLAIN DOWN"];
- while{true}do{
- 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";};
- };
- };
- if(time - _lostHope > 2 && _actSuicide < 2)then{
- cutText [format["Your little daughter, and what happened to her... 6 Seconds"], "PLAIN DOWN"];
- _actSuicide = 2;
- };
- if(time - _lostHope > 6 && _actSuicide < 3)then{
- cutText [format["You cant take this shit any longer... 2 Seconds"], "PLAIN DOWN"];
- _actSuicide = 3;
- };
- if(time - _lostHope > 7 && _actSuicide <4)then{
- cutText [format["I come to you Sahra! Goodbye cruel world!"], "PLAIN DOWN"];
- _actSuicide = 4;
- };
- if(time - _lostHope > 9.2 && _actSuicide > 3)exitWith
- {
- player fire (currentWeapon player);
- [player,"shot"] call player_death;
- };
- uiSleep .1;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement