aboutsummaryrefslogtreecommitdiff
path: root/doc/EventAI.txt
diff options
context:
space:
mode:
authormegamage <none@none>2009-06-18 17:05:01 -0500
committermegamage <none@none>2009-06-18 17:05:01 -0500
commitc4a8da0e32d43099c3bc3797aecc94070ab6a0d3 (patch)
treed2ac4e929e36858a3fa8ad14d9254d2f034e3f3e /doc/EventAI.txt
parent2d7a579dab8141577cd4205450affbc45737a870 (diff)
[8040] Implement Creature::ForcedDespawn and ACTION_T_FORCE_DESPAWN for EventAI. Author: NoFantasy
--HG-- branch : trunk
Diffstat (limited to 'doc/EventAI.txt')
-rw-r--r--doc/EventAI.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/EventAI.txt b/doc/EventAI.txt
index 0f411b62833..2557bada995 100644
--- a/doc/EventAI.txt
+++ b/doc/EventAI.txt
@@ -132,6 +132,7 @@ Params are always read from Param1, then Param2, then Param3.
38 ACTION_T_ZONE_COMBAT_PULSE No Params Places all players within the instance into combat with the creature. Only works in combat and only works inside of instances.
39 ACTION_T_CALL_FOR_HELP Radius Call any friendly creatures (if its not in combat/etc) in radius attack creature target.
40 ACTION_T_SET_SHEATH Sheath Let set sheath state for creature (0-no weapon show (not used mostly by creatures), 1-melee weapon show, 2-ranged weapon show)
+41 ACTION_T_FORCE_DESPAWN No Params Despawns the creature
* = Use -1 to specify that if this param is picked to do nothing. Random is constant between actions within an event. So if you have a random Yell and a random Sound they will match up (ex: param2 with param2)
@@ -725,6 +726,12 @@ Let set sheath state for creature.
Note: SHEATH_STATE_RANGED case work in combat state only if combat not start as melee commands.
This possible setup by set ar event AI start (single used EVENT_T_TIMER_OOC set ACTION_T_COMBAT_MOVEMENT 0 for creature that prefered ranged attack)
+-------------------------
+41 ACTION_T_FORCE_DESPAWN
+-------------------------
+Despawns the creature (in or out of combat)
+No parameters
+
=========================================
Target Types
=========================================