Jump to content

Demorgan laws and OR() - Don't work


i30817

Recommended Posts

Look up REFACTOR_BAF_TRIGGER if you want to apply DeMorgan's law to BG2 scripting:

 

IF
 !ThisIsNotATrigger()
THEN
...

 

COMPILE ~myfile.baf~
REFACTOR_BAF_TRIGGER ~ThisIsNotATrigger()~ ~OR(3) InParty("Imoen") InArea("AR1000") Global("variable","GLOBAL",5)

 

will turn the NOT (A || B || C) into !A && !B && !C.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...