master 分支适用,其余版本可能略有区别,详细解释参见源码 SmartScriptMgr.h
Action_type_Namelang | Value | param1 | param2 | param3 | param4 | param5 | param6 | Comment |
SMART_ACTION_NONE = 0 | 0 | No action | ||||||
SMART_ACTION_TALK = 1 | 1 | GroupID | duration in ms to wait before text_over event is triggered | useTalkTarget: 0: target talks to invoker 1: creature talks to target | action_param3 only relevant for creature targets | |||
SMART_ACTION_SET_FACTION = 2 | 2 | FactionTemplate ID (0: default) | Set Faction to creature | |||||
SMART_ACTION_MORPH_TO_ENTRY_OR_MODEL = 3 | 3 | Creature_template entry | Creature_template.modelID | Set one or the other; both 0: demorph | ||||
SMART_ACTION_SOUND = 4 | 4 | SoundEntry ID | onlySelf? (0/1) | distantSound? (0/1) | distantSound: external sound source | |||
SMART_ACTION_PLAY_EMOTE = 5 | 5 | Emote ID | EmoteId | |||||
SMART_ACTION_FAIL_QUEST = 6 | 6 | Quest ID | Fail quest of target(target_type) | |||||
SMART_ACTION_OFFER_QUEST = 7 | 7 | Quest ID | directAdd: 0 - offer quest 1 - add quest to log | Offer quest to target(target_type) | ||||
SMART_ACTION_SET_REACT_STATE = 8 | 8 | state,取值参考 enum ReactStates 0:被动(PASSIVE) 1:防御(DEFENSIVE) 2:主动(AGGRESSIVE) 3:协助(ASSIST) | Set react state | |||||
SMART_ACTION_ACTIVATE_GOBJECT = 9 | 9 | Set gameobject active | ||||||
SMART_ACTION_RANDOM_EMOTE = 10 | 10 | Emote ID1 | Emote ID2 | Emote ID3 | Emote ID4 | Emote ID5 | Emote ID6 | Play random emote |
SMART_ACTION_CAST = 11 | 11 | Spell ID | enum SmartCastFlags | enum TriggerCastFlags | Cast spell at taget | |||
SMART_ACTION_SUMMON_CREATURE = 12 | 12 | Creature_template entry | SummonType | duration in ms | attackInvoker? (0/1) | SmartActionSummonCreatureFlags: 0x1 : PersonalSpawn 0x2 : PreferUnit | Summon Creature Summon Type: 1:Despawns after a specified time OR when the creature disappears 2:Despawns after a specified time OR when the creature dies: 3:Despawns after a specified time 4:Despawns after a specified time after the creature is out of combat 5:Despawns instantly after death 6:Despawns after a specified time after death 7:Despawns when the creature disappears 8:Despawns when UnSummon() is called | |
SMART_ACTION_THREAT_SINGLE_PCT = 13 | 13 | Threat% incr. | Threat% decr. | Change threat percentage for single target | ||||
SMART_ACTION_THREAT_ALL_PCT = 14 | 14 | Threat% incr. | Threat% decr. | Change threat percentage for all targets | ||||
SMART_ACTION_CALL_AREAEXPLOREDOREVENTHAPPENS = 15 | 15 | QuestID | UNUSED, DO NOT REUSE. | |||||
SMART_ACTION_SET_INGAME_PHASE_GROUP = 16 | 16 | phaseId | used on 4.3.4 and higher scripts | |||||
SMART_ACTION_SET_EMOTE_STATE = 17 | 17 | Emote ID | Play emote continuously | |||||
SMART_ACTION_SET_UNIT_FLAG = 18 | 18 | flags | 0: set unit_flags 1: set unit_flags2 | UNUSED, DO NOT REUSE. | ||||
SMART_ACTION_REMOVE_UNIT_FLAG = 19 | 19 | flags | 0: set unit_flags 1: set unit_flags2 | UNUSED, DO NOT REUSE. | ||||
SMART_ACTION_AUTO_ATTACK = 20 | 20 | allowAttack? (0/1) | Start or Stop autoattack (0 = stop attack, anything else means continue attacking) | |||||
SMART_ACTION_ALLOW_COMBAT_MOVEMENT = 21 | 21 | allowMovement? (0/1) | Allow or Disable Combat Movement (0 = stop combat based movement, anything else continue attacking) | |||||
SMART_ACTION_SET_EVENT_PHASE = 22 | 22 | smart_scripts.event_phase_mask | Set phase,see event_phase_mask(66) | |||||
SMART_ACTION_INC_EVENT_PHASE = 23 | 23 | increment | decrement | only increment or decrement,should not be 0 | ||||
SMART_ACTION_EVADE = 24 | 24 | 0: to respawn pos. 1: to last stored home pos. | Enter Evade mode. | |||||
SMART_ACTION_FLEE_FOR_ASSIST = 25 | 25 | withEmote? (0/1) | Emote: '%s attempts to run away in fear' | |||||
SMART_ACTION_CALL_GROUPEVENTHAPPENS = 26 | 26 | quest ID | UNUSED, DO NOT REUSE. | |||||
SMART_ACTION_COMBAT_STOP = 27 | 27 | No Params | ||||||
SMART_ACTION_REMOVEAURASFROMSPELL = 28 | 28 | Spell ID 0: removes all auras | charges (0: all) | onlyOwned? (0/1) | ||||
SMART_ACTION_FOLLOW = 29 | 29 | distance 0: default | angle 0: default | EndCreatureEntry | credit | creditType: 0: monsterkill 1: event | Following ends when reaching end. creature.Credit is rewarded upon StopFollow. | |
SMART_ACTION_RANDOM_PHASE = 30 | 30 | smart_scripts.event_phase_mask1 | smart_scripts.event_phase_mask2 | smart_scripts.event_phase_mask3 | smart_scripts.event_phase_mask4 | smart_scripts.event_phase_mask5 | smart_scripts.event_phase_mask6 | Set random phase,see event_phase_mask(66) |
SMART_ACTION_RANDOM_PHASE_RANGE = 31 | 31 | smart_scripts.event_phase_mask minimum | smart_scripts.event_phase_mask maximum | Set random phase radius(PhaseMin, PhaseMax),see event_phase_mask(66) | ||||
SMART_ACTION_RESET_GOBJECT = 32 | 32 | |||||||
SMART_ACTION_CALL_KILLEDMONSTER = 33 | 33 | Creature_template entry | Satisfy RequiredNpcOrGo | |||||
SMART_ACTION_SET_INST_DATA = 34 | 34 | fieldId | data | type: 0: SetData 1: SetBossState | if type: 0: arbitrary data 1: EncounterState | |||
SMART_ACTION_SET_INST_DATA64 = 35 | 35 | fieldId | save target's guid in instance's fieldId | |||||
SMART_ACTION_UPDATE_TEMPLATE = 36 | 36 | Creature_template entry | updateLevel? (0/1) | Updates creature_template to given entry.Can set level from given creature entry. | ||||
SMART_ACTION_DIE = 37 | 37 | No Params | ||||||
SMART_ACTION_SET_IN_COMBAT_WITH_ZONE = 38 | 38 | No Params | ||||||
SMART_ACTION_CALL_FOR_HELP = 39 | 39 | range | withEmote? (0/1) | Emote: '%s calls for help!'. | ||||
SMART_ACTION_SET_SHEATH = 40 | 40 | Sheath: 0: unarmed 1: melee 2: ranged | Set sheath | |||||
SMART_ACTION_FORCE_DESPAWN = 41 | 41 | despawnDelay in ms | forceRespawnTimer in sec | Force despawn | ||||
SMART_ACTION_SET_INVINCIBILITY_HP_LEVEL = 42 | 42 | flat hp value | percent hp value | MinHpValue(+pct, -flat),pct takes precedent over flat | ||||
SMART_ACTION_MOUNT_TO_ENTRY_OR_MODEL = 43 | 43 | Creature_template entry | creature.template.ModelID | Set one or the other; both 0: dismount | ||||
SMART_ACTION_SET_INGAME_PHASE_ID = 44 | 44 | creature.phaseId | Sets phaseMask of target(target_type) | |||||
SMART_ACTION_SET_DATA = 45 | 45 | fieldId | data | 设置触发数据,与下列 Event Type 联用: SMART_EVENT_DATA_SET = 38 | ||||
SMART_ACTION_ATTACK_STOP = 46 | 46 | Stop melee, spell casting during combat, chasing the target and facing | ||||||
SMART_ACTION_SET_VISIBILITY = 47 | 47 | visible? (0/1) | set target visibility | |||||
SMART_ACTION_SET_ACTIVE = 48 | 48 | active? (0/1) | make target grid active/inactive | |||||
SMART_ACTION_ATTACK_START = 49 | 49 | |||||||
SMART_ACTION_SUMMON_GO = 50 | 50 | gameobject entry | despawnTime in sec | SummonType | Spawns Gameobject, use target_type to set spawn position | |||
SMART_ACTION_KILL_UNIT = 51 | 51 | Forces non-player target to die | ||||||
SMART_ACTION_ACTIVATE_TAXI = 52 | 52 | TaxiPath ID | Sends target player to flight path. You have to be close to Flight Master, which gives Taxi ID you need | |||||
SMART_ACTION_WP_START = 53 | 53 | 0 = walk / 1 = run | Waypoint entry | canRepeat? (0/1) | quest_template.id | despawntime | reactState | Creature starts Waypoint Movement. Use waypoints table to create movement |
SMART_ACTION_WP_PAUSE = 54 | 54 | time in ms | Creature pauses its Waypoint Movement for given time | |||||
SMART_ACTION_WP_STOP = 55 | 55 | despawnTime | quest ID | failQuest? (0/1) | Creature stops its Waypoint Movement | |||
SMART_ACTION_ADD_ITEM = 56 | 56 | item entry | count | Adds item(s) to player | ||||
SMART_ACTION_REMOVE_ITEM = 57 | 57 | item entry | count | Removes item(s) from player. | ||||
SMART_ACTION_INSTALL_AI_TEMPLATE = 58 | 58 | UNUSED, DO NOT REUSE | ||||||
SMART_ACTION_SET_RUN = 59 | 59 | enable? (0/1) | Set Run | |||||
SMART_ACTION_SET_DISABLE_GRAVITY = 60 | 60 | disable? (0/1) | Only works for creatures with inhabit type(air) | |||||
SMART_ACTION_SET_SWIM = 61 | 61 | UNUSED, DO NOT REUSE | ||||||
SMART_ACTION_TELEPORT = 62 | 62 | Map ID | Use World Pos. from target_type to set destination | |||||
SMART_ACTION_SET_COUNTER = 63 | 63 | counterID | value | reset? (0/1) | 设置计数器,与下列Event Type 联用: SMART_EVENT_COUNTER_SET = 77 | |||
SMART_ACTION_STORE_TARGET_LIST = 64 | 64 | varID | Store target list | |||||
SMART_ACTION_WP_RESUME = 65 | 65 | Creature continues in its Waypoint Movement. | ||||||
SMART_ACTION_SET_ORIENTATION = 66 | 66 | orientation: 1: HomePos. 8: target_o value !0 - facing target | Orientation depends on target_type: 1: smart_target_self 8: smart_target_position !0: smart_target_none | |||||
SMART_ACTION_CREATE_TIMED_EVENT = 67 | 67 | id | InitialMin | InitialMax | RepeatMin (0: no repeat) | RepeatMax (0: no repeat) | chance (0: 100%) | 设置计时触发事件,与下列 Event Type 联用: SMART_EVENT_TIMED_EVENT_TRIGGERED = 59 |
SMART_ACTION_PLAYMOVIE = 68 | 68 | MovieID | Requires target player | |||||
SMART_ACTION_MOVE_TO_POS = 69 | 69 | PointID | onTransport? (0/1) | noPathfinding? (0/1) | ContactDistance | PointID is called by smart_event_movementform(71).Position is set with target_type | ||
SMART_ACTION_ENABLE_TEMP_GOBJ = 70 | 70 | respawn time in sec | Gameobject selected by target_type | |||||
SMART_ACTION_EQUIP = 71 | 71 | creature_equip_template.creatureId | slotmask 0: slot1 | slot2 | slot3 (1+2+4) 1:slot1 2:slot2 4:slot3 | right(1) item entry | left(2) item entry | ranged(3) item entry | Set equipment on target creature.Slotmask slot1, slot2, slot3 , only slots with mask set will be sent to client, bits are 1, 2, 4, leaving mask 0 is defaulted to mask 7 (send all), slots1-3 are only used if no entry is set.Slots1-3 item entries are only used if no equipment ID is set. | |
SMART_ACTION_CLOSE_GOSSIP = 72 | 72 | Closes gossip window | ||||||
SMART_ACTION_TRIGGER_TIMED_EVENT = 73 | 73 | id(>1) | Trigger timed event | |||||
SMART_ACTION_REMOVE_TIMED_EVENT = 74 | 74 | id(>1) | Removed timed event | |||||
SMART_ACTION_ADD_AURA = 75 | 75 | UNUSED, DO NOT REUSE | ||||||
SMART_ACTION_OVERRIDE_SCRIPT_BASE_OBJECT = 76 | 76 | UNUSED, DO NOT REUSE | ||||||
SMART_ACTION_RESET_SCRIPT_BASE_OBJECT = 77 | 77 | UNUSED, DO NOT REUSE | ||||||
SMART_ACTION_CALL_SCRIPT_RESET = 78 | 78 | none | ||||||
SMART_ACTION_SET_RANGED_MOVEMENT = 79 | 79 | attackDistance | arrackAngle | Sets movement to follow at a specific range to the target | ||||
SMART_ACTION_CALL_TIMED_ACTIONLIST = 80 | 80 | EntryOrGuid * 100 | updateType: 0: out of combat 1: in combat 2: always | can override in going action list? (0/1) | Start TimedActionList on SAI enabled target | |||
SMART_ACTION_SET_NPC_FLAG = 81 | 81 | npcflag | Replace npcflags on creature taget | |||||
SMART_ACTION_ADD_NPC_FLAG = 82 | 82 | npcflag | Add npcflags to creature taget | |||||
SMART_ACTION_REMOVE_NPC_FLAG = 83 | 83 | npcflag | Remove npcflags from creature taget | |||||
SMART_ACTION_SIMPLE_TALK = 84 | 84 | groupID | groupID, can be used to make players say groupID, Text_over event is not triggered, whisper can not be used (Target units will say the text) | |||||
SMART_ACTION_SELF_CAST = 85 | 85 | Spell ID | CastFlags | TriggeredFlags | maxTargets (0: all) | The targets will cast the spell on it themself | ||
SMART_ACTION_CROSS_CAST = 86 | 86 | Spell ID | CastFlags | caster_target_type | caster_target_param1 | caster_target_param2 | caster_target_param3 | The origonal target fields as Destination target, CasterTargets will cast spellID on all Targets .Use with caution if targeting multiple * multiple units |
SMART_ACTION_CALL_RANDOM_TIMED_ACTIONLIST = 87 | 87 | entryorguid1 | entryorguid2 | entryorguid3 | entryorguid4 | entryorguid5 | entryorguid6 | Start random (id > 0) TimedActionList on SAI enabled target |
SMART_ACTION_CALL_RANDOM_RANGE_TIMED_ACTIONLIST = 88 | 88 | min. entryorguid | max. entryorguid | Start random (min <= id <= max) TimedActionList on SAI enabled target | ||||
SMART_ACTION_RANDOM_MOVE = 89 | 89 | Radius(0: idleMove) | Creature target or self moves maxDist in random direction | |||||
SMART_ACTION_SET_UNIT_FIELD_BYTES_1 = 90 | 90 | Value | Type: 2: UnitVisFlags | Set units BYTES_1 at target offset | ||||
SMART_ACTION_REMOVE_UNIT_FIELD_BYTES_1 = 91 | 91 | Value | Type: 0: StandState 2: UnitVisFlags 3: AnimTier | Remove units BYTES_1 at target offset | ||||
SMART_ACTION_INTERRUPT_SPELL = 92 | 92 | withDelayed? (0/1) | Spell ID | withInstant? (0/1) | Interrupt the current spell being cast by target.Without Spell ID, the core will find the current spell depending on withDelay and withInstant | |||
SMART_ACTION_SEND_GO_CUSTOM_ANIM = 93 | 93 | UNUSED, DO NOT REUSE | ||||||
SMART_ACTION_SET_DYNAMIC_FLAG = 94 | 94 | UNUSED, DO NOT REUSE | ||||||
SMART_ACTION_ADD_DYNAMIC_FLAG = 95 | 95 | UNUSED, DO NOT REUSE | ||||||
SMART_ACTION_REMOVE_DYNAMIC_FLAG = 96 | 96 | UNUSED, DO NOT REUSE | ||||||
SMART_ACTION_JUMP_TO_POS = 97 | 97 | speedXY | speedZ | Gravity | UseDefaultGravity | PointId | ContactDistance | Jump to positon |
SMART_ACTION_SEND_GOSSIP_MENU = 98 | 98 | MenuID | TextID | Can be used together with smart_event_gossip_hello(64) to set custom gossip. | ||||
SMART_ACTION_GO_SET_LOOT_STATE = 99 | 99 | state
| Set state of target gameobject | |||||
SMART_ACTION_SEND_TARGET_TO_TARGET = 100 | 100 | varId | Send targets previously stored with SMART_ACTION_STORE_TARGET, to another npc/go.The other npc/go can then access them as if it was its own stored list. | |||||
SMART_ACTION_SET_HOME_POS = 101 | 101 | Set target creatures home pos. to: smart_target_self(1): creatures current World pos smart_target_position(8): World pos. from target_type smart_target_none (!0): targets current World pos | ||||||
SMART_ACTION_SET_HEALTH_REGEN = 102 | 102 | enable? (0/1) | Enable/Disable health regeneration for target creature. | |||||
SMART_ACTION_SET_ROOT = 103 | 103 | enable? (0/1) | Root/Unroot target creature | |||||
SMART_ACTION_SET_GO_FLAG = 104 | 104 | UNUSED, DO NOT REUSE | ||||||
SMART_ACTION_ADD_GO_FLAG = 105 | 105 | UNUSED, DO NOT REUSE | ||||||
SMART_ACTION_REMOVE_GO_FLAG = 106 | 106 | UNUSED, DO NOT REUSE | ||||||
SMART_ACTION_SUMMON_CREATURE_GROUP = 107 | 107 | creature_summon_groups.groupID | attackInvoker? (0/1) | target not used | ||||
SMART_ACTION_SET_POWER = 108 | 108 | PowerType | new power | Set power | ||||
SMART_ACTION_ADD_POWER = 109 | 109 | PowerType | power to add | Add power | ||||
SMART_ACTION_REMOVE_POWER = 110 | 110 | PowerType | power to remove | Remove power | ||||
SMART_ACTION_GAME_EVENT_STOP = 111 | 111 | GameEventId | Game event stop | |||||
SMART_ACTION_GAME_EVENT_START = 112 | 112 | GameEventId | Game event start | |||||
SMART_ACTION_START_CLOSEST_WAYPOINT = 113 | 113 | entry1 | entry2 | entry3 | entry4 | entry5 | entry6 | Make target creature follow waypoint path closest to its location |
SMART_ACTION_MOVE_OFFSET = 114 | 114 | PointId | Use smart_target_self (1) and also set target World pos. to use as offset. | |||||
SMART_ACTION_RANDOM_SOUND = 115 | 115 | SoundEntry ID1 | SoundEntry ID2 | SoundEntry ID3 | SoundEntry ID4 | SoundEntry ID5 | onlySelf? (0/1) | Play random sound from list |
SMART_ACTION_SET_CORPSE_DELAY = 116 | 116 | time | includeDecayRatio? (0/1) | Set corpse despawn for target creature | ||||
SMART_ACTION_DISABLE_EVADE = 117 | 117 | disabled? (0/1) | Disable/Enable evade mode for target creature | |||||
SMART_ACTION_GO_SET_GO_STATE = 118 | 118 | state GO_STATE_ACTIVE = 0 // show in world as used and not reset (closed door open) GO_STATE_READY = 1 // show in world as ready (closed door close) GO_STATE_ACTIVE_ALTERNATIVE = 2 // show in world as used in alt way and not reset (closed door open by cannon fire) GO_STATE_TRANSPORT_ACTIVE = 24 GO_STATE_TRANSPORT_STOPPED = 25 | Set state for target gameobject | |||||
SMART_ACTION_SET_CAN_FLY = 119 | 119 | UNUSED, DO NOT REUSE | ||||||
SMART_ACTION_REMOVE_AURAS_BY_TYPE = 120 | 120 | UNUSED, DO NOT REUSE | ||||||
SMART_ACTION_SET_SIGHT_DIST = 121 | 121 | UNUSED, DO NOT REUSE | ||||||
SMART_ACTION_FLEE = 122 | 122 | UNUSED, DO NOT REUSE | ||||||
SMART_ACTION_ADD_THREAT = 123 | 123 | flat incr. | flat decr. | Change target threat | ||||
SMART_ACTION_LOAD_EQUIPMENT = 124 | 124 | equipment ID | forceUnequip? (0/1) | Load equipment on target creature | ||||
SMART_ACTION_TRIGGER_RANDOM_TIMED_EVENT = 125 | 125 | min. id | max. id | id min range, id max range | ||||
SMART_ACTION_REMOVE_ALL_GAMEOBJECTS = 126 | 126 | UNUSED, DO NOT REUSE | ||||||
SMART_ACTION_PAUSE_MOVEMENT = 127 | 127 | MovementSlot 0: default 1: active 2: controlled | pause in ms | force? (0/1) | Pause movement | |||
SMART_ACTION_PLAY_ANIMKIT = 128 | 128 | id | type 0: oneShot 1: aiAnim 2: meleeAnim 3: movementAnim | Don't use on 3.3.5a | ||||
SMART_ACTION_SCENE_PLAY = 129 | 129 | sceneId | Don't use on 3.3.5a | |||||
SMART_ACTION_SCENE_CANCEL = 130 | 130 | sceneId | Don't use on 3.3.5a | |||||
SMART_ACTION_SPAWN_SPAWNGROUP = 131 | 131 | groupId | minDelay in sec | maxDelay in sec | spawnFlags | Spawn on spawngroupid | ||
SMART_ACTION_DESPAWN_SPAWNGROUP = 132 | 132 | groupId | minDelay in sec | maxDelay in sec | spawnFlags | Despawn on spawngroupid | ||
SMART_ACTION_RESPAWN_BY_SPAWNID = 133 | 133 | spawnType 0: creature 1: gameobject | spawnId | Self or target determines the map to repsawn on | ||||
SMART_ACTION_INVOKER_CAST = 134 | 134 | Spell ID | CastFlags | TriggeredFlags | maxTargets (0: all) | If avaliable, last invoker will cast spell ID with castFlags on targets. | ||
SMART_ACTION_PLAY_CINEMATIC = 135 | 135 | CinematicSequence ID | cinematic | Play cinematic for target player. | ||||
SMART_ACTION_SET_MOVEMENT_SPEED = 136 | 136 | MovementType | speedInteger | speedFraction | Set movement speed of target creature. | |||
SMART_ACTION_PLAY_SPELL_VISUAL_KIT = 137 | 137 | SpellVisualKit ID | kitType (unknown values, copypaste from packet dumps) | duration | RESERVED, PENDING CHERRYPICK | |||
SMART_ACTION_OVERRIDE_LIGHT = 138 | 138 | zoneId | areaLightId | lightId (overrideLightId) | fadeInTime (transition Milliseconds) | Override skybox visual in area | ||
SMART_ACTION_OVERRIDE_WEATHER = 139 | 139 | zoneId | Weather ID | intensity (0: low - 1: full) | Override weather in area | |||
SMART_ACTION_SET_AI_ANIM_KIT = 140 | 140 | DEPRECATED, DO REUSE | ||||||
SMART_ACTION_SET_HOVER = 141 | 141 | enable? (01/) | Enable/Disable target unit hover | |||||
SMART_ACTION_SET_HEALTH_PCT = 142 | 142 | percent | Set target units current health percentage | |||||
SMART_ACTION_CREATE_CONVERSATION = 143 | 143 | conversation_template.id | Don't use on 3.3.5a | |||||
SMART_ACTION_SET_IMMUNE_PC = 144 | 144 | enable? (0/1) | Enable/Disable target unit immunity to players | |||||
SMART_ACTION_SET_IMMUNE_NPC = 145 | 145 | enable? (0/1) | Enable/Disable target unit immunity to npc | |||||
SMART_ACTION_SET_UNINTERACTIBLE = 146 | 146 | enable? (0/1) | Make/Reset target unit uninteractible. | |||||
SMART_ACTION_ACTIVATE_GAMEOBJECT = 147 | 147 | GameObjectActions | Activate gameobject | |||||
SMART_ACTION_ADD_TO_STORED_TARGET_LIST = 148 | 148 | varID | Add to stored target list | |||||
SMART_ACTION_BECOME_PERSONAL_CLONE_FOR_PLAYER = 149 | 149 | summonType 1-8 | duration in ms | Don't use on 3.3.5a | ||||
SMART_ACTION_TRIGGER_GAME_EVENT = 150 | 150 | eventId | useSaiTargetAsGameEventSource | Trigger game event,RESERVED, PENDING CHERRYPICK | ||||
SMART_ACTION_DO_ACTION = 151 | 151 | actionId | RESERVED, PENDING CHERRYPICK | |||||
SMART_ACTION_COMPLETE_QUEST = 152 | 152 | QuestId | Regular quests with objectives can't be completed with this action (only quests with QUEST_FLAGS_COMPLETION_EVENT, QUEST_FLAGS_COMPLETION_AREA_TRIGGER or QUEST_FLAGS_TRACKING_EVENT) | |||||
SMART_ACTION_CREDIT_QUEST_OBJECTIVE_TALK_TO = 153 | 153 |