Jump to content

Shikka

Members
  • Posts

    33
  • Joined

  • Last visited

Community Answers

  1. Shikka's post in PVP ON on a chosen part of a MAP was marked as the answer   
    okay, that can be fixed!
    you only have to check, from where they warp to another map.
    if they aren't in that area, do @battleignore and if they are in that area and warp with an npc or something only an end.
    like this:
    getmapxy @loadmap$,@x,@y,0;
    if (@loadmap$ == "prontera" && @x > 149 && @x < 163 && @y > 74 && @y < 89){
    warp "izlude",0,0; // <--- just an example, i dunno the right "warp" command at the moment.
    end;
    }
    atcommand "@battleignore";
    warp "izlude",0,0; // <--- just an example, i dunno the right "warp" command at the moment.
    end;
    you've to edit any warp on this map with this command.
    and this (just once) ->
    - script logoutevent -1,{
    OnPCLogoutEvent:
    getmapxy @logoutmap$,@x,@y,0;
    if (@logoutmap$ == "prontera" && @x > 149 && @x < 163 && @y > 74 && @y < 89){
    warp "prontera",170,90; // have to be higher or under the pvp-area coordinates.
    }
    end;
    }
    just how i told ya, it's really anoying and not the best way, but i think it's the only way at the moment.
    but i dunno.
    i'm not good at editing the source code, so it's up to you, if you wanna do it like this.
×
×
  • Create New...