StopScriptProfiling - Debug

From the Fallout4 CreationKit Wiki
Revision as of 16:32, 1 December 2015 by imported>Plplecuyer
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Debug Script

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

Syntax[edit | edit source]

Function StopScriptProfiling(string asScriptName) native global debugOnly

Parameters[edit | edit source]

  • asScriptName: The name of the script to stop profiling.

Return Value[edit | edit source]

None.

Examples[edit | edit source]

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

Notes[edit | edit source]

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

See Also[edit | edit source]