Jump to content
  • 0

NPC that drops items?


Seiro

Question


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  42
  • Reputation:   0
  • Joined:  10/24/12
  • Last Seen:  

What's the script for NPC dropping items? again, I know there's a script of this already but I couldn't find it.. :x

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  806
  • Reputation:   220
  • Joined:  03/13/12
  • Last Seen:  

This One? =>

*makeitem <item id>,<amount>,"<map name>",<X>,<Y>;

*makeitem "<item name>",<amount>,"<map name>",<X>,<Y>;

This command will create an item lying around on a specified map in the

specified location.

itemid - Found in 'db/(pre-)re/item_db.txt'

amount - Amount you want produced

map name - The map name

X - The X coordinate

Y - The Y coordinate.

This item will still disappear just like any other dropped item. 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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  42
  • Reputation:   0
  • Joined:  10/24/12
  • Last Seen:  

Yes! that's it, thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...