Table of Contents

Method PopUpDeathPanel

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

PopUpDeathPanel(bool, bool, int, string)

Displays a death panel that can turn off the "Respawn" or "Wait for Help" buttons.
The "Wait for Help" button is only enabled when the game is running in multiplayer mode.
By default if helpString isn't specified, the value used is "Choose an option below.
Respawning will incur a penalty of 50 XP per level of your character and the loss of 10% of your gold."
(strref 66219 single player, 6600 for multiplayer).

public void PopUpDeathPanel(bool respawnButton = true, bool waitForHelp = true, int helpStringRef = 0, string helpString = "")

Parameters

respawnButton bool

If true the "Respawn" button will be enabled.

waitForHelp bool

If true the "Wait For Help" button will be enabled.

helpStringRef int

String reference to display for hel.

helpString string

String to display for help which appears in the top of the panel.