Author Topic: TS Boolean control: boolean state accessible to script  (Read 1351 times)

valtonen

  • Full Member
  • ***
  • Posts: 217
    • View Profile
TS Boolean control: boolean state accessible to script
« on: April 20, 2011, 12:50:46 am »
Currently the TS boolean buttons' states don't seem to be available through scripting, e.g. I cannot write e.g.

Code: [Select]
if ( Boolean1.State == true )
{
       //Do something
}

This feature would be definetely neccessary to simplify many things.

-Miika

John Hughes

  • Administrator
  • Hero Member
  • *****
  • Posts: 2851
    • View Profile
    • Codecore Technologies
Re: TS Boolean control: boolean state accessible to script
« Reply #1 on: April 21, 2011, 07:11:42 am »
Good point, this will be in the next version.

Since there is already a "Boolean Value Changed" event, the property name will be "BooleanValue" for consistency.
John Hughes
Codecore Technologies