Jump to content

hydro_ran

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by hydro_ran

  1. hello. I'm trying to make a Koth type event but the problem is when a guild breaks an emperium, the other guilds stays in the map. How can I make the other guilds warp to other maps like in normal woe when someone breaks the emperium? Here's my current on break script.

     

    OnEmpDead:

    set $koegid, getcharid(2);
    announce "The current King of The Hill is the [" + strcharinfo(2) + "] guild.", 0;
    sleep2 5000;
    monster "guild_vs1",50,50,"Emperium",1288,1,"The King::OnEmpDead";
    donpcevent "::OnRevKoE";
    end;

  2. Won't the npcmove script with a random coordinate work? like every 5 seconds or so, the script resets and sets a new coordiante for the npc to move something like,

     

    OnInit:

    goto move_npc;

     

    move_npc:

    OnTimer

    "move to this coordinate"

    sleep2 5000;

     

    goto move_npc;

     

    I tried it before but the npc moves like 1 step every 1 or so minutes.

  3. Hello, I created a hat maker NPC with a Piamette mob sprite. I wanted to see if it can move around the entire map like an actual mob wondering around. It'll be like playing Hide-and-Seek that you'll have to find the NPC first before starting a quest. lol. I run 3cEam by the way.

    Doll_Maker.txt

  4. Hello, I tried making an NPC move. It worked on a smaller scale but once I transferred it to another, bigger map, it stopped moving. Any luck?

     

    Quote

    odin_tem03,276,236,3    script    Valkyrie Eir    1751,{

    mes "Hello";
    close;

    OnInit:

    set $valk_walkx,rand(100,299); //random x on map
    set $valk_walky,rand(100,230); //random y on map
    startnpctimer;
    npcspeed 200;
    end;

    OnTimer2000:
    npcwalkto $valk_walkx, $valk_walky;
    end;

    OnTimer10000:
    npcwalkto $valk_walkx, $valk_walky;
    end;

    OnTimer13000:
    stopnpctimer;
    initnpctimer;
    end;

    }

    I want it to move all over the map like a normal mob. Thanks

×
×
  • Create New...

Important Information

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