mirror of
https://github.com/mangosfour/server.git
synced 2025-12-25 04:37:02 +00:00
[11985] Implement support for go_template_scripts
Add a new table `gameobject_template_scripts` to start scripts for any type gameobject. Scripts in this table are triggered for all gameobjects on GameObject::Use Note: The table `gameobject_scripts` is expected to not be required very much longer, and will most likely be removed someday
This commit is contained in:
parent
4e6fbf5e9e
commit
010d29d1ed
9 changed files with 94 additions and 5 deletions
|
|
@ -388,6 +388,7 @@ extern ScriptMapMapName sQuestEndScripts;
|
|||
extern ScriptMapMapName sQuestStartScripts;
|
||||
extern ScriptMapMapName sSpellScripts;
|
||||
extern ScriptMapMapName sGameObjectScripts;
|
||||
extern ScriptMapMapName sGameObjectTemplateScripts;
|
||||
extern ScriptMapMapName sEventScripts;
|
||||
extern ScriptMapMapName sGossipScripts;
|
||||
extern ScriptMapMapName sCreatureMovementScripts;
|
||||
|
|
@ -407,6 +408,7 @@ class ScriptMgr
|
|||
~ScriptMgr();
|
||||
|
||||
void LoadGameObjectScripts();
|
||||
void LoadGameObjectTemplateScripts();
|
||||
void LoadQuestEndScripts();
|
||||
void LoadQuestStartScripts();
|
||||
void LoadEventScripts();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue