I'm trying to see what all is in a specific table and the best way I know is through writefile like with most languages does GSC have a function like that?
keys = array::randomize(GetArrayKeys(level.zombie_weapons));
for (i = 0; i < keys.size; i++)
{
if (keys[i].is_wonder_weapon)
{
keys[i].is_wonder_weapon = false;
}
}
:) Something I just made has a similar effect.
I tried this, but you can't add a colon to it. Creating multiple huds side by side would be extremely difficult and would look sloppy.
Right now I'm thinking i'm probably missing a using and thats why ClearAllTextAfterHud isn't working. Which script do I need to be using?
#using...
Well the function ClearAllTextAfterHudElem does exist, but I don't know what parameters it needs. I just tried putting the hud in but still got an error.
**** 1 script error(s):
"clearalltextafterhudelem" with 1 parameters in "scripts/zm/gametypes/_clientids.gsc" at line 110 ****
****...
How would I go about deleting the string?
Which array are strings stored?
I know deleting the hud and re-creating it doesn't work either.
I'm using NewHudElem and have also tried createFontString.
Right now i'm having a problem using SetText(), in a loop anyways it crashes after 25 - 30 minutes of game time.
The error: BG_Cache_GetIndexInternal - Exceeded '2048' items for type 'string'
Does NewHudElem have a text property I can use?
.text doesn't work.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.