From 14cf32f6a56af003ff0b99d40e811b6b14278c64 Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Wed, 22 Apr 2020 15:03:51 +0200 Subject: Implement new SAI Actions (#209) --- docs/smart_scripts.md | 72 +++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 70 insertions(+), 2 deletions(-) (limited to 'docs/smart_scripts.md') diff --git a/docs/smart_scripts.md b/docs/smart_scripts.md index c990b7a..2b2901e 100644 --- a/docs/smart_scripts.md +++ b/docs/smart_scripts.md @@ -2543,8 +2543,7 @@ This is the probability of the event to occur as a percentage from 0-100. So, if
SMART_ACTION_SET_ORIENTATION
66
Depends on the script target. If SMART_TARGET_SELF, facing will be the same as in HomePosition, For SMART_TARGET_POSITION you need to set target_o : 0 = North, West = 1.5, South = 3, East = 4.5
-
Random orientation? (0/1)
@@ -3708,6 +3707,75 @@ This is the probability of the event to occur as a percentage from 0-100. So, if
1: Play music for all players in the entire zone
2: Play music for all players in the area
SMART_ACTION_CUSTOM_CAST
218
spellId
castFlag
bp0
bp1
bp2
+
+
SMART_ACTION_CONE_SUMMON
219
entry
Duration (ms)
+0 = permanent
Distance between rings (yards)
Distance between each summons in a row (yards)
Length of the cone (yards)
Width of the cone (angle 1°-360°)
Allows you to spawn creatures in a cone (As seen in later expansions). Useful for custom cone aoes
SMART_ACTION_PLAYER_TALK
220
acore_string.id
yell? (0/1)
+
+
+
+
Make the player say something
SMART_ACTION_VORTEX_SUMMON
221
entry
Duration (ms)
+0 = permanent
Spiral scaling
Spiral appearance
range max
phi_delta
Allows you to summon creature in a customizable spiral(/vortex). Parameters can be confusing, exmaple parameters for testing: 5000 - summon duration, 5 - Spiral Scaling, 25 - spiral appearance, 60 - range max, 40 - phi delta
SMART_ACTION_CU_ENCOUNTER_START
222
+
+
+
+
+
+
Resets all cooldowns and removes exhausted debuffs when action is called