Check status of variable

ping141

Well-Known Member
Hi! I'm struggeling with the syntaxes for checking statuses of variables in Beyond...

In this case I'd like to check the status of the Enable Laser Output button, which should be a variable called

Status.LaserEnabled

What would be the correct syntax for reading out such a state in PangoScript? Could be any value or object really, I'm just struggeling with the coding... :)

Thanks in advance! :)
 
Hi, Ping141!
The syntax is pretty simple! For example:

if (Status.LaserEnabled = 1) DisplayPopupOnTop "Laser Enabled!"
 
Right. Problem is this variable does not seem to be a valid variable, that's why it won't work. Do you know the correct variable name? Build 1598 preferably. Thanks! :)
 
Put BEYOND in the configuration on Beta, then you should see a new build appear. Note, we call it beta for a reason :)
 
Back
Top