Check variables in play mode?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
annathehank
Posts: 95
Joined: Sun May 03, 2020 2:17 pm

Check variables in play mode?

Post by annathehank »

Hi again!

Is there a way to check the values of variables/actor fields easily while in play mode? I thought maybe opening the dialogue manager the value listed would reflect changes made while playing but it doesn't, so I was just curious if there was an easy way to check?
User avatar
Tony Li
Posts: 22034
Joined: Thu Jul 18, 2013 1:27 pm

Re: Check variables in play mode?

Post by Tony Li »

Hi,

There are two easy ways:

1. In play mode, the Dialogue Editor window's Templates page becomes a Watches page. Go to the Watches page and select Menu > Add All Runtime Variables. You can set the Watches to auto-refresh their displayed values at a specified frequency.

2. Or use the Variable Viewer window. (Menu item Tools > Pixel Crushers > Dialogue System > Tools > Variable Viewer)

In builds, you can use a Lua Console.
annathehank
Posts: 95
Joined: Sun May 03, 2020 2:17 pm

Re: Check variables in play mode?

Post by annathehank »

ahhh thank you very much <3
User avatar
Tony Li
Posts: 22034
Joined: Thu Jul 18, 2013 1:27 pm

Re: Check variables in play mode?

Post by Tony Li »

Glad to help!
Post Reply