*Do not call reset in construct funciton of script.

*Add function doaction to safely pass parameters between scripts.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-31 18:12:49 -06:00
parent bd1a630463
commit 7f209249a2
270 changed files with 335 additions and 578 deletions
@@ -149,6 +149,8 @@ struct TRINITY_DLL_DECL ScriptedAI : public CreatureAI
void DoTeleportTo(float x, float y, float z, uint32 time = 0);
void DoAction(const int32 param) {}
//Teleports a player without dropping threat (only teleports to same map)
void DoTeleportPlayer(Unit* pUnit, float x, float y, float z, float o);
void DoTeleportAll(float x, float y, float z, float o);