I did get around to make one, but for some reason it doesn't work. I am using .ListIndex dot field to read the value selected from the dropdown control box but then it doesn't seem to work in the conditional statement.
Code:
wcInsertItem("GroupSelect",1,"Group 1");
wcInsertItem("GroupSelect",2,"Group 2");
wcInsertItem("GroupSelect",3,"Group 3");
GetPropertyI ( "GroupSelect.ListIndex", GroupSelectIndex );
IF "GroupSelectIndex" == "1" THEN
b_Zone1 = 1;
ELSE
b_Zone1 = 0;
ENDIF;
I am using b_Zone1 as a discrete visible animation to display an object and nothing shows up. It is driving me nuts at the moment. Any help will be appreciated. Thank you.