Jump to content

Zombie Event


marwan

Recommended Posts

Hello guys  :) ,

Event Description :

Event starts every 1 hour , registration time 10 minutes , npc spawned in giran automatic to register.

If participants is more than 2 then event will start.

Random player will be chosen to be the zombie , if zombie hit any player , player will be zombie.

Event consist of 3 rounds each round is 1.5 minute ,if players survived all the round will win.

Event area : coliseum

 

from reg npc you can register,unregister,view participated players

 

here is the code :

http://pastebin.com/EdvVdpjf

and for npc all you need is to create a new one with id 70012 and type L2Npc

html code

<button value="Event" action="bypass -h Quest Zombie show" width=90 height=25 

 

also if you want to change the event rounds

from here :

public int rounds = 3;

 

coded by me

PS tested but there might be bugs

Link to comment
Share on other sites

Yes but my code is  completely diffrent and  even the event

also as I can remember it has bugs when you hit somone he/she dont turn to zombie

Link to comment
Share on other sites

Yes but my code is  completely diffrent and  even the event

also as I can remember it has bugs when you hit somone he/she dont turn to zombie

also i just saw that the link i posted has an invalid download link so everyhting is ok ;)

Link to comment
Share on other sites

Nice one, gj mate.

 

Btw you should avoid adding variables such as public boolean _zombie = false; in L2PcInstance, you can do it in event file.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.



×
×
  • Create New...