Answered BO2 GSC menu problem

DropppITModz

Member
Messages
17
Points
8
ok so my gsc menu im making has a few issues, i am using this menu base that i got online and i need help fixing the text,
You have to be logged in to view links Log in or register now.
idk i cant find the issue, i tried storetext and changeverificationmenu but idk i need some help here lol
 

vampytwist

"Don't you trust me?"
Staff member
Messages
539
Points
408
Need to edit the setpoint values for the menu text, don't know what base you're using but try searching for "createFontString" or "CreateText"
 

DropppITModz

Member
Messages
17
Points
8
drawText(text, font, fontScale, x, y, color, alpha, glowColor, glowAlpha, sort)
{
hud = self createFontString(font, fontScale);
hud setText(text);
hud.x = x;
hud.y = y;
hud.color = color;
hud.alpha = alpha;
hud.glowColor = glowColor;
hud.glowAlpha = glowAlpha;
hud.sort = sort;
hud.alpha = alpha;

hud.type = "text";
addTextTableEntry(hud, getStringId(text));
hud setSafeText(self, text);

return hud;
}

i belive this is what im looking for?
 

vampytwist

"Don't you trust me?"
Staff member
Messages
539
Points
408
Thats the function yeah, now look for where your menu uses that function to create the options and modify the x and y values.
 

candy

G59 Terrorist
Staff member
Premium Member
Donator
Messages
1,305
Points
548
You said you checked
Code:
storedText
In this case, sounds like your option text would be there.

And the drawText you just sent, will help you here.
The option text's x value is off, increase / decrease it till you get it where you want it.
 

DropppITModz

Member
Messages
17
Points
8
self.menu.options destroy();
self.menu.options = drawText(string, "compass_emp", 1.5, 199, 70, (1, 1, 1), 0, (1, 0, 0), 0, 6);
self.menu.options FadeOverTime(0);
self.menu.options.alpha = 1;
self.menu.title.archived = false;
self.tez2.archived = false;
self.tez3.archived = false;
self.menu.background1 = false;
self.menu.background2 = false;
self.menu.background3 = false;
self.menu.options.archived = false;

so i see menu.options i looked around for drawtext and seen this soooo i belive im heading in the right direction
 

candy

G59 Terrorist
Staff member
Premium Member
Donator
Messages
1,305
Points
548
why are you using compass_emp as a font? :thinking::tearsofjoy:
but, no problem.
 

Top