Jump to content
  • 0

Mob/portal


Vettra

Question


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  34
  • Reputation:   0
  • Joined:  07/19/17
  • Last Seen:  

Hello, I would like to know how do create a mob on a certain map that is born every half hour and a portal is released Every time it is dies and closed every time it is alive

thanks!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  34
  • Reputation:   0
  • Joined:  07/19/17
  • Last Seen:  

Any one? help pls

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  1182
  • Reputation:   159
  • Joined:  06/12/12
  • Last Seen:  

15 hours ago, Vettra said:

Any one? help pls

 

On 3/16/2018 at 10:16 PM, Vettra said:

Hello, I would like to know how do create a mob on a certain map that is born every half hour and a portal is released Every time it is dies and closed every time it is alive

thanks!

Not sure but here, i'm already test the script and it's work

-	script	KillMVP	-1,{

OnInit:
disablenpc "MVPportal";
end;

OnMinute30:
disablenpc "MVPportal";
setarray .bc_monster[0],"1917","1885","1874","1871","1832","1802","1785","1779","1768","1751","1734","1719","1708","1688","1685","1658","1651","1650","1649","1648","1647","1646","1630","1623","1583","1511","1502","1492","1418","1399","1389","1373","1312","1272","1252","1251","1190","1159","1157","1150","1147","1115","1112","1087","1086","1059","1046","1038","2202";
set .@mvp,rand(0,getarraysize(.bc_monster)-1);
announce "Danger! MvP has spawn at map guild_vs2-1!!",bc_all; //announce and end
monster "guild_vs2-1",0,0,"Attacker",.bc_monster[.@mvp],1,"MasterMVPportal::OnMvPKilled";
end;
}

-	script	MasterMVPportal	-1,{

OnMvPKilled:
getitem 7539,100;
announce "Congratulation to "+strcharinfo(0)+", has slain the Attacker at guild_vs2-1 !",bc_all;
enablenpc "MVPportal";
end;
}

guild_vs2-1,49,50,4	warp	MVPportal	2,2,prontera,155,183

 

Edited by hendra814
  • Upvote 1
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...