I'm working on a bunch of scripts and I need to set a bunch of object.Tag properties at runtime. Basically I have a string part and a numerical part which need to be combined into a single name tag...
How do I do this?
For example the string part & number are:
The end result should be:
but I don't know how to do this... need help!
How do I do this?
For example the string part & number are:
local name Blah;
local int i;
Blah = 'ANiceTagName';
i = 31;
self.Tag = Blah $ name(i); // doesn't work, but what does?
local int i;
Blah = 'ANiceTagName';
i = 31;
self.Tag = Blah $ name(i); // doesn't work, but what does?
The end result should be:
self.Tag = 'ANiceTagName31';
but I don't know how to do this... need help!