Jump to content
  • 0

Requesting an item drop npc script


jogz

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  11/01/15
  • Last Seen:  

HI,

 

I'm still new to this and would like to ask help for a script that makes an npc drop items on the ground if there is such...

 

if possible pls make it automatic drop item with counter and one with activation

 

thanks in advance

Edited by jogradz1005
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  141
  • Topics Per Day:  0.03
  • Content Count:  444
  • Reputation:   22
  • Joined:  06/18/12
  • Last Seen:  

I don't know if there's any command to check if the tile is already occupied by another item. I guess there isn't.

If you wanted to randomly drop it just use rand.

 

sample

prontera,150,150,4 script randromdrop 100,{
makeitem 608,1,"prontera",rand(147,153),rand(147,153);
end;
}
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  11/01/15
  • Last Seen:  

Try to read more about makeitem

thanks its helpful, also, is there a script that does not need the item to be dropped on a specific tile? like if the tile is already occupied by an item, would it drop randomly around the npc? 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  11/01/15
  • Last Seen:  

thanks i'll try it ^_^

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...