• 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.

Corlis

First Lieutenant
74 Badges
Nov 30, 2013
201
23
  • Victoria 2: A House Divided
  • Europa Universalis IV: Third Rome
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Pre-order
  • Warlock 2: Wrath of the Nagas
  • Victoria 2: Heart of Darkness
  • Semper Fi
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Magicka
  • Hearts of Iron III Collection
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Europa Universalis IV: Call to arms event
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Conquest of Paradise
  • Darkest Hour
  • Europa Universalis IV: Art of War
  • Ancient Space
  • Hearts of Iron IV: Expansion Pass
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Imperator: Rome - Magna Graecia
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Imperator: Rome
  • Imperator: Rome Sign Up
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Europa Universalis 4: Emperor

Integrity​

I have verified my game files (on Steam)​

Yes

I have disabled all mods​

No

Required​

Summary​

Probably faulty/false positive [triggerimplementation.cpp:16808]: Script error! Script Object Token: "has_province_flag", Error: Trigger condition set on the wrong scope: Scope.GetProvince() error in errorlog

Description​

In our Mod (MEIOU and Taxes) we were using an explicit type of code, which I will describe in Steps to reproduce. It throws errors in the errorlog, that province flag is on the wrong scope (province scope). It doesnt make much sense to me. The code actually also works, therefore it feels like a false positive to me.

Steps to reproduce​

every_owned_province = { limit = { has_province_flag = Example }
## Some effect in between here
if = { limit = { has_province_flag = Test } }
## Some effect afterwards
}

A province in the targeted scope has all the necessary flags. the effects also all successfully work on the targetted province(s).
However the errorlog complains

Game Version​

1.37

OS​

Windows

Additional​

Bug Type​

  • Other

Attachments​



Screenshot​

image.png

 
  • 1Like
Reactions:
Upvote 0