Scripted Effect

limit_variable_to_max

If
var:$name$ > value
ThenSet variable
  • Name: name
  • Value: value
Exact script

Script that calls it fills these in, as each caller in Connections shows.

  • $name$
  • $value$

No links to other concepts.

if = {
limit = {
var:$name$ > $value$
}
set_variable = {
name = $name$
value = $value$
}
}

© 2026 Soft Santa Cruz, S.L.U. All rights reserved. Unofficial fan project, not affiliated with Paradox Interactive. Game content © Paradox Interactive. · About · Privacy · Legal notice