upper range of parameter controlled by expression?

   2855   2   0
User Avatar
Member
63 posts
Joined: Sept. 2009
Offline
Is it possible to use expressions inside a parameter's interface?

For example, I would like to make the locked range of a parameter be dependent on an expression or variable. Whenever I try to type anything other than a number inside of the range controls, it flashes red. Is there a way around this?

Thanks in advance for your help!

Attachments:
rangecontrol.jpg (46.2 KB)

User Avatar
Member
1908 posts
Joined: Nov. 2006
Online
Unfortunately it's not possible. You could write a callback script that would restrict the value entered based on whatever, but you can't use an expression to control the UI range.

It should be possible to do some more complicated callbacks that constantly replace the actual parameter with a copy whose max value is set to your value whenever your driving expression type thing changes but that's more advanced.
Graham Thompson, Technical Artist @ Rockstar Games
User Avatar
Member
63 posts
Joined: Sept. 2009
Offline
Thanks for clarifying that for me graham.
  • Quick Links