Difference between revisions of "Template:INI:Papyrus:iMaxStackDepth"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Qazaaq
(Created page with "<onlyinclude> == iMaxStackDepth == * '''Default:''' <Code>100</Code> This is the maximum stack depth the VM will allow before forcibly killing function calls on that stack. T...")
 
imported>Qazaaq
 

Latest revision as of 12:31, 30 August 2019

iMaxStackDepth[edit source]

  • Default: 100

This is the maximum stack depth the VM will allow before forcibly killing function calls on that stack. This mainly helps with killing any potential infinite recursion. If you find yourself hitting this, consider using loops over recursion. Increasing this value may increase stack memory pressure, while decreasing this may forcibly kill valid scripts.