F4llfield Posted March 14, 2023 Author Share Posted March 14, 2023 Quote: "Note that it uses all OR "combinations" from each letter of the first parenthesis, with the letters of the second parenthesis." That's a clear way to see it. Thanks! Link to comment Share on other sites More sharing options...
DieFeM Posted March 14, 2023 Share Posted March 14, 2023 No problem I'm glad makes it clear for you. Link to comment Share on other sites More sharing options...
F4llfield Posted March 14, 2023 Author Share Posted March 14, 2023 So (A and B) or (C and D) or (E and F) would be: A OR C, and,A OR D, and,A OR E, and,A OR F, and, B OR C, and,B OR D, and,B OR E, and,B OR F, and, C OR E, andC OR F Is that right? Link to comment Share on other sites More sharing options...
DieFeM Posted March 14, 2023 Share Posted March 14, 2023 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 More sharing options...
F4llfield Posted March 14, 2023 Author Share Posted March 14, 2023 It reminds of my Assembler language course way back, in College. Thanks. I'm keeping that in my CK references file. Link to comment Share on other sites More sharing options...
hereami Posted March 14, 2023 Share Posted March 14, 2023 Well, the answer that link is giving was weird for me: A ORC ANDB ORC ANDA ORD ANDB ORDDepends, that would be 200% rather than measly 100%. Some things like "logical considerations and refinement" should be applied. Link to comment Share on other sites More sharing options...
F4llfield Posted March 14, 2023 Author Share Posted March 14, 2023 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 More sharing options...
hereami Posted March 14, 2023 Share Posted March 14, 2023 (edited) 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 March 14, 2023 by hereami Link to comment Share on other sites More sharing options...
F4llfield Posted March 14, 2023 Author Share Posted March 14, 2023 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. Source: https://ck.uesp.net/wiki/GetIsID Link to comment Share on other sites More sharing options...
hereami Posted March 14, 2023 Share Posted March 14, 2023 In other words, if your Ada and Dixie are mutually exclusive or not. I'd suggest they are, so never mind then. Link to comment Share on other sites More sharing options...
Recommended Posts