GMS-575
09-30-2008, 07:50 AM
Hi Folks,
i'm trying to create a dynamic ui with the stringstream method. i have setup my spinners to control the subdiv values of vray materials and everything works fine until i try to setup the events for the spinners.
here is the messed up code:
for i = 1 to spinnerArray.count do
format "on GM_spinner% changed value do %.reflection_subdivs = value\n" i spinnerArray[i] to:rolloutSS
and i get this error message
-- Syntax error: at keyword parameter, expected <factor>
-- In line: on GM_spinner1 changed value do vray_mat_01:V
Cheers
i'm trying to create a dynamic ui with the stringstream method. i have setup my spinners to control the subdiv values of vray materials and everything works fine until i try to setup the events for the spinners.
here is the messed up code:
for i = 1 to spinnerArray.count do
format "on GM_spinner% changed value do %.reflection_subdivs = value\n" i spinnerArray[i] to:rolloutSS
and i get this error message
-- Syntax error: at keyword parameter, expected <factor>
-- In line: on GM_spinner1 changed value do vray_mat_01:V
Cheers
