I've written another little patch for doors...
Index: src/game/SpellEffects.cpp
===================================================================
--- src/game/SpellEffects.cpp (revision 6757)
+++ src/game/SpellEffects.cpp (working copy)
@@ -53,6 +53,7 @@
#include "SocialMgr.h"
#include "Util.h"
#include "TemporarySummon.h"
+#include "ScriptCalls.h"
pEffect SpellEffects[TOTAL_SPELL_EFFECTS]=
{
@@ -2751,6 +2752,8 @@
switch (gameObjTarget->GetGoType())
{
case GAMEOBJECT_TYPE_DOOR:
+ Script->GOHello(player, gameObjTarget);
+ sWorld.ScriptsStart(sGameObjectScripts, gameObjTarget->GetDBTableGUIDLow(), player, gameObjTarget);
case GAMEOBJECT_TYPE_BUTTON:
gameObjTarget->UseDoorOrButton();
sWorld.ScriptsStart(sGameObjectScripts, gameObjTarget->GetDBTableGUIDLow(), player, gameObjTarget);
at this quest ( http://www.wowhead.com/?quest=10852 ), you must free the children in the cages, but there isnt only one child in one cage, sometimes there three or four...
and the cages are doors and now theres no way to do this without sd2