function getmonstercount?

Results 1 to 3 of 3
  1. #1
    Grand Master mixtamal6 is offline
    Grand MasterRank
    Mar 2013 Join Date
    686Posts

    Support function getmonstercount?

    Hello I am creating a minitutorial for the new user,


    but it is not working because the monsters have the map I look at the example here:

    Code:
    getMap().spawnMonsterOnGroudBelow(MapleLifeFactory.getMonster(100100), new Point(0, -219));
    getMap().spawnMonsterOnGroudBelow(MapleLifeFactory.getMonster(100100), new Point(0, -219));
    getMap().spawnMonsterOnGroudBelow(MapleLifeFactory.getMonster(100100), new Point(0, -219));
         c.getPlayer().getMap().broadcastMessage(CWvsContext.serverNotice(6, "Defeat all Monsters in map!"));
    
    //Condition :s
    
    if (getMonsterCount(getMapId()) == 0){
    c.getPlayer().getMap().broadcastMessage(CWvsContext.serverNotice(6, "Gratz !"));
    }
    }else{
    c.getPlayer().getMap().broadcastMessage(CWvsContext.serverNotice(6, "You Need Defeat All Monsters in the map"));
    }


    my question is, because the counter is made, such as the map is 10000

    how to use this function ? help me


  2. #2
    Grand Master Syre is offline
    Grand MasterRank
    Jan 2013 Join Date
    700Posts

    Re: function getmonstercount?

    We don't know without seeing the function...................

  3. #3
    Grand Master mixtamal6 is offline
    Grand MasterRank
    Mar 2013 Join Date
    686Posts

    Re: function getmonstercount?

    oh i fixed :D

    close thread plz



Advertisement