The Dink Network

Reply to load_tile()

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
July 30th 2015, 08:17 PM
wizardg.gif
leprochaun
Peasant He/Him Japan bloop
Responsible for making things not look like ass 
How does this work?

void load_tile(string[191] tile_bmp, int tile_index);
load_tile replaces the tiles at tile_index with tile_bmp.

I've been trying to use this command but I can't seem to get it to work.
I've tried simply loading the tiles. I've tried loading the tiles then drawing the screen. I've tried loading the tiles then saving and loading the game. I've tried writing the load_tile() line every which way. Nothing has worked.

Can someone please provide an example script in where load_tile does indeed replace tiles?