Quantcast
Channel: Civilization Fanatics' Forums
Viewing all articles
Browse latest Browse all 12856

Referrencing Individual Checkboxes

$
0
0
Hi all,

I've been playing with checkboxes, but haven't figured out how you referrence a particular one within Lua when you have several available to select from. No issues with the controls, but need to be able to do an If statement etc.

Code:

if (bIsChecked) then

    if (???) then

          <rest of statement>

I've attempted trying to referrence IDs and had a quick search, but not found anything :confused:

Viewing all articles
Browse latest Browse all 12856

Trending Articles