kitty14 Posted August 29, 2014 Group: Members Topic Count: 103 Topics Per Day: 0.02 Content Count: 323 Reputation: 4 Joined: 12/09/13 Last Seen: May 9, 2023 Share Posted August 29, 2014 (edited) hello,how to change this instead of getting the items automatically in the inventory,i want the monster will just drop the items on the floor.and please do correct the scrip, i just modified it.. i got error. hahaha OnNPCKillEvent: if( getmonsterinfo( killedrid == 1956) && rand(100) < 10 ) getitem .item[ rand( .item_size ) ],1; end; OnInit: setarray .item[0],18113,2016,1586,1395,1832,21001; .item_size = getarraysize( .item ); end; } Thank you! Edited August 29, 2014 by kitty14 Quote Link to comment Share on other sites More sharing options...
GmOcean Posted August 29, 2014 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 666 Reputation: 93 Joined: 04/27/12 Last Seen: August 17, 2015 Share Posted August 29, 2014 - script On1956Dead -1,{ OnNPCKillEvent: if( killedrid == 1956 ) && rand(100) < 10 ) { getmapxy(.@m$,.@x,.@y,0); makeitem( .item[ rand( .item_size ) ],1,.@m$,.@x,.@y; } end; OnInit: setarray .item[0],18113,2016,1586,1395,1832,21001; .item_size = getarraysize( .item ); end; } 1 Quote Link to comment Share on other sites More sharing options...
GmOcean Posted August 29, 2014 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 666 Reputation: 93 Joined: 04/27/12 Last Seen: August 17, 2015 Share Posted August 29, 2014 *makeitem <item id>,<amount>,"<map name>",<X>,<Y>; *makeitem "<item name>",<amount>,"<map name>",<X>,<Y>; This command will create an item on the specified cell of a map. As with any dropped items, the items created with this command will disappear after a period of time. Using an amount greater than 1 will create a single stack of the given amount, not multiple stacks of 1. Like 'getitem', it also accepts an 'english name' field from the database and creates Apples if the name isn't found. If the map name is given as "this", the map the invoking character is on will be used. Quote Link to comment Share on other sites More sharing options...
kitty14 Posted August 29, 2014 Group: Members Topic Count: 103 Topics Per Day: 0.02 Content Count: 323 Reputation: 4 Joined: 12/09/13 Last Seen: May 9, 2023 Author Share Posted August 29, 2014 can you apply it to the script? or can you make script for it?cuz the script i used has erroreverytime i kill naght sieger mobs it drops vellum weapons.. please? some please help? Quote Link to comment Share on other sites More sharing options...
kitty14 Posted August 30, 2014 Group: Members Topic Count: 103 Topics Per Day: 0.02 Content Count: 323 Reputation: 4 Joined: 12/09/13 Last Seen: May 9, 2023 Author Share Posted August 30, 2014 thanks! Quote Link to comment Share on other sites More sharing options...
Question
kitty14
hello,how to change this instead of getting the items automatically in the inventory,i want the monster will just drop the items on the floor.
and please do correct the scrip, i just modified it.. i got error. hahaha
Thank you!
Edited by kitty14Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.