Jump to content

Recommended Posts

Posted

Hope this is in the right forum...

 

I'll keep this as concise as I can: I'm using the debug.trace() function in a script I'm working on; it's supposed to be a conditional statement based on the stage of a quest (so it also uses the getstage() function). I've looked up the integer I want using the Quest Data in the CK and put that in as a property in one of the instances of the script. Unfortunately, though my character meets the requirements, the event which is triggered upon not meeting the requirement happens instead. With this in mind, I decided to add debug.trace() functions to both the true and false events to see exactly which stage the game thought I was at.

 

I defined the stage my character was currently at with [QuestCurrentStage == QuestReq.GetValue()] with QuestCurrentStage being an internally defined integer and QuestReq being a Quest Property, then put [debug.trace(QuestCurrentStage)] at the end of the script. Unfortunately, I cannot find the integer in the papyrus log. I'm looking at the logs created in the same area as 'Skyrim.ini' so I'm certain it's the right place, just the debug functions aren't appearing.

 

Does debug.trace() send this data to a log in a different folder or does it send it as data which needs interpreting. In order to help myself I also added a line [debug.trace("Find me as a reference!")] but that didn't appear either. It's rather frustrating when testing the condition since I know which stage I'm at in the quest but the game seems to think I'm slightly behind.

 

If anyone knows anything I can do then I'd be grateful; it's the first time I've really had to use the debug functions.

 

Cheers,

YourUnequal

Posted

UPDATE: Problem solved. Wasn't anything to do with the quest stage at all; equals signs gave me the old 'one-two'...

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...