Aller au contenu

Photo

Script bugs - whut?


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

#1
Who said that I

Who said that I
  • Members
  • 492 messages

Okay here is another issue I seem to be having: 

 

I created some scripts and used them in a conversation. Learning that they did not work as I wanted them to work I simply deleted them.

 

So here is the issue: 

 

Now a quest gives my character its faction rep BEFORE I actually finish the quest and on death the mrespawn option does NOT pop up....

 

anyone know how to fix this?



#2
Terrorble

Terrorble
  • Members
  • 194 messages

In the toolset under Edit|Module Properties|Events tab|OnPlayerDeath it shows the script that runs when a player dies.  It should have something like this to make the respawn screen appear:

 

DelayCommand(2.5, PopUpGUIPanel(oPlayer,GUI_PANEL_PLAYER_DEATH));

 

If it is popping up but without the respawn option, then the code probably says this:

 

DelayCommand(2.5, PopUpGUIPanel(oPlayer,GUI_PANEL_PLAYER_DEATH, FALSE));

 

The FALSE is telling it to not have the respawn option available.

 

 

 

If the quest updates the faction rep before you want it to then something is causing that.  It might be a script attached to a conversation node that you think is gone but isn't.  Beyond that, I can only guess.  I have quests that update from triggers, when you acquire something, when you disturb something, when you defeat something, when you choose a conversation option, when you destroy something, etc.  



#3
Who said that I

Who said that I
  • Members
  • 492 messages

thank you! And I found the issue here, I accidentally added a line to one of the scripts for the questnodes that gave additional Rep points.....sometimes I feel so foolish XD

 

And the popup did not show cause I was stupid enough to remove the on-death script in the module, so it basically did not know what to do................. *epic facepalm*