Garrulous Glaahk Skribbane Freak Posted July 27, 2005 Share Posted July 27, 2005 hi, i was wondering if there's any script that lets you place items on tables in crates drawers (like in nethergate) if you can tell me the code for it or the script it would help me, thanks for any help Link to comment Share on other sites More sharing options...
Magnificent Ornk Kelandon Posted July 27, 2005 Share Posted July 27, 2005 Script-placed items are not contained. If you want something in a container, place it in the editor. Link to comment Share on other sites More sharing options...
Easygoing Eyebeast Thralni Posted July 27, 2005 Share Posted July 27, 2005 I think that the beast thing for you to do, is to put a special node on the place you want the item. In the node, make a SDF (so the thing will be triggered eventually) and put a call for a dialog message, telling you found something in it. Something like this maybe: Code: if (get_flag(X,Y) == 1) message_dialog("your message",""); //message you find an item char_give_item(char number, which item); // This call gives the item set_flag(X,Y,2);break; You should put a call for changing SDF (X,Y) to 1, or else the message wouldn't appear, and the item wouldn't be given. This you have to put however in the place where you want the party to discover that there is an item in the barrel. Link to comment Share on other sites More sharing options...
Recommended Posts