Answered BO2 GSC menu problem

Messages
17
Likes
1
Points
8
Thread starter #1
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
538
Likes
542
Points
408
#2
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"
 
Messages
17
Likes
1
Points
8
Thread starter #3
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
538
Likes
542
Points
408
#4
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
Donator
Messages
1,286
Likes
752
Points
398
#5
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.
 
Messages
17
Likes
1
Points
8
Thread starter #6
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
 
Top