Jump to content

what the heck is wrong with this script


Enraged Slith
 Share

Recommended Posts

This is what I have written down:

 

beginscendatascript;

 

begindefineitem 450;

clear;

it_name = "Book";

it_full_name = "Foobar's Map";

it_variety = 21;

it_floor_which_sheet = 1014;

it_floor_which_icon = 5;

it_inventory_icon = 6;

it_ability_1 = 207;

it_ability_str_1 = 10;

it_value = 10;

it_weight = 10;

it_identified = 1;

 

Note: This part is in the scenario script.

 

beginstate 10;

large_draw_pic_dialog(500,"A map Foobar drew. Somehow you are not surprised.");

break;

 

I have the picture saved in 400x400 256 color bitmap as G500, in my folder. In the scenario, every time I press the button to call the state, no picture or dialogue comes up. No error appears either, it just says, "Use Foobar's Map."

 

This worked in another scenario I played around with, but it isn't working here. What the heck is wrong?

Link to comment
Share on other sites

Are you sure that the picture is small enough? You might see if you could get the item to work with a slightly smaller image that you're absolutely sure is within the allowed limits. Other than that, I agree that it looks just like the code from ASR, and I can't spot any problem.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...