Stuck on logical operators

dorostheconqueror

First time out of the vault
Hey, I had a question. How exactly are logical operators interpreted in the GECK? Specifically, in the box for Perk conditions? Even more specifically, how does the box handle order of operations and bracketing?

I'm trying to mod some CQB perks to make them available to players who specialize in either melee OR unarmed. Take Slayer, for example. I'd want something like this for the conditions:

(MeleeWeapons >= 90 OR Unarmed >=90) AND Agility >=7

That would return true if the player met the Agility requirement and met the skill requirement in at least one CQB weapon skill, right? However, the way it's set up in the GECK menu, I have no idea what it's trying to do. The default setting:

GetPermanentActorValue Unarmed >= 90 AND
GetPermanentActorValue Agility >= 7 AND
Is a straightforward AND conditional. I get that. But what about when I start throwing in ORs? Should it be...

GetPermanentActorValue Unarmed >= 90 OR
GetPermanentActorValue MeleeWeapons >= 90 OR
GetPermanentActorValue Agility >= 7 AND

Or maybe...

GetPermanentActorValue Unarmed >= 90 OR
GetPermanentActorValue MeleeWeapons >= 90 AND
GetPermanentActorValue Agility >= 7 AND

How is this calculated? Where and when exactly are these ANDs and ORs being evaluated? Or, here's another example, just for illustrative purposes, to help me get this straight. Let's say I wanted to make a perk that was available to a character who was both male and gay, or female and, uh, well traveled. Something like

(Male AND ConfirmedBachelor) OR (Female AND BlackWidow)

How would I set this up in the box?
 
Back
Top