[8548] implement db supported battleground eventindexes

those eventindexes will then be used by the battleground-code to decide
which creature belongs to which objective
for example all creatures in alteracvalley which are standing around a tower
will belong to one eventindex then.. the eventindex will be defined through the code
and must be proper documented for db-devs
This commit is contained in:
balrok 2009-04-03 12:21:05 +02:00 committed by balrok
parent 3cf92b8507
commit 538c5c257e
11 changed files with 132 additions and 2 deletions

View file

@ -1371,6 +1371,12 @@ void World::SetInitialWorldSettings()
sLog.outString( "Loading BattleMasters..." );
sBattleGroundMgr.LoadBattleMastersEntry();
sLog.outString( "Loading Creature BattleGround event indexes..." );
sBattleGroundMgr.LoadCreatureBattleEventIndexes();
sLog.outString( "Loading GameObject BattleGround event indexes..." );
sBattleGroundMgr.LoadGameObjectBattleEventIndexes();
sLog.outString( "Loading GameTeleports..." );
objmgr.LoadGameTele();