From 408b68c45a8f5d718956f1f91a67741d3fac8a88 Mon Sep 17 00:00:00 2001 From: Gultask <100873791+Gultask@users.noreply.github.com> Date: Sat, 1 Apr 2023 18:37:00 -0300 Subject: Update smart_scripts.md (#890) --- docs/smart_scripts.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/smart_scripts.md') 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
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). | -- cgit