does anyone have a clearer idea of the use of <BoolVal1> tag?
just checking, i'm trying to figure out some interactivity of the data/ button use. Several use once items and several quests and city level up unlock functions use this tag.
just checking, i'm trying to figure out some interactivity of the data/ button use. Several use once items and several quests and city level up unlock functions use this tag.
seems like a short form for Boolean Value 1 i came across a few myself they usually switch some side effect on or off
<ModType>City</ModType>
<Attribute>UnlockImprovement</Attribute>
<BoolVal1>1</BoolVal1>
<StrVal>Conclave</StrVal>
In this example consider the BoolVal1 as an if statement so the test here is:
if {City} has unlocked {Conclave} = true then [Prereq = ok]
if BoolVal1 had been =0 then it would have checked for:
if {City} has unlocked {Conclave} = false then [Prereq = ok]
at least that's what my programming experience would tell me
Thank you very much that's exactly what i wanted to know.
So could this be used to test to see if a player had a certain race, and if so, launch a quest that would give them an opportunity to hire a specific champion?
I don't think so, afaik you can only use things as they are ( copy & paste pretty much ) and can not mix and match. The BoolVal1 tag was with CityHubs and I doubt they work with units as targets. (though there may be other places I didn't find)
I would think you could still do what you are asking about in the quest builder, but I've never looked at that tool.
Welcome Guest! Please take the time to register with us.