How do you disable the player respawn button in a module?
BishopB
Member Posts: 8
Hi, I was wondering how to disable the player respawn button (meaning death is permanent) in a module, or in specific areas of a module. (As is the case in the official campaigns). Thanks.
0
Comments
In the module OnPlayerDeath script, tweak the PopUpDeathGUIPanel parameters.
You can make it conditional - for example, by setting a local variable on the player when respawn is forbidden, clearing it when respawn is allowed.
Thanks, I'll give that a try.
I know there's a way to disable this item from working in certain areas, so if you could let me know how to do it, I'd appreciate it.
One way of disabling it in selected areas is to set a local integer there, then test for it in the module Item Activation code mentioned in the tutorial. There may be a built-in solution, too - I don't know.