Download

Native function to get unique object id?

I’ve seen this somewhere in the code, but can’t find where it is anymore.

I want to get the integer value from an instanced object’s name. For example: “MyObject_34”, I want to get 34 as an int.

I know I can do my own string splitting/casting logic, but I know there is an existing function somewhere that does this already.

Do anyone know what the function is called?

i do not have udk installed anymore so i cant look at the object file, but it should be in that file somewhere.

var() native const editconst name Name;