Message 1 of 4
Variables (Scripting) in Rollout Definitions

Not applicable
01-15-2010
08:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi there,
So I have this rollout, containing 20 parameters with 16 slots for each one. Something like this...
And the inability to use even simple variables and scripts in the rollout definitions is driving me nuts (and hurting my arm). 16 x 20 is 320 lines of code describing each value. How can I use an index or variable or script to condense this?
i.e.
Yes, I know that doesn't work.
So I have this rollout, containing 20 parameters with 16 slots for each one. Something like this...
--continues above
bs_constraint_val_14 type:#float ui:bs_constraint_val_14
bs_constraint_val_15 type:#float ui:bs_constraint_val_15
bs_constraint_val_16 type:#float ui:bs_constraint_val_16
bs_rotation_val_1 type:#integer ui:bs_rotaion_val_1
bs_rotation_val_2 type:#integer ui:bs_rotaion_val_2
bs_rotation_val_3 type:#integer ui:bs_rotaion_val_3
--continues below
And the inability to use even simple variables and scripts in the rollout definitions is driving me nuts (and hurting my arm). 16 x 20 is 320 lines of code describing each value. How can I use an index or variable or script to condense this?
i.e.
for i = 1 to 16 do
(
bs_constraint_val_ type:#float ui:bs_constraint_val_
)
Yes, I know that doesn't work.