Background for Starfield
Member of the Debug script
voidfunctionStopScriptProfiling(stringasScriptName)NativeGlobal

Description

Wiki Description

Stops profiling a single Papyrus script. Child and parent scripts are not affected. If the script is not being profiled nothing will change.

Documentation Comment

Stop profiling a specific script - setting doesn't persist across saves
Will do nothing on release console builds, and if the Papyrus:bEnableProfiling ini setting is off


Caveats

CK Wiki - Notes

  • Profiling requires the "bEnableProfiling" flag in the "[Papyrus]" section of the ini file to be set to 1.

Parameters

  1. stringasScriptName

    CK Wiki Description

    The name of the script to stop profiling.


Examples

; Stops profiling "MySlowScript"
Debug.StopScriptProfiling("MySlowScript")

Auto-Generated Example

string myString__asScriptName

Debug.StopScriptProfiling(myString__asScriptName)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.