From 8a9b21e10d7eb1333dc7437f942e4585eb3f8388 Mon Sep 17 00:00:00 2001 From: Stoabrogga <38475780+Stoabrogga@users.noreply.github.com> Date: Tue, 19 Mar 2019 10:46:45 +0100 Subject: Update smart_scripts.md --- docs/smart_scripts.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/smart_scripts.md b/docs/smart_scripts.md index e7cb4d2..8d02c77 100644 --- a/docs/smart_scripts.md +++ b/docs/smart_scripts.md @@ -2433,8 +2433,7 @@ This is the probability of the event to occur as a percentage from 0-100. So, if
-
If a creature or GO is set active it will stay active even if no player is near. Take care, though, as it needs additional ressources (CPU/RAM) to keep them active (the grid where the creature or object is located cannot be unloaded and other objects/creatures nearby also stay active).
SMART_ACTION_ATTACK_START
SMART_ACTION_MOVE_TO_POS_TARGET
201
pointId
+
+
+
+
+
+
SMART_ACTION_SET_GO_STATE
202
state
+
+
+
+
+
+
SMART_ACTION_EXIT_VEHICLE
203
+
+
+
+
+
+
+
SMART_ACTION_SET_UNIT_MOVEMENT_FLAGS
204
flags
+
+
+
+
+
+
SMART_ACTION_SET_COMBAT_DISTANCE
205
combatDistance
+
+
+
+
+
+
SMART_ACTION_SET_CASTER_COMBAT_DIST
206
followDistance
resetToMax
+
+
+
+
+
SMART_ACTION_SET_HOVER
207
0/1
+
+
+
+
+
+
SMART_ACTION_ADD_IMMUNITY
208
type
id
value
+
+
+
+
SMART_ACTION_REMOVE_IMMUNITY
209
type
id
value
+
+
+
+
SMART_ACTION_FALL
210
+
+
+
+
+
+
+
SMART_ACTION_SET_EVENT_FLAG_RESET
211
0/1
+
+
+
+
+
+
SMART_ACTION_STOP_MOTION
212
stopMoving
movementExpired
+
+
+
+
+
SMART_ACTION_NO_ENVIRONMENT_UPDATE
213
+
+
+
+
+
+
+
SMART_ACTION_ZONE_UNDER_ATTACK
214
+
+
+
+
+
+
+
SMART_ACTION_LOAD_GRID
215
+
+
+
+
+
+
+
SMART_ACTION_MUSIC
216
SoundId
onlySelf
type
+
+
+
Plays the specified sound file as music. Type can be one of these values:
+0: Play music for the specified target(s)
+1: Play music for all players in the entire zone
+2: Play music for all players in the area
SMART_ACTION_RANDOM_MUSIC
217
SoundId1
SoundId2
SoundId3
SoundId4
onlySelf
type
Plays randomly one of the specified sound files as music. Type can be one of these values:
+0: Play music for the specified target(s)
+1: Play music for all players in the entire zone
+2: Play music for all players in the area