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

-- cgit From e93baa5ccd3c3abc31e29891a226ba96655da846 Mon Sep 17 00:00:00 2001 From: Stoabrogga <38475780+Stoabrogga@users.noreply.github.com> Date: Tue, 19 Mar 2019 11:05:54 +0100 Subject: Update smart_scripts.md --- docs/smart_scripts.md | 134 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 134 insertions(+) diff --git a/docs/smart_scripts.md b/docs/smart_scripts.md index 8d02c77..bb7dfd3 100644 --- a/docs/smart_scripts.md +++ b/docs/smart_scripts.md @@ -3802,6 +3802,140 @@ This is the probability of the event to occur as a percentage from 0-100. So, if if avaliable, last used invoker will cast spellId with castFlags on targets + +

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

+


+

+


+

+


+

+


+

+ -- cgit From aa195ed63b662b024199783f2c9727c4312bcb06 Mon Sep 17 00:00:00 2001 From: Stoabrogga <38475780+Stoabrogga@users.noreply.github.com> Date: Tue, 19 Mar 2019 11:24:02 +0100 Subject: Update smart_scripts.md --- docs/smart_scripts.md | 151 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 151 insertions(+) diff --git a/docs/smart_scripts.md b/docs/smart_scripts.md index bb7dfd3..11328b8 100644 --- a/docs/smart_scripts.md +++ b/docs/smart_scripts.md @@ -3936,6 +3936,157 @@ This is the probability of the event to occur as a percentage from 0-100. So, if


+ +

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

+ -- cgit