Skip to content

Instantly share code, notes, and snippets.

@Rushor
Last active October 15, 2023 17:54
Show Gist options
  • Save Rushor/ff4f61986737f85e2c6707cacf87fb8d to your computer and use it in GitHub Desktop.
Save Rushor/ff4f61986737f85e2c6707cacf87fb8d to your computer and use it in GitHub Desktop.
SAI Actions
ACTION-ID || ACTIONNAME || SAI SCRIPTING COMMENT || ACTIONPARAM-1 ||ACTIONPARAM-2 ||ACTIONPARAM-3 ||ACTIONPARAM-4 ||COMMENT
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
12 || SMART_ACTION_SUMMON_CREATURE || Paramter 5 pathaddon, Paramter 6 count ( If summon_pathid has a value it will load the entry in waypoint_data, count will define how many units should spawn. You can summon f.ex 5 times the same creature with this)
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
114 || SMART_ACTION_MOVE_OFFSET || Move Offset || || || || || Move offset uses target_x, target_y, target_z for calculation
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
115 || SMART_ACTION_RANDOM_SOUND || Play Random Sound || soundId1 || soundId2 || soundId3 || soundId4 || Param 5 = onlySelf, Param 6 = distance) Plays a random sound from 1 -4. If onlySelf is 1 it will be played only for one player, else for all. If distance is 1 it will be played for all in distance
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
116 || SMART_ACTION_SET_CORPSE_DELAY || Set Corpse Delay || seconds || || || || Set Corpse Delay of the creature (in seconds)
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
117 || SMART_ACTION_DISABLE_EVADE || Disable Evade (0/1) || State || || || || Disable Evade of the creature. 0/1 (1 = disable evade, 0 = enable evade)
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
118 || SMART_ACTION_GO_SET_GO_STATE || Set Gameobject State || State || || || || Set state of a gameobject
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
119 || SMART_ACTION_SET_CAN_FLY || Set Can Fly (0/1) || State || || || || Set fly state 0/1 (1 = enable fly, 0 = disable fly)
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
120 || SMART_ACTION_REMOVE_AURAS_BY_TYPE || Remove Auras by Tpye || Type || || || || Removes auras by Type. Definition in SpellAuraDefines.h
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
121 || SMART_ACTION_SET_SIGHT_DIST || Set Sight Distance || dist || || || || Set sight distance of the creature
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
122 || SMART_ACTION_FLEE || Move Flee || Fleetimer (ms) || || || || Creature will MoveFlee for xx milliseconds
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
123 || SMART_ACTION_ADD_THREAT || Increase/Decrease Threat || ThreatIncrease Val || ThreatDecrease Val || || || Incease or Decrease the threat of the selected target
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
124 || SMART_ACTION_LOAD_EQUIPMENT || Load Equipment || Equip ID || force (/1) || || || Loads equipment ID of the creature. (forced = 1, Default =0)
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
125 || SMART_ACTION_TRIGGER_RANDOM_TIMED_EVENT || Trigger Random Timed Event || Min ID || Max ID || || || Trigger a Random Timed Event between Min ID and Max ID
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
126 || SMART_ACTION_REMOVE_ALL_GAMEOBJECTS || Removes all Gameobjects || || || || || Calls RemoveAllGameObjects for the selected unit
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
135 || SMART_ACTION_PLAY_CINEMATIC || Play Cinematic || entry || || || || Plays a specific cinematic for the player
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
136 || SMART_ACTION_SET_MOVEMENT_SPEED || Set Movement Speed || movementType || speedInteger || speedFraction || || Change speed calculation with the given paramters
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
138 || SMART_ACTION_OVERRIDE_LIGHT || Override Light || zoneId || lightId || fadeInTime || || Override the Light ID of the zone
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
139 || SMART_ACTION_OVERRIDE_WEATHER || Override Weather || zoneId || weatherId || weatherGrade || || Override the Weather ID of the zone
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
141 || SMART_ACTION_SET_HOVER || Set Hover || On/Off(1/0) || || || || Activate or Deactivate Hover State for the creature
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
200 || SMART_ACTION_SET_RESPAWN_TIME || Set Creature Respawn Time || RespawnTime (sec) || || || || Set respawntime for a creature
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
201 || SMART_ACTION_MOVE_HOME_POS || Move to Home Position || PointId || || disablePathfinding || || Move to Homeposition
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
202 || SMART_ACTION_LOAD_GRID || Load Grid Cell || CellX || CellY || || || Loads the X Y Grid Zell
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
203 || SMART_ACTION_STORE_EVENT_PHASE || Stores current SAI Phase || || || || || Stores the current SAI Phase from the SAI script at the time the action is called
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
204 || SMART_ACTION_SET_STORED_EVENT_PHASE || Restores stored SAI Phase || || || || || Restores the SAI Phase from the script that have been called and saved in SMART_ACTION_RESTORE_PHASE
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
205 || SMART_ACTION_CHECK_DUPLICATE_AND_DESPAWN|| Check duplicate entry || entry || range || maxamount || || If there is (bigger value than maxamount) other creature (entry) in XXX yards range, the creature will despawn
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
206 || SMART_ACTION_DISMOUNT || Dismount || DespawnPets(0/1) || || || || Dismounts the target. If actionparam1 is 1 and the target is a player all current existing pets will be despawned.
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
207 || SMART_ACTION_CHECK_HOMEDIST_AND_EVADE || Check Home Distance || distance || || || || If the distance to the homeposition is bigger than value (range) the creature will evade
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
208 || SMART_ACTION_SET_SPEED_RATE || Set Speed Rate || speedwalk || speedrun || || || speedwalk and speedrun will only be updated if the value is bigger than 0
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
209 || SMART_ACTION_LOAD_WP_PATH || Load Waypoint Path || pathid || addonpath || repeat || || If addonpath then it will use the result of: spawnid * 10. If repeat is 1 then it will repeat the path always
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
211 || SMART_ACTION_CAST_RANDOM_SPELL || Cast Random Spell || Spell ID 1 || Spell ID 2 || Spell ID 3 || Spell ID 4 || Casts a Random Spell from Range 1 - 5 (Param 5 = Spell ID 5. Param 6 = CastFlag)
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
212 || SMART_ACTION_COMBAT_STOP_WITH_PETS || Combat Stop with Pets || || || || || Call CombatStopWithPets
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
213 || SMART_ACTION_PAUSE_WAYPOINT_DATA_MOVEMENT| Pause Waypoint Data || Pause/UnPause(1/0) || || || || Use 1 to pause the waypoint_data movement, Use 0 to continue waypoint_data movement
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
214 || SMART_ACTION_MOVE_TO_POS_TARGET || Move Target to Position || pointid || || disablePathfinding || || Use the targetparams for the affected creature. Use x,y,z,o for the Point the affected creature should walk to
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
215 || SMART_ACTION_SAVE_CHECKPOINT || Save Checkpoint || || || || || Save Checkpoint of the selected creature
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
216 || SMART_ACTION_CROSS_CAST_IN_COMBAT || Target Crosscast in Combat || spellID || castFlags || CasterTargetType || CasterTarget || Target Crosscast in Combat of the selected creature
----------------------------------------------------------||-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
217 || SMART_ACTION_EXIT_VEHICLE || Exit Vehicle || || || || || Let target exist from a vehicle
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
218 || SMART_ACTION_SET_HEALTH || Set Health || flatHp || pctHp || flatIncr || flatDecr || Set Health of the selected creature
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
219 || SMART_ACTION_STOP_MOTION || Stop Motion || StopMoving || MovementExpired || || || Stops creature movement of the selected creature
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
220 || SMART_ACTION_LOAD_TEMPLATE || Load Template || Entry || || || || Loads a creature template
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
221 || SMART_ACTION_SPAWN_CREATUREGROUP || Spawn Creature Group || Group ID || min secs || max secs || spawnflags || Spawns a creature group
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
222 || SMART_ACTION_DESPAWN_CREATUREGROUP || Despawn Creature Group || Group ID || min secs || max secs || spawnflags || Despawns a creature group
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
223 || SMART_ACTION_SPAWN_GAMEOBJECTGROUP || Spawn Gameobject Group || Group ID || min secs || max secs || spawnflags || Spawns a gameobject group
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
224 || SMART_ACTION_DESPAWN_GAMEOBJECTGROUP || Despawn Gameobject Group || Group ID || min secs || max secs || spawnflags || Despawns a gameobject group
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
225 || SMART_ACTION_SET_UNIT_MOVEMENT_FLAGS || Set Movementflags || Flags || || || || Sets unitflags of the selected creature
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
226 || SMART_ACTION_SET_COMBAT_DISTANCE || Set CombatDistance || Distance || || || || Set combat distance of the selected creature
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
227 || SMART_ACTION_ADD_IMMUNITY || Add Immunity || type || id || value || || Add immunity of the selected creature
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
228 || SMART_ACTION_REMOVE_IMMUNITY || Remove Immunity || type || id || value || || Remove Immunity of the selected creature
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
229 || SMART_ACTION_MOVE_FALL || Move Fall || || || || || Move Fall of the selected creature
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
230 || SMART_ACTION_SET_EVENT_PHASE_RESET || Set Phase Reset || State(0/1) || || || || Set Phase Reset 0 = Phasereset on SmartScript::OnReset() disabled, 1 = Phasereset on SmartScript::OnReset() enabled
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
231 || SMART_ACTION_ZONE_UNDER_ATTACK || Set Zone Under Attack || || || || || Set Zone Under Attack for player
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
232 || SMART_ACTION_REMOVE_LOOT_MODE || Remove Loot Mode || lootmodevalue || || || || Remove Loot Mode of the selected creature
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
233 || SMART_ACTION_SET_REPUTATION_GAIN || Set Reputation gain ||(0 Disable,1 Enable)|| || || || Set Reputation Gain of the selected creature
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
234 || SMART_ACTION_ADD_LOOT_MODE || Add Loot Mode || lootmodevalue || || || || Add Loot Mode of the selected creature
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
235 || SMART_ACTION_SET_COUNTER_RESET_OPTION || Set Counter Reset Option || (O Reset. 1 Init) || || || || Set Counter Reset Option. 0 = counter will only be resetted on Reset() of creature, 1 = counter will only be resetted on OnInitialize() of creature
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
236 || SMART_ACTION_GO_DELETE || Delete Gameobject || Delete Delay (MS) || || || || Deletes the select gameobject. Actionparam 1 is optional delete delay (in Milliseconds)
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
237 || SMART_ACTION_SET_LEVEL || Set Level || Level || || || || Changes the level of the creature
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
238 || ACTION_SET_SCALE || Set Object Scale || Scale || || || || Changes the scale of the creature
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
239 || SMART_ACTION_SET_FEATHER_FALL || Set Feather Fall || On/Off(1/0) || || || || Enables or disables Feather Fall for the creature
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
240 || SMART_ACTION_SET_WATER_WALKING || Set Water Walking || On/Off(1/0) || || || || Enables or disables water walking for the creature
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
241 || SMART_ACTION_SET_MELEE_DAMAGE_SCHOOL || Set Melee Damage School Type || Spell School || || || || Changes the melee damage school type of the creature. School Types can be found in SharedDefines.h
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
242 || SMART_ACTION_SET_UNIT_STATE || Set Unit State || Apply/Unapply(1/0) || UnitState || || || Applies or unapplies a UnitState to our creature target. Unit States can be found in UnitState in Unit.h
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
243 || SMART_ACTION_RESET_LOOT_MODE || Reset Loot Mode || || || || || Reset the Loot Mode of the selected creature
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
244 || SMART_ACTION_SET_LOOT_MODE || Set Loot Mode || lootmodevalue || || || || Set the Loot Mode of the selected creature
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
245 || SMART_ACTION_MOVE_SPAWN_POS || Move to Spawn Position || PointId || || disablePathfinding || || Move to Spawnposition
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
246 || SMART_ACTION_SET_FLY_MODE || Enable or diables Flymode || State(0/1) || || disablePathfinding || || Enables or diables the flymode of a creature totally and makes it fly in the air or beeing static on ground
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
247 || SMART_ACTION_MOVE_CIRCLE_PATH || Move Circle Path around XYZ || Radius || ClockWise (0/1) || StepCount || || Moves Circle Path for a creature around Position XYZ. Param1 = Radius, Param2 = Enable or disable Clockwise Movement, Param3 = StepCount.
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
248 || SMART_ACTION_SET_FLAG_EXTRA || Adds flagextra and flagextra2 || flagextra || flagextra2 || || || Adds flagextra (Param1) and flagextra2 (param2) if value of the params is > 0
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
249 || SMART_ACTION_REMOVE_FLAG_EXTRA || Removes flagextra & flagextra2 || flagextra || flagextra2 || || || Removes flagextra (Param1) and flagextra2 (param2) if value of the params is > 0
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
250 || SMART_ACTION_SET_FAR_VISIBLE || Enable Object Far Visibility || State(0/1) || || || || Enables Object Far Visibility
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
251 || SMART_ACTION_PAUSE_RND_MOVEMENT || Pause Random Movement || Pause/UnPause(1/0) || || || || Use 1 to pause the random movement, Use 0 to continue random movement
----------------------------------------------------------||------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment