Implement area guards system.

Done without using the guard post gameobjects, since spawning them crashes the 1.12 client.
This commit is contained in:
ratkosrb
2019-03-06 19:48:01 +02:00
parent ace2884c29
commit 5d7467f79b
13 changed files with 467 additions and 9 deletions
+1 -1
View File
@@ -1121,7 +1121,7 @@ enum ScriptTarget
};
//Generic scripting functions
void DoScriptText(int32 textEntry, WorldObject* pSource, Unit* target = nullptr, uint32 chatTypeOverride = 0);
void DoScriptText(int32 textEntry, WorldObject* pSource, Unit* target = nullptr, int32 chatTypeOverride = -1);
void DoOrSimulateScriptTextForMap(int32 iTextEntry, uint32 uiCreatureEntry, Map* pMap, Creature* pCreatureSource = nullptr, Unit* pTarget = nullptr);
// Returns a target based on the type specified.