N Nameleszx New member Messages 108 Points 0 Aug 8, 2013 #2 When player die in a certain map (for example bossnia). It automatically warp the died player in prontera.
When player die in a certain map (for example bossnia). It automatically warp the died player in prontera.
J jaBote Community Contributors Messages 2,037 Points 0 Github jaBote Aug 8, 2013 #3 From cellphone so expect errors, or maybe not. Put this (or something like this) inside of a script: OnPCDieEvent: getmapxy(.@map$,.@x,.@y,0); if (.@map$ == "bossnia") warp "prontera",0,0; end; PS: quite funny that auto correct tried to change prontera to printer.
From cellphone so expect errors, or maybe not. Put this (or something like this) inside of a script: OnPCDieEvent: getmapxy(.@map$,.@x,.@y,0); if (.@map$ == "bossnia") warp "prontera",0,0; end; PS: quite funny that auto correct tried to change prontera to printer.
evilpuncker vai se tratar garota Messages 2,178 Points 0 Age 109 Location bronzil Github EPuncker Emulator Client Version 2019-05-30a MAIN Aug 8, 2013 #4 shorter since u need only map name OnPcDieEvent: if(strcharinfo(3) == "bossnia") warp "prontera",0,0; end;
shorter since u need only map name OnPcDieEvent: if(strcharinfo(3) == "bossnia") warp "prontera",0,0; end;
Emistry Support Leaders Messages 526 Points 0 Location Malaysia Github Emistry Emulator Aug 10, 2013 #5 bossnia have 4 maps... bossnia_01bossnia_02bossnia_03bossnia_04 the correct script should be Code: OnPCDieEvent:if( compare( strcharinfo(3),"bossnia_" ) ) warp "prontera",155,181;end;
bossnia have 4 maps... bossnia_01bossnia_02bossnia_03bossnia_04 the correct script should be Code: OnPCDieEvent:if( compare( strcharinfo(3),"bossnia_" ) ) warp "prontera",155,181;end;