I’m struggling to figure out what is happening with this. If I print, compare, or do anything with the value after the selected division, it makes the value 0. Doing anything before the division is fine. The code in the screenshot works, but if I move the inputs to the print or the >2 nodes to after the division, the value of the result of the division is always 0. Why?
It’s like it’s shy. If I look at it, it disappears.
That fixes it. But why? If it didnt work at all, I would understand, but a non-zero value gets passed to the outer size variable of the spawn actor if I don’t try to check it or print it.
Thank you! As I mentioned, changing the type before the division fixed it. Knowing why it was happening helps me know what to avoid in the future. I appreciate you helping me understand this!