[Release] Headshot Suicide

Nice. But I think you should add a "minimal days alive" to have this option.
I mean: If I spawn in a bad location I want to kill myself. If I have this option in my server, I'd have a flood on the chat by people dieing.
It could be nice if you are, at least, 1 day alive.
Also, people could accidently press that option while trying to select another action.

Code:
if((speed player <= 1) && hasSecondary && _canDo &&) then {
I don't know which variable it is for days survived, but if adding it at this line, would be done.
 
bit more testing if you do die spawn in and disconnect and come back on body has duped
tried it on reality hive... death is death, tried on pwnoz0r, sometimes dead, sometimes duped... have tried a lot of codes to set the body to death, but pwnoz0r doesnt save it to the db.
 
cant get this to work,

Ive also got custom debug monitor + self bloodbag + remove vehicle parts in fn_selfactions.sqf
 
yep it works, made a noob mistake.

while holding the main weapon, it doesnt show in the menu.
soon as you switch to sidearm, 'commit suicide' appears in the menu.
 
I saw mmmyum messing with this animation a while back when we were working on the Zetaborn AI for InvasionZ, and i had the idea to turn this into a "Play Russian Roulette" script that ties into the Credit system in InvasionZ, and you can literally gamble with another player for your life and loot. We will be adding that in a later version of InvasionZ and releasing it here unless someone beats us to the punch ;). *Edit* Writing this down gave me the idea to add casinos into InvasionZ with slot machines, Black Jack, Poker... Zombie fights? Arena Mode gambling? *EDIT* Writing down that new Idea gave me the idea to capture zombies (with right tool/level) and train them to fight in the Zombie Arena!
 
ive had a bash but dont seem to get it to work :(
Nothing seems to be showing up and done everything i know , made the file to the root directory and added the block in the self_actions file but still nothing.
 
This might be more interesting, if not annoying, if you could make the player say it, say, in direct chat or global chat or something xD.
 
Post your added code if you would. I'm sure others would love to use it.
I was about to edit the post to say it is with a weird bugged.
I just tested it and the when the player starts to do the animation the bullet is fired before the 8.4 seconds (sleep)... So weird.
I'll post it as soon as I get it working.
 
I was about to edit the post to say it is with a weird bugged.
I just tested it and the when the player starts to do the animation the bullet is fired before the 8.4 seconds (sleep)... So weird.
I'll post it as soon as I get it working.

Many thanks from all the fine people that make up this community :p
 
Back
Top