Unrealscript function that accepts unlimited input params?

Many other languages support this. Anyone know if US does?

No. UnrealScript is really touchy when it comes to inputs. I’ve had some really crazy hard crashes that I traced back to UnrealScript functions with an optional parameter. I don’t use optional parameters anymore.

I think the closest thing to an arbitrary number of function inputs is accepting arrays as inputs. You could do something like this:

function foo(array<int> IntArray, array<float> FloatArray, array<string> StringArray, array<object> ObjectArray)
{
}

Hmmm, that’s strange. I use thousands of optional params all throughout my codebase. Never had an issue with them (and couldn’t imaging living without them).

The problem with that implementation is you’d still have to define a new array each time you can to call it. I was just trying to avoid too much boilerplate code if possible. It’s not a big deal, just a QOL thing.