Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Message on Item Drop
Author Message
KyleH112
Apprentice
*

Posts: 18
Likes Given: 0
Likes Received: 6 in 4 posts
Joined: Oct 2012
Reputation: 0



Post: #1
Message on Item Drop
I'm looking for a script that will broadcast a message when a certain item is dropped.

So and So Kills Monster
Monster has an item on the broadcast list
Message is Broadcasted
06-16-2015 11:15 AM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #2
RE: Message on Item Drop
With drop you mean loot or drop on ground?

If you mean drop you'll have to create one event for all npcs with this code:

ON=@DeathCorpse
if (<findid.youritemid>)
serv.b=your_broadcast
endif

If you want the broadcast if the item is dropped on ground you need to add this trigger to that item:
ON=@DropOn_Ground
serv.b=your_broadcast
06-16-2015 03:59 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)