summaryrefslogtreecommitdiff
path: root/docs/smart_scripts.md
diff options
context:
space:
mode:
authorGultask <100873791+Gultask@users.noreply.github.com>2023-04-01 18:37:00 -0300
committerGitHub <noreply@github.com>2023-04-01 23:37:00 +0200
commit408b68c45a8f5d718956f1f91a67741d3fac8a88 (patch)
tree569985d2f64b6142ec57643a565a5db0b37852c5 /docs/smart_scripts.md
parentf6b9430c9d7241ec43bf67700481a9ccb2205b16 (diff)
downloadwiki-408b68c45a8f5d718956f1f91a67741d3fac8a88.tar.gz
wiki-408b68c45a8f5d718956f1f91a67741d3fac8a88.tar.bz2
wiki-408b68c45a8f5d718956f1f91a67741d3fac8a88.zip
Update smart_scripts.md (#890)
Diffstat (limited to 'docs/smart_scripts.md')
-rw-r--r--docs/smart_scripts.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/smart_scripts.md b/docs/smart_scripts.md
index 1140f7d..2606754 100644
--- a/docs/smart_scripts.md
+++ b/docs/smart_scripts.md
@@ -224,8 +224,8 @@ This is the probability of the event to occur as a percentage from 0-100. So, if
| SMART_ACTION_TALK | 1 | creature_text.GroupID | Duration to wait before SMART_EVENT_TEXT_OVER is triggered. | 0 It will try to trigger talk of the target<br/>1 Set target as talk target (used for $vars in texts and whisper target) | | | | Param2 in Milliseconds. |
| SMART_ACTION_SET_FACTION | 2 | FactionID (or 0 for default) | | | | | | Sets faction to creature. |
| SMART_ACTION_MORPH_TO_ENTRY_OR_MODEL | 3 | creature_template.entry(param1) | creature_template.modelidx(param2) | | | | | Take DisplayID of creature (param1) OR Turn to DisplayID (param2) OR Both = 0 for Demorph |
-| SMART_ACTION_SOUND | 4 | SoundId | onlySelf (0/1) | distance | | | | Play Sound; onlySelf = 1 only sends sound to self, onlySelf = 0 sends sound to everyone in visibility range |
-| SMART_ACTION_PLAY_EMOTE | 5 | EmoteId | | | | | | Play Emote |
+| SMART_ACTION_SOUND | 4 | SoundId | onlySelf (0/1) | distance | | | | Play Sound; onlySelf = 1 only sends sound to self, onlySelf = 0 sends sound to everyone in visibility range |
+| SMART_ACTION_PLAY_EMOTE | 5 | EmoteId | | | | | | Makes the target perform an Emote |
| SMART_ACTION_FAIL_QUEST | 6 | QuestID | | | | | | Fail Quest of Target |
| SMART_ACTION_OFFER_QUEST | 7 | quest_template.id | directAdd (0/1) | | | | | Add Quest to Target |
| SMART_ACTION_SET_REACT_STATE | 8 | ReactState | | | | | | React State. Can be Passive (0), Defensive (1), Aggressive (2). |