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