Can Conditions have an OR check?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Grayson
Posts: 20
Joined: Wed Jan 13, 2021 4:00 pm

Can Conditions have an OR check?

Post by Grayson »

Can't seem to find it in the documentation if conditions statements can have an OR condition. For example:

((CheckQuestState("quest1","Done") == true) OR (CheckQuestState("quest1","Ongoing")==true))

I know AND works, but need an OR check in some cases.

Thanks!
User avatar
Tony Li
Posts: 22037
Joined: Thu Jul 18, 2013 1:27 pm

Re: Can Conditions have an OR check?

Post by Tony Li »

Hi,

Yes, you can use the keyword 'or' just as well as 'and'.
Post Reply