self.menu.opt.text destroy();
optText = "";
for(i=0; i < self.menu.menuopt[menu].size; i++)
optText += self.menu.menuopt[menu][i] + "\n";
self.menu.opt.text = drawText(optText, "objective", 1.7, "CENTER", "CENTER", -70, -120, level.color["white"], 1, 0, 0, 4);
self.menu.opt.text FadeOverTime(0.3);
self.menu.opt.text.alpha = 1;
drawText(text, font, fontScale, align, relative, x, y, color, alpha, glowColor, glowAlpha, sort)
{
hud = self createFontString(font, fontScale);
hud setText(text);
hud.color = color;
hud.alpha = alpha;
hud.sort = sort;
hud setPoint(align, relative, x, y);
hud.glowColor = glowColor;
hud.glowAlpha = glowAlpha;
return hud;
}
Copyright © 2024, NextGenUpdate.
All Rights Reserved.