watch windows (intro)

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Roncin
Posts: 11
Joined: Sun Aug 17, 2014 10:17 pm

watch windows (intro)

Post by Roncin »

What is the syntax for using the watch windows?
I am assuming it's for evaluating sequences or condition, but I would like to read the documentation.

Roncin
User avatar
Tony Li
Posts: 21678
Joined: Thu Jul 18, 2013 1:27 pm

Re: watch windows (intro)

Post by Tony Li »

Hi Andrew,

Using the menu in the upper right of the Watches window, you can add a variable or a watch.

When you add a variable, just select the variable from the dropdown menu.

When you add a watch, enter any Lua expression you want, such as:

Code: Select all

Quest["My_Quest"].State
or

Code: Select all

(Actor["Player"].Age < 21) and (Variable["Ordered_Beer"] == true)
or even:

Code: Select all

673 + 549
if you're as lazy as me and don't want to switch over to a calculator app to add a couple numbers. :-)

The documentation is a bit thin, but here it is.
Post Reply