Jump to content

CK and conditions


Recommended Posts

If there are 3 parenthesis, then you use groups of 3 "OR combinations".

 

 

To properly check whether ((A AND B) OR (C AND D) OR (E AND F)) is true, one would use:

A OR C OR E AND A OR C OR F AND A OR D OR E AND A OR D OR F AND B OR C OR E AND B OR C OR F AND B OR D OR E AND B OR D OR F

 

A OR C OR E, and,

A OR C OR F, and,

 

A OR D OR E, and,

A OR D OR F, and,

 

B OR C OR E, and,

B OR C OR F, and,

 

B OR D OR E, and,

B OR D OR F, and,

Link to comment
Share on other sites

Quote: Depends, that would be 200% rather than measly 100%. Some things like "logical considerations and refinement" should be applied.

 

Still, to me it's like driving by the next town to go to my neighbor house. But if we have to do it, we have to.

Link to comment
Share on other sites

Regarding the example of interest, does GetIsId run on a single variable like Companion etc., as i assumed? If not, then will be problem or an interesting side effect, depends on how to look.

Edited by hereami
Link to comment
Share on other sites

I'm not sure what you mean but here is what I found:

 

GetIsID:
This function takes a form as its parameter, and returns 1 if the run-on reference's base form is the same form, or 0 otherwise. If the run-on reference is a leveled actor, then this function compares its parameter to the ActorBase that was selected for spawn, rather than to the LeveledActor form.
If the parameter isn't a valid base form (the Creation Kit lets you specify several forms that aren't), then this function exits early, returning 0.
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...