Examples of spawnMe()


Examples of net.sf.l2j.gameserver.model.actor.instance.L2StaticObjectInstance.spawnMe()

        L2StaticObjectInstance obj = new L2StaticObjectInstance(IdFactory.getInstance().getNextId());
        obj.setType(type);
        obj.setStaticObjectId(id);
        obj.setXYZ(x, y, z);
        obj.setMap(texture, map_x, map_y);
        obj.spawnMe();

        return obj;
    }
}
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.instance.L2SummonInstance.spawnMe()

    summon.setHeading(activeChar.getHeading());
      summon.setRunning();
    activeChar.setPet(summon);

      L2World.getInstance().storeObject(summon);
        summon.spawnMe(activeChar.getX()+50, activeChar.getY()+100, activeChar.getZ());

      summon.setFollowStatus(true);
        summon.setShowSummonAnimation(false); // addVisibleObject created the info packets with summon animation
                                              // if someone comes into range now, the animation shouldnt show any more
        activeChar.sendPacket(new PetInfo(summon));
View Full Code Here

Examples of npc.model.L2SepulcherMonsterInstance.spawnMe()

    {
      L2NpcTemplate template = NpcTable.getTemplate(loc.id);
      L2SepulcherMonsterInstance mob = new L2SepulcherMonsterInstance(IdFactory.getInstance().getNextId(), template);
      mob.onSpawn();
      mob.setSpawnedLoc(loc);
      mob.spawnMe(loc);
      mob.mysteriousBoxId = npcId;
      _allMobs.add(mob);
    }
    _archonSpawned.put(npcId, true);
  }
View Full Code Here

Examples of npc.model.L2SepulcherNpcInstance.spawnMe()

      _inEntryTime = false;
      _inAttackTime = true;
      for(GateKeeper gk : FourSepulchersSpawn._GateKeepers)
      {
        L2SepulcherNpcInstance npc = new L2SepulcherNpcInstance(IdFactory.getInstance().getNextId(), gk.template);
        npc.spawnMe(gk);
        FourSepulchersSpawn._allMobs.add(npc);
      }
      FourSepulchersSpawn.locationShadowSpawns();
      FourSepulchersSpawn.spawnMysteriousBox(31921);
      FourSepulchersSpawn.spawnMysteriousBox(31922);
View Full Code Here

Examples of npc.model.L2SepulcherRaidInstance.spawnMe()

    }
    L2NpcTemplate template = NpcTable.getTemplate(loc.id);
    L2SepulcherRaidInstance mob = new L2SepulcherRaidInstance(IdFactory.getInstance().getNextId(), template);
    mob.onSpawn();
    mob.setSpawnedLoc(loc);
    mob.spawnMe(loc);
    mob.mysteriousBoxId = npcId;
    _allMobs.add(mob);
  }

  public static void locationShadowSpawns()
View Full Code Here

Examples of npc.model.PathfinderInstance.spawnMe()

              if(loc != null)
              {
                PathfinderInstance npc = new PathfinderInstance(IdFactory.getInstance().getNextId(), NpcHolder.getInstance().getTemplate(PATHFINDER));
                npc.setSpawnedLoc(Location.parseLoc(loc));
                npc.setReflection(KamalokaNightmare.this);
                npc.spawnMe(npc.getSpawnedLoc());
              }
            }
          }
          else
            collapse();
View Full Code Here

Examples of npc.model.SepulcherMonsterInstance.spawnMe()

    for (NpcLocation loc : monsterList)
    {
      NpcTemplate template = NpcHolder.getInstance().getTemplate(loc.npcId);
      SepulcherMonsterInstance mob = new SepulcherMonsterInstance(IdFactory.getInstance().getNextId(), template);
      mob.setSpawnedLoc(loc);
      mob.spawnMe(loc);
      mob.mysteriousBoxId = npcId;
      _allMobs.add(mob);
    }
    _archonSpawned.put(npcId, true);
  }
View Full Code Here

Examples of npc.model.SepulcherNpcInstance.spawnMe()

      _inEntryTime = false;
      _inAttackTime = true;
      for (GateKeeper gk : FourSepulchersSpawn._GateKeepers)
      {
        SepulcherNpcInstance npc = new SepulcherNpcInstance(IdFactory.getInstance().getNextId(), gk.template);
        npc.spawnMe(gk);
        FourSepulchersSpawn._allMobs.add(npc);
      }
      FourSepulchersSpawn.locationShadowSpawns();
      FourSepulchersSpawn.spawnMysteriousBox(31921);
      FourSepulchersSpawn.spawnMysteriousBox(31922);
View Full Code Here

Examples of npc.model.SepulcherRaidInstance.spawnMe()

      return;
    }
    NpcTemplate template = NpcHolder.getInstance().getTemplate(loc.npcId);
    SepulcherRaidInstance mob = new SepulcherRaidInstance(IdFactory.getInstance().getNextId(), template);
    mob.setSpawnedLoc(loc);
    mob.spawnMe(loc);
    mob.mysteriousBoxId = npcId;
    _allMobs.add(mob);
  }
 
  /**
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.