• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Courageous

Sergeant
43 Badges
Jan 1, 2011
66
0
  • Crusader Kings II
  • Europa Universalis IV
  • Rome: Vae Victis
  • Crusader Kings III: Royal Edition
  • Cities: Skylines
  • Pillars of Eternity
  • Cities: Skylines - After Dark
  • Stellaris
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Knights of Honor
  • Age of Wonders III
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Sign Up
  • Age of Wonders: Planetfall - Revelations
  • Crusader Kings III
  • Supreme Ruler 2020
  • Victoria 2
  • Arsenal of Democracy
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Divine Wind
  • For The Glory
  • Stellaris: Apocalypse
  • Hearts of Iron III
  • Heir to the Throne
  • Stellaris: Synthetic Dawn
  • Lead and Gold
  • The Kings Crusade
  • Majesty 2
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Ship Simulator Extremes
  • Sword of the Stars
Hi.

I'm writing a rather complex event, and I'm looking for a control primitive which allows me to stop processing immediately. In programming speak, I'm looking for "return" or "exit". I cannot find an equivalent. "break' is close, but doesn't quite do what I need. I can build up the controls I need with set_ and check_ variables, but it's resulting in undesirably complex code.

I've read through all the docs, and just can't find what I'm looking for.

Does it exist?

Edit: answered through developer channels, the answer is "no," there is not such a primitive. I worked around this by setting a 0/1 value on the scope, and using a series of if statements.
 
Last edited: