Skip to content
HOI4DOC

debug_math_expr

Details

Evaluates a math expression and writes the numeric result to the tooltip.

Always returns true and is intended for debugging scripts.

Parameters

  • Expression: Any supported math expression.

Example

debug_math_expr = { value = 120  add = 15  clamp = { min = 0  max = 100 } }

Source: Triggers Documentation

Name
Supported Scopes
Any
Supported Targets
any