Jump to content
  • 0

Script not working


Virtue

Question


  • Group:  Members
  • Topic Count:  92
  • Topics Per Day:  0.02
  • Content Count:  354
  • Reputation:   22
  • Joined:  11/17/11
  • Last Seen:  

Onclock0012:
announce "Guild Treasure Box spawned.",0;
monster "prtg_cas01",11,209,"Treasure Box",1732,5,strnpcinfo(0)+"::OnMobKilled";
monster "gefg_cas04",117,120,"Treasure Box",1732,5,strnpcinfo(0)+"::OnMobKilled";
monster "aldeg_cas04",85,12,"Treasure Box",1732,5,strnpcinfo(0)+"::OnMobKilled";
monster "arug_cas03",294,272,"Treasure Box",1798,5,strnpcinfo(0)+"::OnMobKilled";
monster "schg_cas03",191,19,"Treasure Box",1798,5,strnpcinfo(0)+"::OnMobKilled";
monster "schg_cas02",249,373,"Treasure Box",1798,5,strnpcinfo(0)+"::OnMobKilled";
monster "arug_cas01",254,366,"Treasure Box",1798,5,strnpcinfo(0)+"::OnMobKilled";
monster "arug_cas03",292,272,"Treasure Box",1955,5,strnpcinfo(0)+"::OnMobKilled";
monster "schg_cas03",189,19,"Treasure Box",1955,5,strnpcinfo(0)+"::OnMobKilled";
monster "schg_cas02",249,373,"Treasure Box",1955,5,strnpcinfo(0)+"::OnMobKilled";
monster "arug_cas01",254,366,"Treasure Box",1955,5,strnpcinfo(0)+"::OnMobKilled";

OnMobKilled:
dispbottom "Treasure Box Killed";
getitem 7179,1; /// Set the Item you want to give the Winner here.
end;

this is not working, or do i need to put an actual npc for this? i just made that to spawn the treasure box that drop certain items

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  1315
  • Reputation:   372
  • Joined:  12/10/11
  • Last Seen:  

Try using 3 instead of 0.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  92
  • Topics Per Day:  0.02
  • Content Count:  354
  • Reputation:   22
  • Joined:  11/17/11
  • Last Seen:  

3 on what? actually the mobs aren't spawning too.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  1315
  • Reputation:   372
  • Joined:  12/10/11
  • Last Seen:  

On strnpcinfo

You need to use OnClock not Onclock

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  92
  • Topics Per Day:  0.02
  • Content Count:  354
  • Reputation:   22
  • Joined:  11/17/11
  • Last Seen:  

alright, because last time i used OnClock igot an error but ill check it again later 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...