Skip to content

BoolVector

RivinHD edited this page Aug 10, 2020 · 3 revisions

The BoolVector Property is a special vector variable. You can add a vector variable to the Properties by writing a new comment over the variable with the syntax:

#STB-Input-{Space}-BoolVector

BoolVector Syntax

The variable must be of the type list or tuple and the elements must be of type int The length of the list or tuple must be in range of 1 to 32

Example

This Property is only displayed in the Panel.

 #STB-Input-Panel-BoolVector
 MyBoolVector = [True,True,False]

This Property is displayed in the Panel and also in the Dialog.

 #STB-Input-Panel-BoolVector /// #STB-Input-Dialog-BoolVector
 MyBoolVector = (False,False,True,True,False)
Clone this wiki locally