prontera,164,177,2 script Guillaume#Blue 420,{
end;
OnInit:
waitingroom "Battle Station 3 Players",3,"Guillaume#Blue::OnEnter",1,0,80,99;
end;
OnEnter:
set Bat_Team,1;
donpcevent "BG_Queue_Join::OnDoJoin";
end;
OnLeave:
set Bat_Team,0;
donpcevent "BG_Queue_Join::OnDoLeave";
end;
}
prontera,147,177,7 script Croix#Red 416,{
end;
OnInit:
waitingroom "Battle Station 3 Players",3,"Croix#Red::OnEnter",1,0,80,99;
end;
OnEnter:
set Bat_Team,2;
donpcevent "BG_Queue_Join::OnDoJoin";
end;
OnLeave:
set Bat_Team,0;
donpcevent "BG_Queue_Join::OnDoLeave";
end;
}
Anyone can help me on the script that I made for my Battleground Registration?
I want you to re-edit this one that will trigger OnEnter in every player who enter the waiting room and OnLeave if player leave the waiting room.
My main problem here is when I enter the waiting room this one will appear to the console and nothing will happen.
[Error]: script_rid2sd: fatal error ! player not attached!
[Debug]: Function: set (2 parameters):
[Debug]: Data: variable name='Bat_Team'
[Debug]: Data: number value=2
[Debug]: Source (NPC): Croix#Red at prontera (147,177)
[Error]: script:set: no player attached for player variable 'Bat_Team'
Question
GM Freya
Anyone can help me on the script that I made for my Battleground Registration?
I want you to re-edit this one that will trigger OnEnter in every player who enter the waiting room and OnLeave if player leave the waiting room.
My main problem here is when I enter the waiting room this one will appear to the console and nothing will happen.
please tell me if I post in the wrong section.
Edited by GM Xeon2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.