The Dink Network

Reply to Changing status bars mid-game

If you don't have an account, just leave the password field blank.
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
November 26th 2018, 06:38 PM
Having trouble using init()...

I have custom status bars, if they are loaded in the ini file they work fine, however I want to switch status bars at different points in the game.

If this is used to switch graphics:
init("load_sequence_now graphics\myfolder\status\stat- 180 BLACK");

Then the game crashes as soon as draw_status() is called after that (crash = freeze for a second then instantly exit, like kill_game).

What am I missing?