Jump to content
  • 0
Helena

warpwaitingroompc not checking the required players.

Question

Hello. Trying to figure out what went wrong here. I have a eAthena script that I want to work with Herc, it works well except for this part.
The issue is that as soon as one player enter the waiting room, he gets warped. While I've set the required players to 3. I don't want anyone to warp until the room has 3 players.
 
Is it not compitable with Hercules? And if not, how can I make it so? Thank you!
 
//Waiting Roomquiz_00,58,38,4	script	Guard	765,{	end; OnInit:	waitingroom "Waiting Room",3,"Guard::OnWarp",1;	end; OnWarp:	warpwaitingpc "arena",150,135,3;	disablewaitingroomevent;	donpcevent "nArena::OnStart";	end; OnStart:	enablewaitingroomevent;	end;}

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Change

waitingroom "Waiting Room",3,"Guard::OnWarp",1;

To

waitingroom "Waiting Room",3,"Guard::OnWarp",3;

Share this post


Link to post
Share on other sites
  • 0

Change

waitingroom "Waiting Room",3,"Guard::OnWarp",1;

To

waitingroom "Waiting Room",3,"Guard::OnWarp",3;

 

Wow, that was easy. Thanks sir Dastgir. :)

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

×
×
  • Create New...

Important Information

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