From 1eeb327c2ee4620cf90fc88c3cdd4307e53f496a Mon Sep 17 00:00:00 2001 From: Stoabrogga <38475780+Stoabrogga@users.noreply.github.com> Date: Tue, 16 Apr 2019 13:34:06 +0200 Subject: A few updates to the smart scripts documentation (#35) --- docs/smart_scripts.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'docs/smart_scripts.md') diff --git a/docs/smart_scripts.md b/docs/smart_scripts.md index 11328b8..525bf2e 100644 --- a/docs/smart_scripts.md +++ b/docs/smart_scripts.md @@ -2020,8 +2020,7 @@ This is the probability of the event to occur as a percentage from 0-100. So, if
-
Set event phase 0-9 (the actual values, no bit mask!)
SMART_ACTION_INC_EVENT_PHASE
SMART_ACTION_FORCE_DESPAWN
41
Despawn timer "ms"
Respawn timer "sec"
@@ -2320,7 +2318,9 @@ This is the probability of the event to occur as a percentage from 0-100. So, if
Despawn Target after param1 in Milliseconds. If you want to set respawn time set param2 in seconds.
+
Despawn Target after param1 in Milliseconds.
SMART_ACTION_SET_INVINCIBILITY_HP_LEVEL
PointId is called by SMART_EVENT_MOVEMENTINFORM. Continue this action with the TARGET_TYPE column. Use any target_type, and use target_x, target_y, target_z, target_o as the coordinates
SMART_ACTION_ENABLE_TEMP_GOBJ
SMART_ACTION_RESPAWN_TARGET
70
Respawntime in seconds (The time which the gob remains spawned)
Respawntime in seconds
+
@@ -2776,8 +2778,6 @@ This is the probability of the event to occur as a percentage from 0-100. So, if
Always action_param1>0
-For npcs use action_type=133
SMART_ACTION_EQUIP
SMART_ACTION_SET_HOME_POS
101
0: take position of target as new home position
+1: read home position from DB
@@ -3270,7 +3272,6 @@ This is the probability of the event to occur as a percentage from 0-100. So, if
Use with SMART_TARGET_SELF or SMART_TARGET_POSITION
SMART_ACTION_SET_HEALTH_REGEN