- Code: Select all
CreateActor("stats_num", "icon", "(none)", "(none)", view.x+110, view.y+294, true);
getclone(stats_num.clonename)->textNumber=minutes;
So here I have no problems writing to textNumber.
However, I don't know how to write to text. I tried this, but it doesn't work. Any ideas?
- Code: Select all
sprintf(getclone(stats_num.clonename)->text,"%d:%02d",minutes,sec);