Starfield Mod:Script-Debug
From Starfield Wiki
Provides methods useful for debugging and diagnostics purposes.
Scripts and functions flagged with DebugOnly will do nothing on release or console builds.
The functionality of a game content should not depend on the use of debug only functions.
Definition[edit]
The script header definition.
ScriptName Debug Native DebugOnly Hidden
Members[edit]
The members that belong to this script.
- Function AutomatedTestLogDebug(string asMessage)
- Function AutomatedTestLogError(string asMessage)
- Function AutomatedTestLogProgress(string asMessage)
- Function CenterOnCell(string asCellname)
- float Function CenterOnCellAndWait(string asCellname)
- float Function PlayerMoveToAndWait(string asDestRef)
- Function CloseUserLog(string asLogName)
- Function DumpAliasData(Quest akQuest)
- Function DumpEventRegistrations(ScriptObject akScript)
- Function EnableAI(bool abEnable = true)
- Function EnableCollisions(bool abEnable = true)
- Function EnableDetection(bool abEnable = true)
- Function EnableMenus(bool abEnable = true)
- Function ExecuteConsole(string aCommand)
- string Function GetConfigName()
- string Function GetPlatformName()
- string Function GetVersionNumber()
- Function MessageBox(string asMessageBoxText)
- Function Notification(string asNotificationText)
- bool Function OpenUserLog(string asLogName)
- Function QuitGame()
- Function SetGodMode(bool abGodMode)
- Function StartScriptProfiling(string asScriptName)
- Function StartStackProfiling()
- Function StartStackRootProfiling(string asScriptName, ScriptObject akObj = none)
- Function StopScriptProfiling(string asScriptName)
- Function StopStackProfiling()
- Function StopStackRootProfiling(string asScriptName, ScriptObject akObj = none)
- Function Trace(string asTextToPrint, int aiSeverity = 0)
- Function TraceFunction(string asTextToPrint = "Tracing function on request", int aiSeverity = 0)
- Function TraceStack(string asTextToPrint = "Tracing stack on request", int aiSeverity = 0)
- bool Function TraceUser(string asUserLog, string asTextToPrint, int aiSeverity = 0)
- Function TraceConditionalGlobal(string TextToPrint, GlobalVariable ShowTrace)
- Function TraceConditional(string TextToPrint, bool ShowTrace, int Severity = 0)
- Function TraceAndBox(string asTextToPrint, int aiSeverity = 0)
- Function TraceSelf(ScriptObject CallingScript, string FunctionName, string StringToTrace)
- bool Function TraceLog(ScriptObject CallingObject, string asTextToPrint, string logName, string SubLogName = "", int aiSeverity = 0, bool bShowNormalTrace = false, bool bShowWarning = false, bool bPrefixTraceWithLogNames = false, bool bPrefixTracesWithCallingObject = true)
- Function ShowRefPosition(ObjectReference arRef)
- Function DBSendPlayerPosition()