Easygoing Eyebeast Enraged Slith Posted October 24, 2005 Share Posted October 24, 2005 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 More sharing options...
Well-Actually War Trall Niemand Posted October 24, 2005 Share Posted October 24, 2005 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 More sharing options...
Magnificent Ornk Swimmin' Salmon Posted October 25, 2005 Share Posted October 25, 2005 Are you sure it is calling state 10? Try commenting out the picture call and put in a message instead. I will assume that scendatascript is wrong, since most places I've seen it written scennamedata where scenname is the same as the .bas name. *this message sponsored by sylvania* Link to comment Share on other sites More sharing options...
Well-Actually War Trall Niemand Posted October 25, 2005 Share Posted October 25, 2005 he hasn't said what the file is named, the beginscendatascript; line is correct and required, it is at the begining of the ______data.txt file, where _______ is the same name as the .bas file. Link to comment Share on other sites More sharing options...
Recommended Posts