Im trying to add a custom death screen to my server as shown here: http://opendayz.net/threads/death-screen-and-sound.18718/
However. When i die i get this error in the console:
In my custom compile.sqf:
player_death = compile preprocessFileLineNumbers "custom\player_death.sqf";
This gives the error, allthough i do not edit server_playerdied.sqf
player_death = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_death.sqf";
This works, however no death screen now :(
Custom player_death.sqf copied directly from dayz epoch github: https://github.com/vbawol/DayZ-Epoch/blob/master/SQF/dayz_code/compile/player_death.sqf
Soo this is the code i have (copied from my file)
My server_playerDied.sqf: http://pastebin.com/fCzSkYJv
Directly from the denizio linux epoch installer:
Soooo as far as i know, all my files are normal and the _playerID should exist.
Im not really sure how the death event works, as in what is called first. I tried logging the id in the server_playerDied.sqf, which just brought the error to that line. I tried logging the playerid in player_death.sqf file, but the log never showed up (presumably because of the error cancellign it.
HOWEVER, the deathscreen shows up when i add it. Its jsut that i dont respawn fresh. Instead i respawn with my gear at my body...
If you need any more files shown, just ask!
I really want this death screen :3