Creature importer... how's work?

fa1thDEV

Baron
Customer
Hi, I'm trying to get the area of a raid boss, so I can advertise but unfortunately I only get the coordinates and a user has told me to look into “creatures” in the import script.

but I still can't figure out how to get the zone name without going to the PvPK announce system that announces it in the chat and not in the “announcement” way.
 
How work this? is possible create another?..

1738415950925.webp

An this?

JavaScript:
                for(Player var3 : GameObjectsStorage.getAllPlayersForIterate()) {
                    if (var3.getVarB("PvPAnnounce")) {
                        Announcements.getInstance().announceToPlayerByCustomMessage(var3, "player.pkannounce", new String[]{var1.getName(), this.getName()}, ChatType.ANNOUNCEMENT);
                    }
                }

this is the method what work with the client + systemmsg in that method I can get de "ZoneName" but we cant obtain the "ZoneName" with another method?

1738416060971.webp
 
Back
Top