[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/vr/ - Retro Games

Search:


View post   

>> No.6019514 [View]
File: 7 KB, 132x148, zode.png [View same] [iqdb] [saucenao] [google]
6019514

ZScript folks, what am I doing wrong? Here's a simple code running from EventHandler's WorldLoaded:

int lump = -1;
while (-1 != (lump = Wads.FindLump('NUKAGE3', lump + 1)))
Console.Printf("%d\n", lump);

It should print some number at least once, since it's a flat from Doom 2 IWAD, but it doesn't. Works for other lump names I tried though, like 'DEHACKED' or 'zscript'.

Navigation
View posts[+24][+48][+96]