Implement area guards system.
Done without using the guard post gameobjects, since spawning them crashes the 1.12 client.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user