I have an item that is a de-facto currency that i would like to be tracked on the hud. Internally it's currently a inventory item that just doesn't show in there. I suppose i could just make it appear in the inv bar as is, but that's just too clunky for my taste.
Just to convince you that i made a healthy attempt at it myself, My idea was to draw a string to the hud, but i don't know what the syntax is to return the number of currency the player has!
the not at all accurate basically pseudo-code, that would occupy hud.zs within a custom function:
Code: Select all
DrawString(expfnt, String.Format("%d", Inventory.expsml1 ,(88,-23),DI_SCREEN_CENTER_BOTTOM|DI_ITEM_CENTER_BOTTOM|DI_TEXT_ALIGN_RIGHT);anyway, any input is greatly appreciated, as always!
