Jump to content
  • 0

1v1 Showdown Script Troubleshoot


ShiroNaito

Question


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.02
  • Content Count:  65
  • Reputation:   1
  • Joined:  04/04/19
  • Last Seen:  

Good day everyone.. Im having trouble on my script can you assist me ? this is how it works , I will summon 2 players in left and right corner ..when i trigger the script the PVP and SKILL on map must turn off , it will Trigger back to ON (@pvp and @skill) after the countdown or the announcer said "FIGHT" and turn back off both skill and pvp when player is dead.but it seems that atcommand "@pvpon"; and atcommand "@skillon"; is not working after the line "    announce "[Showdown Event]: FIGHT ! .. ",0;" ... This script is just prototype and for testing purpose only ..Thankyou

-    script    showmatch    -1,{

OnWhisperGlobal:
if(getgmlevel() >= $gmcontrol) {

mes "=================================";
mes "^3399FF[Showmatch Manager]^000000";    
mes "Hello GameMaster!";
mes "Summon participants?";
next;
mes "=================================";
//initnpctimer;

mes "Participant 1 Right Corner";
input .@Input$;

next;
mes "Participant 2 Left Corner";
input .@Input2$;

next;
//atcommand "@warp guild_vs2 49 55";

atcommand "#warp "+.@Input$+" guild_vs2 55 55";
atcommand "#warp "+.@Input2$+" guild_vs2 44 44";
announce "[Showdown Event]: Showdown Battle of "+.@Input$+" v.s. "+.@Input2$+" ",0;
donpcevent "announcer::OnGMStart"; 
    //atcommand "@pvpon";
    //atcommand "@skillon";
close;
}
}
-    script    announcer    -1,{
    
OnGMStart:

    announce "[Showdown Event]: Get Ready! ",0;
    sleep 3000;
    announce "[Showdown Event]: Battle Starts in 5 .. ",0;
    sleep 1000;
    announce "[Showdown Event]: 4 .. ",0;
    sleep 1000;
    announce "[Showdown Event]: 3 .. ",0;
    sleep 1000;
    announce "[Showdown Event]: 2 .. ",0;
    sleep 1000;
    announce "[Showdown Event]: 1 .. ",0;
    sleep 1000;
    announce "[Showdown Event]: FIGHT ! .. ",0;
    atcommand "@pvpon";
    atcommand "@skillon";
    
}


close;
}
OnPCKillEvent:
atcommand "@pvpoff";
atcommand "@skilloff";
end;


}

 

Edited by Emistry
Please use codebox.
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.02
  • Content Count:  291
  • Reputation:   26
  • Joined:  12/16/17
  • Last Seen:  

Anyone? I need this too huehuehue.

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...