Jump to content
  • 0
Sign in to follow this  
AdmCronus

Queue System

Question

8 answers to this question

Recommended Posts

  • 0

You can use bg_leave script command for both purposes. I'd need your script to know what you're doing since that is just a queuing system but can use more variables.

 

If you're using Hercules queue system, you could easily queueremove that guy if needed.

Share this post


Link to post
Share on other sites
  • 0

createbgid <respawn map>, <respawn x>, <respawn y>, <On Quit event>, <On Death event>;

 

set .green, createbgid( "izlude",136,117, strnpcinfo(0)+"::OngreenQuit", strnpcinfo(0)+"::OngreenDead" );set .black, createbgid( "izlude",136,117, strnpcinfo(0)+"::OnblackQuit", strnpcinfo(0)+"::OnblackDead" );

 

 

so... ??? ( I am not really sure )

 

OngreenDead:OngreenQuit:OnblackQuit:OnblackDead:    if (getcharid(4)) bg_leave;	   warp "SavePoint",0,0;	   end;
Edited by quesoph

Share this post


Link to post
Share on other sites
  • 0

if i put 

 

warp "SavePoint",0,0; 

he dont play next event, he registred but not warp others!

 

when he dead or logout he need to go out to the queue.

Share this post


Link to post
Share on other sites
  • 0
OnPCDieEvent:	getmapxy(@map$,$@x,$@y,0);	if (@map$ == "guild_vs1-2") {	sleep2 1;	atcommand "@alive";	warp "izlude", 128,117;if (getcharid(4)) bg_leave; 

i put getcharid(3) and not ok too.

 

 Not OK,

Edited by AdmCronus

Share this post


Link to post
Share on other sites
  • 0

This is my example.

 

OngreenDead:OnblackDead:OngreenQuit:OnblackQuit:    if (getcharid(4)) bg_leave;        set .start, 0;        warp "SavePoint",0,0;        end;  

Share this post


Link to post
Share on other sites
  • 0

If i put your exemple npc will teleport peoples while another round is underway

 

i need to make player dead go out event.

Edited by AdmCronus

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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