Page 1 of 1

watch windows (intro)

Posted: Fri Dec 18, 2015 11:14 pm
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

Re: watch windows (intro)

Posted: Sat Dec 19, 2015 9:12 am
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.