Jump to content
  • 0

Poring Event script


Question

Posted

This is my Poring Event script http://upaste.me/r/240d154532629e5f6

 

I wanted to ask how to make it globally announce only if the count of the special Porings in the specific map turns to 0? http://gyazo.com/d933e86836b8d1bf9b53262dd38632b5

And also once the player killed the special Poring, he will only get an emotion /grat in his character itself plus a dispbottom message saying his name and congrats.

 

Please help.

4 answers to this question

Recommended Posts

Posted
// kill poring get reward
OnPoringDead:
	announce strcharinfo(0)+" has killed the Poring! "+mobcount( strcharinfo(3),.npc_name$+"::OnPoringDead" )+" special Porings left in "+strcharinfo(3),bc_all;
	getitem 6153,50;
	end;

change to 

// kill poring get reward
OnPoringDead:
	.@count = mobcount( strcharinfo(3),.npc_name$+"::OnPoringDead" );
	announce strcharinfo(0)+" has killed the Poring! "+.@count+" special Porings left in "+strcharinfo(3),(( .@count )? bc_map:bc_all );
	getitem 6153,50;
        dispbottom "Congratz "+strcharinfo(0);
	end;
  • Upvote 1

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...