any/all mix in Lua conditions
Posted: Mon Mar 22, 2021 10:57 am
Happy Monday!
I was curious if the and/or functions of the Lua conditions can be combined? For instance, in the buttons that I have turning on and off if certain conversations and relationship levels are met, would it be possible to set up a sort of, either or series of conditions?
Example: Conversation #3 is available to a player if conversation 1 had is true, conversation 2 had is true, and the relationship value is over 25. All of this works with the and function in the Lua condition wizard. Would I also be able to add an or condition at the end of that so the player could activate the conversation if some of those conditions are false but a secondary set of conditions is true?
Basically something like
V1 = true and
V2 = true and
V3 = true or
Vsecret = true and
Vothersecret = true
I was curious if the and/or functions of the Lua conditions can be combined? For instance, in the buttons that I have turning on and off if certain conversations and relationship levels are met, would it be possible to set up a sort of, either or series of conditions?
Example: Conversation #3 is available to a player if conversation 1 had is true, conversation 2 had is true, and the relationship value is over 25. All of this works with the and function in the Lua condition wizard. Would I also be able to add an or condition at the end of that so the player could activate the conversation if some of those conditions are false but a secondary set of conditions is true?
Basically something like
V1 = true and
V2 = true and
V3 = true or
Vsecret = true and
Vothersecret = true