diff options
author | megamage <none@none> | 2009-03-31 18:12:49 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-31 18:12:49 -0600 |
commit | 7f209249a26d76ee01db9c128226a24d87629553 (patch) | |
tree | 203a171e6c99d675b25da7612bd53060caf245b8 /src/bindings/scripts/include | |
parent | bd1a630463b4652e989f462cb7f2bc349e35ecea (diff) |
*Do not call reset in construct funciton of script.
*Add function doaction to safely pass parameters between scripts.
--HG--
branch : trunk
Diffstat (limited to 'src/bindings/scripts/include')
-rw-r--r-- | src/bindings/scripts/include/sc_creature.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bindings/scripts/include/sc_creature.h b/src/bindings/scripts/include/sc_creature.h index 5e0e185a9dd..a545d47332b 100644 --- a/src/bindings/scripts/include/sc_creature.h +++ b/src/bindings/scripts/include/sc_creature.h @@ -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); |