Jump to content
  • 0
Sign in to follow this  
xathenx

Request for WoE

Question

Requesting for a autoevent that every 15mins Defense of Castle, all players in guild who own Agit will received item and points.

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

I'd make some adjustments for accomplishing this in the npc/guild/agit_template.txt file.

 

Just before the end; of the OnStartArena label I'd add an initnpctimer;

 

In the OnAgitBreak, before any of the sleeps is executed, I'd put a stopnpctimer for making the timer stop.

 

Then, still inside that NPC, I'd make a new label like this:

 

OnTimer900000: // 900000 = 15minutes in milliseconds

//Here goes the prize, you should attach the script to the guildmaster or the guildmember(s) you'd like to get the prize, it's up to you

stopnpctimer;

initnpctimer;

end;

 

Some similar modifications should be made to npc/guild2/agit_main_se just if you use WoE SE, but I'm not that familiar with it and can't check from my cellphone.

 

Sorry for the vague response, I'm on my cellphone.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.