Triggering the Death Menu

From Dark Wiki

Jump to: navigation, search

originally written by Ishtvan (original Forum Post: http://modetwo.net/darkmod/index.php?showtopic=3764)

To instantly trigger the menu that comes up when you die, this command is used:

gameLocal.sessioncommand("died")

In multiplayer, I believe you have to use this:

player->forceRespawn = true;

Because the server handles respawns or something, not the local game.

Personal tools