Modcraft - The community dedicated to quality WoW modding!
Community => Showoff - what you are working on => Topic started by: Kaev on June 15, 2015, 06:05:07 pm
-
Hi!
I really don't like to write the same code several times, so i created some templates for me which i want to share with you today.
The templates are made for TrinityCore 3.3.5, but could also work on newer versions, if they didn't change the scripting hooks. But i never tested anything besides 3.3.5.
CreatureScript
Gossip-Template (http://pastebin.com/Hp0XJk6D)
ScriptedAI-Template (http://pastebin.com/Ene9c2y6)
Quest-Template (http://pastebin.com/XyTN7FKa)
GameObjectScript
Gossip-Template (http://pastebin.com/0MujUbPZ)
GameObjectAI-Template (http://pastebin.com/3GgFyppK)
Quest-Template (http://pastebin.com/04dAxG0r)
ItemScript
ItemScript-Template (http://pastebin.com/xjZZqki3)
PlayerScript
OnPVPKill-Template (http://pastebin.com/diNmcy1M)
OnLevelChanged-Template (http://pastebin.com/hRvExEy8)
Tell me if you have any template wishes. :)
~Kaev
-
Small edit on the OnPVPKill-Template :)
-
Added OnlevelChanged-Template, because someone requested it.