Unlike it's c++ counterpart, switches on int in BP don't allow a lot of freedom, you can choose the starting index but not the next indexes, meaning if I wan't to implement a default behavior for all values except 5 and 30, I would need to manually set 6 to 29 pins to execute the default behavior
Announcement
Collapse
No announcement yet.
Switch on int needs improvement in BP
Collapse
X
-
You can always daisy-chain Pure & Impure logic nodes and get to the same end result.
Why not play around with InRange + Branch / SwitchonInt and see if that gets you there...
Or even try and rework the logic. Sometimes a configuration of Select can help out too...----------------------------------------------------------------------------------------------------------
What are the BEST Unreal Tutorials / Docs? There are none tbh... Here's why
Instead its better to just take projects apart (see the free 'creators' listed here)
-
Originally posted by Agln View PostMhh, indeed these could work but it's something so trivial in C++ that I don't understand why it's not here in bp
Originally posted by cyaoeu View PostOr use switch on string and convert the int to string.Game Programmer at Zen Studios and founder of Rapax Games
LinkedIn, Engine Contributions, Marketplace
Polars (WIP), Game Jam Projects
Comment
Comment