• 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.
Showing developer posts only. Show all posts in this thread.

Groogy

Fossilized Platypus
140 Badges
Sep 4, 2009
5.423
17.253
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • For The Glory
  • Hearts of Iron III
  • Heir to the Throne
  • Rome: Vae Victis
  • Lead and Gold
  • The Kings Crusade
  • Magicka
  • Majesty 2
  • Ancient Space
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Rome Gold
  • Semper Fi
  • Ship Simulator Extremes
  • Sword of the Stars
  • Supreme Ruler 2020
  • Victoria 2: A House Divided
  • Crusader Kings II
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Charlemagne
  • East India Company Collection
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • Arsenal of Democracy
  • Europa Universalis IV: Art of War
  • A Game of Dwarves
  • Sengoku
  • Cities in Motion 2
  • Cities in Motion
  • Sword of the Stars II
  • March of the Eagles
  • Majesty 2 Collection
  • Hearts of Iron IV: No Step Back
  • King Arthur II
  • Europa Universalis III Complete
  • Impire
  • Hearts of Iron III: Their Finest Hour
  • For the Motherland
  • Europa Universalis IV: Call to arms event
The set_variable command is throwing up an error in the error log when -debugscripts is activated, however in game the script that is causing the error is fully functional, the variable is set and can be changed and checked perfectly well. This suggests the error is a potential false report.

[effect.cpp:7382]: Assert failed for 'set_variable': false

No it is working perfectly fine, the statement is literally doing nothing because the scope is invalid and thus asserting. If you show me the script I can probably even point out exactly what is wrong as well.