Page 1 of 1

Another SBARINFO error

Posted: Fri Oct 30, 2020 4:13 pm
by HellBlade64

Code: Select all

Script error, "hd-ue-hudv2.pk3:sbarinfo" line 22:
Expected integer constant but got identifier 'drawshadow' instead.
I get this error whenever I try to use the SBARINFO line "drawstring" with "weapontag" and adding drawshadow to it.
No example is given on the ZDoom Wiki as to how proper syntax using those two together is supposed to look.

Here is the full line of code:

Code: Select all

drawstring smallfont, gray, weapontag, -5, -80, drawshadow, linebreaks(10);
I'm not sure what integer constant it would be looking for at all.
I have tried different putting the code pieces in different orders but nothing is working.

As with last post I am doing this on Zandronum by the way.

Re: Another SBARINFO error

Posted: Fri Oct 30, 2020 4:33 pm
by HellBlade64
Nevermind, fixed it. Forget this post even exists.