It would be useful to me if I could create new objects through script everytime a hotspot is clicked.
I want the name of the new hotspot to be its name plus an integer number.I have the integer adding everytime so that It would make a new object with a different name.Is it possible to add an integer to a new objects name?
Code: ags
I want the name of the new hotspot to be its name plus an integer number.I have the integer adding everytime so that It would make a new object with a different name.Is it possible to add an integer to a new objects name?
int c2;
function hHotspot5_AnyClick()
{
Object* pipe+c2;
c2+=1;
}