Itoo Software Forum

Author Topic: selector for values  (Read 3166 times)

SJB

  • Newbie
  • *
  • Posts: 13
selector for values
« on: February 21, 2025, 01:13:41 AM »
Hi there,

I want the user to be able to select between multiple options using a Numeric selector (eg Location1, Location2, Location3 etc), which represent other parametric scene-unit values. This would then drive an object's position.

I'm not seeing a way to go about it so please let me know if there is a simple method that I'm missing here.

However, I would expect to be able to do this in one of these way which don't currently seem possible:

1) Being able export Numeric selector entry values
2) With a Selector node for Numeric values
3) or, being able to plug Numeric nodes into Value List node
4) A switch statement expression in the Arithmetic node

With all these I would then be plugging in Numeric nodes into them and then switching between them based on an index derived from the corresponding Numeric selector option that has been selected.

Note: With the Value List node I noticed that I can export the value list, but when I try to branch off of it there isn't a suggestion for an input node like with other node types. What should plug in here?

Thanks!






« Last Edit: February 26, 2025, 05:14:26 AM by SJB »

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2925
Re: selector for values
« Reply #1 on: February 21, 2025, 09:32:08 AM »
Hi,

Driving the exported Index of the Value List with a Numeric Parameter should do the job.

Best regards,

SJB

  • Newbie
  • *
  • Posts: 13
Re: selector for values
« Reply #2 on: February 26, 2025, 05:22:52 AM »
Hi,

Driving the exported Index of the Value List with a Numeric Parameter should do the job.

Best regards,

Hi Michal,

Yea that would work if we could export the individual Value List item values. But it appears that this is not possible. The values need to be parametric.

What plugs into the exported value list connector? I can't seem to connect anything to it. Is this a bug?