Aller au contenu

Photo

Delete respawn option


  • Veuillez vous connecter pour répondre
5 réponses à ce sujet

#1
Bassix

Bassix
  • Members
  • 33 messages
Hello, folks.
I've a problem. I'm trying to delete the respawn option, so you're only able to load the game when you die. Like in the source stone in the original campaign ;).  Does anyone know how to do this?

Cheers

#2
Lightfoot8

Lightfoot8
  • Members
  • 2 535 messages

// Spawn in the Death GUI.
// The default (as defined by BioWare) can be spawned in by PopUpGUIPanel, but
// if you want to turn off the "Respawn" or "Wait for Help" buttons, this is the
// function to use.
// - oPC
// - bRespawnButtonEnabled: if this is TRUE, the "Respawn" button will be enabled
//   on the Death GUI.
// - bWaitForHelpButtonEnabled: if this is TRUE, the "Wait For Help" button will
//   be enabled on the Death GUI (Note: This button will not appear in single player games).
// - nHelpStringReference
// - sHelpString
void PopUpDeathGUIPanel(object oPC, int bRespawnButtonEnabled=TRUE, int bWaitForHelpButtonEnabled=TRUE, int nHelpStringReference=0, string sHelpString="")



#3
Shadooow

Shadooow
  • Members
  • 4 469 messages
In other words, open script nw_o0_death in the script editor, then find the line 230 and replace it for this:

DelayCommand(2.5,PopUpDeathGUIPanel(oPlayer,FALSE,FALSE));

then save and thats it

Modifié par ShaDoOoW, 05 septembre 2010 - 02:46 .


#4
Bassix

Bassix
  • Members
  • 33 messages
Great, thanks!

#5
Grymlorde

Grymlorde
  • Members
  • 223 messages
And remember to save the script with a new name.

#6
Grymlorde

Grymlorde
  • Members
  • 223 messages
And remember to save the new script with a new name.