Jump to content
  • 0

Npc summon


Noctis

Question


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  226
  • Reputation:   13
  • Joined:  02/17/15
  • Last Seen:  

Someone can give me a script where the npc summon a mob and after kill that mob the npc give me an item? tried to do it alone but without success..., its very important, so i hope someone can help.

Edited by Exmas
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   9
  • Joined:  07/08/15
  • Last Seen:  

prontera,150,150,6[tab]script[tab]summoner[tab]100,{
monster "prontera", 150, 150, "Poring", 1005, 1, strnpcinfo(0) + "::OnMobKilled";
end;

OnMobKilled:
getitem 909, 1; // 1 jellopy
end;
}

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  226
  • Reputation:   13
  • Joined:  02/17/15
  • Last Seen:  

2 minutes ago, Kubix21 said:

prontera,150,150,6[tab]script[tab]summoner[tab]100,{
monster "prontera", 150, 150, "Poring", 1005, 1, strnpcinfo(0) + "::OnMobKilled";
end;

OnMobKilled:
getitem 909, 1; // 1 jellopy
end;
}

 

Thanks, one more thing , whats the script for me asking the npc for example "Is there anything I can do to relieve you of the torment?", not the npc talking but me

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  308
  • Reputation:   24
  • Joined:  11/26/12
  • Last Seen:  

-	script	Sample	-1,{
OnWhisperGlobal:
announce strcharinfo(0)+": "+@whispervar0$,0;
end;
}
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...