[DoNothing]
title = "Do nothing"
description = "Do nothing"
comment = ""
category = TC_NOTHING
[[.args]]
type = nothing

[ExecuteFunc]
title = "Run function [R]"
description = "Run: ${function name}"
comment = "The function run with this function is independent of the trigger, and can only run custom parameterless functions."
category = TC_NOTHING
[[.args]]
type = string

[CommentString]
title = "Text annotation"
description = "-------- ${Comment text} --------"
comment = ""
category = TC_COMMENT
[[.args]]
type = scriptcode

[CustomScriptCode]
title = "Custom Code"
description = "Custom code: ${Jass code}"
comment = "Enter a line of code. For example: call my_func(udg_my_var)"
category = TC_CUSTOM
[[.args]]
type = scriptcode

[TriggerSleepAction]
title = "Waiting (player time)"
description = "Wait for ${Time} seconds"
comment = "The delay function is affected by real time (that is, the time on the player's machine). Therefore, the delay time for each player may be inconsistent."
category = TC_WAIT
[[.args]]
type = real
default = "2"
min = 0

[PolledWait]
title = "Waiting (game time)"
description = "Wait for ${Time} seconds (game time)"
comment = "The delay function is affected by the game time. The specific delay time of this function can be adjusted by adjusting the game speed."
category = TC_WAIT
[[.args]]
type = real
default = "2"
min = 0

[YDWEWaitForLocalVariable]
title = "Waiting (for local variables) [YDWE]"
description = "Wait for ${Time} seconds (for local variables)"
comment = "When there are local variables in the trigger and a wait action is needed, this local variable dedicated wait action must be used, otherwise the trigger cannot be used for multiple people."
category = TC_WAIT
[[.args]]
type = real
default = "2"
min = 0

[WaitForCondition]
title = "Waiting (conditions are met)"
description = "Check ${condition} every ${Interval} seconds (until the condition is established)"
comment = "The'while-do' type of waiting is used, which consumes more CPU resources. Be careful not to cause too many untrue conditions."
category = TC_WAIT
[[.args]]
type = boolexpr
[[.args]]
type = real
default = "1"
min = 0.1

[WaitForSoundBJ]
title = "Waiting (the sound ends)"
description = "Wait until ${Sound} ends playing after ${Time} seconds."
comment = "This function is only valid for the currently playing 3D-sound effect. If the sound effect is not played or has ended, this function is invalid."
script_name = TriggerWaitForSound
category = TC_WAIT
[[.args]]
type = sound
[[.args]]
type = real
default = "0"

[SetVariable]
title = "Set Variables"
description = "Set ${variable} = ${Value}"
comment = "Assign a value to the variable."
category = TC_SETVARIABLE
[[.args]]
type = AnyGlobal
[[.args]]
type = Null

[ReturnAction]
title = "Skip remaining actions"
description = "Skip remaining actions"
comment = "Skip the remaining actions and stop the triggering operation directly but it is invalid in the group action."
category = TC_SKIPACTIONS
[[.args]]
type = nothing

[YDWEExitLoop]
title = "Exit the loop"
description = "Exit the loop"
comment = "If you exit the loop, you can also exit the unit action against the sky."
script_name = DoNothing() YDNL exitwhen true//
category = TC_SKIPACTIONS
[[.args]]
type = nothing

[IfThenElseMultiple]
title = "If / Then / Else (Multiple functions)"
description = "If-Then-Else"
comment = "If (all conditions are met) run (Then-action) otherwise run (Else-action)"
category = TC_LOGIC
[[.args]]
type = nothing

[IfThenElse]
title = "If / Then / Else (Single function)"
description = "If ${condition} is true, then run ${Action} otherwise run ${Action}"
comment = ""
category = TC_LOGIC
[[.args]]
type = boolexpr
[[.args]]
type = code
default = "DoNothing"
[[.args]]
type = code
default = "DoNothing"

[ForLoopAMultiple]
title = "Use cyclic integer A (do multiple actions)"
description = "Loop the integer A from ${start} to ${end}"
comment = "The next integer must be greater than the previous integer."
category = TC_FORLOOP
[[.args]]
type = integer
default = "1"
[[.args]]
type = integer
default = "10"

[ForLoopBMultiple]
title = "Use circular integers B (Do multiple actions)"
description = "Cycle cycle integer B from ${start} to ${end}"
comment = "The next integer must be greater than the previous integer."
category = TC_FORLOOP
[[.args]]
type = integer
default = "1"
[[.args]]
type = integer
default = "10"

[ForLoopVarMultiple]
title = "Use integer variables (do multiple actions)"
description = "Loop ${integer variable} from ${start} to ${end}"
comment = "The next integer must be greater than the previous integer."
category = TC_FORLOOP
[[.args]]
type = integervar
[[.args]]
type = integer
default = "1"
[[.args]]
type = integer
default = "10"

[ForLoopA]
title = "Use cyclic integer A (do actions)"
description = "Loop the integer A from ${start} to ${end}, run ${action}"
comment = "The next integer must be greater than the previous integer."
category = TC_FORLOOP
[[.args]]
type = integer
default = "1"
[[.args]]
type = integer
default = "10"
[[.args]]
type = code
default = "DoNothing"

[ForLoopB]
title = "Use cyclic integer B (do actions)"
description = "Loop the integer B from ${start} to ${end}, run ${action}"
comment = "The next integer must be greater than the previous integer."
category = TC_FORLOOP
[[.args]]
type = integer
default = "1"
[[.args]]
type = integer
default = "10"
[[.args]]
type = code
default = "DoNothing"

[ForLoopVar]
title = "Use integer variables (do actions)"
description = "Loop ${integer variable} from ${start} to ${end}, do ${action}"
comment = "The next integer must be greater than the previous integer."
category = TC_FORLOOP
[[.args]]
type = integervar
[[.args]]
type = integer
default = "1"
[[.args]]
type = integer
default = "10"
[[.args]]
type = code
default = "DoNothing"

[SetForLoopIndexA]
title = "Set cyclic integer A [R]"
description = "Set the value of the loop integer A to ${number}"
comment = ""
category = TC_FORLOOP
[[.args]]
type = integer
default = "10"

[SetForLoopIndexB]
title = "Set cycle integer B [R]"
description = "Set the value of the loop integer B to ${number}"
comment = ""
category = TC_FORLOOP
[[.args]]
type = integer
default = "10"

[StartMeleeAI]
title = "Enable battle AI"
description = "Enable battle AI for ${Player}: ${Script}"
comment = "AI can only be used by computer players. When this action is executed, the computer player that matches it will force the execution of the AI script."
category = TC_AI
[[.args]]
type = player
default = "Player00"
[[.args]]
type = aiscript
default = "\"map.ai\""

[StartCampaignAI]
title = "Enable Battle AI"
description = "Enable Campaign AI for ${Player}: ${Script}"
comment = "AI can only be used by computer players. When this action is executed, the computer player that matches it will force the execution of the AI script."
category = TC_AI
[[.args]]
type = player
default = "Player00"
[[.args]]
type = aiscript
default = "\"map.ai\""

[CommandAI]
title = "Send AI command"
description = "Send AI commands to ${Player}: (${command}, ${data})"
comment = "The AI command sent will be used by the AI script."
category = TC_AI
[[.args]]
type = player
default = "Player00"
[[.args]]
type = integer
[[.args]]
type = integer

[PauseCompAI]
title = "Pause/Resume AI script running [R]"
description = "Set ${Player} ${Pause/Resume} the current AI script running"
comment = "In fact, this function is problematic. It can be understood as follows: Set the player's current AI script running state R to 0, pause once for R+1, resume once for R-1, only when R=0 This player will run AI. Please understand the meaning of this paragraph before using it."
category = TC_AI
[[.args]]
type = player
default = "Player00"
[[.args]]
type = pauseresumeoption
default = "PauseResumePause"

[RemoveGuardPosition]
title = "Ignore the warning points of the specified unit"
description = "Ignore the warning points of ${unit}"
comment = "The unit will not automatically return to the original guard point. A very useful feature is that if you ignore the unit's guard range when spawning an attack, the blame will not be homesick."
category = TC_AI
[[.args]]
type = unit

[RemoveAllGuardPositions]
title = "Ignore the warning points of all units"
description = "Ignore the warning points of all units in ${Player}"
comment = "The unit will not automatically return to the original guard point. A very useful feature is that if you ignore the unit's guard range when spawning an attack, the blame will not be homesick."
category = TC_AI
[[.args]]
type = player
default = "Player00"

[RecycleGuardPosition]
title = "Restore the security point of the specified unit"
description = "Restore the warning point of ${unit}"
comment = "This action uses AI to restore the alert point of a specific unit."
category = TC_AI
[[.args]]
type = unit

[SetUnitCreepGuard]
title = "Lock the guard point of the specified unit [R]"
description = "Set the warning point for ${unit}: ${option}"
comment = "Lock and prevent AI scripts from changing unit warning points."
category = TC_AI
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = lockunlockoption
default = "LockUnLockLock"

[LockGuardPosition]
title = "Lock the security point of the specified unit"
description = "Lock the guard point of ${unit}"
comment = "Lock and prevent AI scripts from changing unit warning points."
category = TC_AI
[[.args]]
type = unit

[YDWEJumpTimer]
title = "Jump function"
description = "Command ${unit} to jump in the direction of ${direction}, the distance is ${distance}, lasts ${time} seconds, the refresh period is ${I}, the maximum height is ${height}."
comment = "When the maximum height is set to 0, it is a normal movement."
category = TC_YDST
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = degree
default = "0"
min = 0
max = 360
[[.args]]
type = real
default = "800"
min = 0
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = real
default = "0.01"
min = 0.03
[[.args]]
type = real
default = "300"
min = 0

[YDWEMeatHook]
title = "Meat Hook <Hook Fat War>"
description = "Let the unit ${unit} release a hook to ${point}, the hook head is ${hook head}, the chain is ${chain}, the farthest distance is ${real number}, and the chain spacing is ${real number }, causing damage to the enemy unit ${real number}, the refresh cycle is ${real number}."
comment = "The hooks in the hook fat war are optimized by Ors and Everguo. Please make sure to copy the hooks and hook strip units from the demo map. I beg everyone-.-"
category = TC_YDST
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = location
default = "GetSpellTargetLoc"
[[.args]]
type = unitcode
[[.args]]
type = unitcode
[[.args]]
type = real
default = "2000"
min = 0
[[.args]]
type = real
default = "35"
min = 0
[[.args]]
type = real
default = "100"
min = 0
[[.args]]
type = real
default = "0.03"
min = 0.01

[YDWETimerPatternJumpAttack]
title = "Jump chop function <Warft_TigerCN production>"
description = "Command ${unit} to jump in the direction of ${direction}, the distance is ${distance}, the duration is ${time}, the refresh cycle is ${I}, the maximum height is ${height}, which causes damage to passing enemies Value ${damage amount}, add special effect ${special effect} to the enemy's ${part}."
comment = "When the damage value is set to 0, no special effects will appear on the enemy. The code is modified by Fetrix_sai."
category = TC_YDST
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = degree
default = "0"
min = 0
max = 360
[[.args]]
type = real
default = "800"
min = 0
[[.args]]
type = real
default = "1"
min = 0.01
[[.args]]
type = real
default = "0.03"
min = 0.01
[[.args]]
type = real
default = "100"
min = 0
[[.args]]
type = real
default = "0"
min = 0
[[.args]]
type = string
default = "\"chest\""
[[.args]]
type = modelfile

[YDWETimerPatternMoonPriestessArrow]
title = "Lunar Arrow <Warft_TigerCN Production>"
description = "Command ${unit} to fly in the direction of ${direct}, distance ${distance} for ${time} seconds, refresh cycle ${I}, generate ${integer} level ${skills} ${support unit}, cast ${skills} on the target, and add ${special effects} to the target's ${part}."
comment = "Add stun and other states to the target by the auxiliary unit. The code is modified by Fetrix_sai."
category = TC_YDST
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = degree
default = "0"
min = 0
max = 360
[[.args]]
type = real
default = "800"
min = 0
[[.args]]
type = real
default = "1"
min = 0.01
[[.args]]
type = real
default = "0.03"
min = 0.01
[[.args]]
type = integer
default = "1"
min = 1
[[.args]]
type = abilcode
[[.args]]
type = unitcode
[[.args]]
type = unitorderutarg
default = "UnitOrderAttackUnit"
[[.args]]
type = string
default = "\"overhead\""
[[.args]]
type = modelfile

[YDWETimerPatternRushSlide]
title = "Charge <Warft_TigerCN production>"
description = "Command ${unit} to charge in the direction of ${direction}, with a range of ${distance}, for ${time} seconds, refresh cycle ${I}, damage ${real number} to passing enemies, destroy trees ${Boolean}, do not calculate collision ${Boolean}, ignore terrain ${Boolean}, add ${special effect}(ground) to the target's ${part}, add ${special effect}(underwater)"
comment = "                                                                                                 Code modified by Fetrix_sai"
category = TC_YDST
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = degree
default = "0"
min = 0
max = 360
[[.args]]
type = real
default = "800"
min = 0
[[.args]]
type = real
default = "1"
min = 0.01
[[.args]]
type = real
default = "0.03"
min = 0.01
[[.args]]
type = real
default = "0"
min = 0
[[.args]]
type = boolean
default = "false"
[[.args]]
type = boolean
default = "false"
[[.args]]
type = boolean
default = "false"
[[.args]]
type = string
default = "\"origin\""
[[.args]]
type = modelfile
[[.args]]
type = modelfile

[YDWEAroundSystem]
title = "Universal surround function <Fetrix_sai production>"
description = "Command ${unit} to wrap around ${unit}, angular velocity is ${real number}, centrifugal velocity is ${real number}, lifting speed is ${real number}, lasts ${real number} seconds\"\",\"\"Brush\"\"new\"\"week\"\"period\"\" is ${real number} seconds"
comment = "The angular velocity is positive, rotate clockwise, otherwise counterclockwise; the centrifugal speed is positive, away from the target, and vice versa; if the lifting speed is positive, the height rises, and vice versa."
category = TC_YDST
[[.args]]
type = unit
default = "GetLastCreatedUnit"
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = real
default = "8"
[[.args]]
type = real
default = "3"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "5"
min = 0
[[.args]]
type = real
default = "0.03"
min = 0.01

[YDWENewItemsFormula]
title = "Item synthesis system <Fetrix_sai production>"
description = "Add material 1 (${type}, ${integer}), material 2 (${type}, ${integer}), material 3 (${type}, ${integer})\"\", \"\"Material\"\"Material\"\"4\"\"( ${Type},${Integer}), Material 5 (${Type},${Integer}), Material 6 (${ Type}, ${integer}) synthesis ${item} "
comment = "Fill in the materials and their quantities required for the synthesis of the item. You can fill in up to 6 types; when the quantity of materials required is 0, the corresponding materials will be ignored."
category = TC_YDST
[[.args]]
type = itemcode
default = "ches"
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = itemcode
default = "ches"
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = itemcode
default = "ches"
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = itemcode
default = "ches"
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = itemcode
default = "ches"
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = itemcode
default = "ches"
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = itemcode
default = "bzbe"

[YDWE_TP_PauseTimerPeriodic]
title = "New Center Timer-Termination of operation <Fetrix_sai production>"
description = "Stop the operation of the timer whose operation index is ${timer operation index}"
comment = "When the central timer runs a trigger, a running index will be generated; the running index can be used to terminate this timer running."
category = TC_YDST
[[.args]]
type = integer

[YDWE_TP_SetTimeInterval]
title = "New center timer-modify the running interval <produced by Fetrix_sai>"
description = "Modify the running interval of the timer whose running index is ${timer running index} to ${real number}"
comment = "When the central timer runs a trigger, a running index will be generated; you can modify the interval of a certain run of the timer midway."
category = TC_YDST
[[.args]]
type = integer
[[.args]]
type = real
default = "0.03"
min = 0.01

[YDWEAttackWaveTimer]
title = "Splashing System"
description = "Create ${n} ${unit type} for player ${player} at point ${initial point} facing ${angle}, order them to attack to point ${target point}, refresh cycle ${cycle} ."
comment = "3C's army spawning system can also be used to defend RPG, generating units of each wave periodically to attack the designated points."
category = TC_YDST
[[.args]]
type = player
default = "Player00"
[[.args]]
type = integer
default = "1"
min = 1
[[.args]]
type = unitcode
default = "hfoo"
min = 0
[[.args]]
type = location
min = 0
[[.args]]
type = degree
default = "RealUnitFacing"
min = 0
max = 360
[[.args]]
type = location
[[.args]]
type = real
default = "2"
min = 0.01

[YDWERemoveAttackWaveByUnitID]
title = "Cancel spawning (input parameters)"
description = "Stop creating ${unit}, location is ${initial point}, period is ${period}"
comment = "Cancel the spawning. Note that the parameters filled in here must be consistent with the previous spawning system, otherwise the spawning cannot be stopped."
category = TC_YDST
[[.args]]
type = unitcode
default = "hfoo"
[[.args]]
type = location
[[.args]]
type = real
default = "2"
min = 0.01

[YDWERemoveAttackWaveByTimer]
title = "Cancel spawning (delete timer)"
description = "Delete spawning timer ${timer}"
comment = "Cancel spawning and automatically clear the cache."
category = TC_YDST
[[.args]]
type = timer
default = "YDWERemoveAttackWaveReturnTimer"

[YDWEDoubleItemSlotByAbility]
title = "Multiple inventory (skill trigger)"
description = "When ${unit} uses skill ${backpack skill} to switch backpacks, the auxiliary unit is ${backpack unit}, and the number of backpacks is ${integer}"
comment = "When switching the backpack, the event of unit acquisition and item drop will be triggered; please refer to the auxiliary map in the example folder for the settings of backpack skills and backpack units."
category = TC_YDST
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = abilcode
[[.args]]
type = unitcode
[[.args]]
type = integer
default = "3"
min = 1
max = 10

[YDWEDoubleItemSlotByItem]
title = "Multiple inventory (item trigger)"
description = "When ${unit} uses the item ${backpack item} to switch the backpack, the auxiliary unit is ${backpack unit}, and the number of backpacks is ${integer}"
comment = "When switching the backpack, the event of unit obtaining and dropping items will be triggered; please refer to the auxiliary map in the example folder for the settings of backpack items and backpack units."
category = TC_YDST
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = itemcode
[[.args]]
type = unitcode
[[.args]]
type = integer
default = "3"
min = 1
max = 10

[YDWEGeneralBounsSystemUnitSetBonus]
title = "Universal Attribute System-Setting Attributes <Eggplant Production>"
description = "Set additional ${attribute} ${calculation} ${value} for ${unit}"
comment = ""
category = TC_YDST
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = bonusType
default = "bonusTypeA"
[[.args]]
type = unitstatechangetype
default = "unitstatechangetypeA"
[[.args]]
type = integer
default = "300"

[YDWESetGuard]
title = "Mercenary System <Red_Wolf Production>"
description = "Command ${unit} follow ${unit}, refresh cycle ${timeout}, patrol radius ${guardRanger}, return radius ${returnRanger}, teleport radius ${outRanger}, patrol probability ${percent}%"
comment = "Let a mercenary follow the master, patrol around the master, and automatically return or teleport to the master when it is far away."
category = TC_YDST
[[.args]]
type = unit
[[.args]]
type = unit
[[.args]]
type = real
default = "2"
min = 0.01
[[.args]]
type = real
default = "800"
min = 0
[[.args]]
type = real
default = "1200"
min = 0
[[.args]]
type = real
default = "1500"
min = 0
[[.args]]
type = integer
default = "75"
min = 0
max = 100

[YDWERemoveGuard]
title = "Cancel mercenary <Red_Wolf production>"
description = "Cancel the follow of ${unit}"
comment = "Let a mercenary no longer follow the owner. Note: If the mercenary is a summoned creature, you don't need to cancel it, because when the mercenary or owner dies, the system will automatically cancel the following."
category = TC_YDST
[[.args]]
type = unit

[YDWEAIRecordAbility]
title = "AI-Skill Bound Hero <GreedWind Production>"
description = "To unit ${hero} bind skills ${skill 1} ${skill 2} ${skill 3} ${skill 4} ${skill 5}"
comment = "Bind 5 skills for the unit. If the hero has only 4 skills, please set the fifth skill as empty."
category = TC_YDST
[[.args]]
type = unitcode
default = "Hamg"
[[.args]]
type = abilcode
[[.args]]
type = abilcode
[[.args]]
type = abilcode
[[.args]]
type = abilcode
[[.args]]
type = abilcode

[YDWEAIRecordLearn_sequence]
title = "AI-Skill learning sequence bound hero <GreedWind production>"
description = "Set the skill learning order for unit ${Hero} as (${Skill 1} ${Skill 2} ${Skill 3} ${Skill 4} ${Skill 5} )"
comment = "The unit will learn the corresponding skills according to the entered level. Remember that the order of skill learning should be entered in the format of ^level^level...^level^."
category = TC_YDST
[[.args]]
type = unitcode
default = "Hamg"
[[.args]]
type = string
default = "^1^3^5^"
[[.args]]
type = string
default = "^2^4^7^"
[[.args]]
type = string
default = "^8^9^10^"
[[.args]]
type = string
default = "^6^"
[[.args]]
type = string
default = "null"

[YDWEHeroLearnSkillAI]
title = "AI-Automatically learn the corresponding skills <GreedWind production>"
description = "Let the hero ${hero} automatically learn skills, and the hero level corresponding to the learned skills is ${integer}"
comment = "The hero will learn the skills corresponding to the level. These skills must be bound to the hero before."
category = TC_YDST
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = integer
default = "1"
min = 1

[YDWEHeroMaxSkillAI]
title = "AI-Automatically learn all skills <GreedWind production>"
description = "Let hero ${hero} learn all skills automatically."
comment = "The hero will wash away the previously learned skills and learn all skills in order according to the skill list."
category = TC_YDST
[[.args]]
type = unit
default = "GetTriggerUnit"

[YDWEAddAIOrder]
title = "AI-Auto cast skills"
description = "Let unit ${unit} cast skills at ${integer}, ${target}, the skill cast method is (to unit-${command}, to point-${command}, immediately-${command}) , The casting probability is ${integer}%"
comment = "Let the unit have a certain probability to cast skills, the command must be consistent with the skill goal; the code is optimized by Red_Wolf and Fetrix_sai."
category = TC_YDST
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = attackorattackedevent
default = "attackorattackedeventB"
[[.args]]
type = targettype
default = "targettypeA"
[[.args]]
type = unitorderutarg
default = "UnitOrderAttackUnitnull"
[[.args]]
type = unitorderptarg
default = "UnitOrderAttacknull"
[[.args]]
type = unitordernotarg
default = "UnitOrderStopnull"
[[.args]]
type = integer
default = "20"
min = 1
max = 100

[YDWE_PreloadSL_SetFile]
title = "Set Archive Index (Archive List)"
description = "For ${player} under '${directory name}', set the index of [${archive name}] to →[${integer}]"
comment = "Advanced function, when there are multiple player archives in the directory, add an integer index to the archive to establish the corresponding relationship between the archive file name and the index."
category = TC_YDSL
[[.args]]
type = player
default = "Player00"
[[.args]]
type = string
[[.args]]
type = string
[[.args]]
type = integer
min = 1
max = 16

[YDWE_PreloadSL_Save]
title = "Save Player Archive"
description = "Save the archive for ${player} under '${directory name}' [${archive name}], the archive contains [${integer}] data items"
comment = "Save a player archive in the specified path, pay attention not to fill in the number of data items in the archive."
category = TC_YDSL
[[.args]]
type = player
default = "Player00"
[[.args]]
type = string
[[.args]]
type = string
[[.args]]
type = integer
min = 1
max = 500

[YDWE_PreloadSL_Load]
title = "Read Player Archive"
description = "Read the archive for ${player} from '${directory name}' [${archive name}], the archive contains [${integer}] data items"
comment = "To get the archive of a player in the specified directory, you must fill in the correct file name and number of data items."
category = TC_YDSL
[[.args]]
type = player
default = "Player00"
[[.args]]
type = string
[[.args]]
type = string
[[.args]]
type = integer
min = 1
max = 500

[YDWE_PreloadSL_Set]
title = "Add archive data"
description = "Add ※${data comment} for ${player}, in the current archive [${data item index}], add ┠${data}┨"
comment = "To write the data to the player archive, you need to fill in the correct data item index, and the comment can be filled in at will."
category = TC_YDSL
[[.args]]
type = player
default = "Player00"
[[.args]]
type = string
[[.args]]
type = integer
min = 1
max = 500
[[.args]]
type = integer

[YDWELocalVariableInitiliation]
title = "Enable local variable function"
description = "Enable local variable function"
comment = "It must be enabled before the local variable is assigned; if there is no waiting action in the trigger, it does not need to be enabled; when there is a waiting requirement, a dedicated waiting action for local variables must be selected."
category = TC_YDLC
[[.args]]
type = nothing

[YDWELocalVariableEnd]
title = "Empty local variables"
description = "Empty local variables"
comment = "Clear all the local variables used in this trigger to avoid memory leaks; please make sure that the local variables have been used up before using this action."
category = TC_YDLC
[[.args]]
type = nothing

[YDWESetLocalVariableInteger]
title = "Set integer local variables"
description = "Set local_${i} = ${integer}"
comment = "Assign a value to an integer local variable, and fill in the name of the variable at the parameter; the variable is valid in this trigger."
category = TC_YDLC
[[.args]]
type = string
[[.args]]
type = integer
default = "0"

[YDWESetLocalVariableIntegerArray]
title = "Set integer local variable array"
description = "Set local_${i}[${index}] = ${integer}"
comment = "Assign a value to an integer local variable array, and fill in the variable's name and array index in the parameter; this variable is valid in this trigger."
category = TC_YDLC
[[.args]]
type = string
[[.args]]
type = integer
default = "1"
min = 0
[[.args]]
type = integer
default = "0"

[YDWESetLocalVariableReal]
title = "Set Real Number Local Variable"
description = "Set local_${R} = ${real number}"
comment = "Assign a value to a real local variable, fill in the name of the variable at the parameter; this variable is valid in this trigger."
category = TC_YDLC
[[.args]]
type = string
[[.args]]
type = real
default = "0"

[YDWESetLocalVariableRealArray]
title = "Set Real Number Local Variable Array"
description = "Set local_${R}[${index}] = ${real number}"
comment = "Assign a real number local variable array, fill in the name of the variable and array index in the parameter; this variable is valid in this trigger."
category = TC_YDLC
[[.args]]
type = string
[[.args]]
type = integer
default = "1"
min = 0
[[.args]]
type = real
default = "0"

[YDWESetLocalVariableString]
title = "Set string local variable"
description = "Set local_${str} = ${string}"
comment = "Assign a value to a string local variable, fill in the name of the variable at the parameter; this variable is valid in this trigger."
category = TC_YDLC
[[.args]]
type = string
[[.args]]
type = string
default = "null"

[YDWESetLocalVariableStringArray]
title = "Set string local variable array"
description = "Set local_${str}[${index}] = ${string}"
comment = "Assign a value to an array of string local variables, fill in the name and array index of the variable at the parameter; this variable is valid in this trigger."
category = TC_YDLC
[[.args]]
type = string
[[.args]]
type = integer
default = "1"
min = 0
[[.args]]
type = string
default = "null"

[YDWESetLocalVariableBoolean]
title = "Set true value local variable"
description = "Set local_${bl} = ${true value}"
comment = "Assign a value to a true value local variable, fill in the name of the variable at the parameter; this variable is valid in this trigger."
category = TC_YDLC
[[.args]]
type = string
[[.args]]
type = boolean
default = "false"

[YDWESetLocalVariableBooleanArray]
title = "Set true value local variable array"
description = "Set local_${bl}[${index}] = ${true value}"
comment = "Assign a value to an array of true-value local variables, fill in the name of the variable and array index in the parameter; the variable is valid in this trigger."
category = TC_YDLC
[[.args]]
type = string
[[.args]]
type = integer
default = "1"
min = 0
[[.args]]
type = boolean
default = "false"

[YDWESetLocalVariableUnit]
title = "Set unit local variables"
description = "Set local_${u} = ${unit}"
comment = "Assign a value to the unit local variable, fill in the name of the variable at the parameter; this variable is valid in this trigger."
category = TC_YDLC
[[.args]]
type = string
[[.args]]
type = unit
default = "GetTriggerUnit"

[YDWESetLocalVariableUnitArray]
title = "Set Unit Local Variable Array"
description = "Set local_${u}[${index}] = ${unit}"
comment = "Assign a value to a unit local variable, and fill in the name and array index of the variable at the parameter; the variable is valid in this trigger."
category = TC_YDLC
[[.args]]
type = string
[[.args]]
type = integer
default = "1"
min = 0
[[.args]]
type = unit
default = "GetTriggerUnit"

[YDWESetLocalVariableUnitID]
title = "Set unit type local variable"
description = "Set local_${uid} = ${unit type}"
comment = "Assign a value to a unit type local variable, fill in the name of the variable at the parameter; the variable is valid in this trigger."
category = TC_YDLC
[[.args]]
type = string
[[.args]]
type = unitcode
default = "hfoo"

[YDWESetLocalVariableUnitIDArray]
title = "Set Unit Type Local Variable Array"
description = "Set local_${uid}[${index}] = ${unit type}"
comment = "Assign a value to a unit type local variable, and fill in the name and array index of the variable at the parameter; the variable is valid in this trigger."
category = TC_YDLC
[[.args]]
type = string
[[.args]]
type = integer
default = "1"
min = 0
[[.args]]
type = unitcode
default = "hfoo"

[YDWESetLocalVariableAbilityID]
title = "Set Skill Type Local Variable"
description = "Set local_${ab} = ${Skills}"
comment = "Assign a value to a unit type local variable, fill in the name of the variable at the parameter; the variable is valid in this trigger."
category = TC_YDLC
[[.args]]
type = string
[[.args]]
type = abilcode
default = "Aloc"

[YDWESetLocalVariableAbilityIDArray]
title = "Set Skill Type Local Variable Array"
description = "Set local_${ab}[${index}] = ${Skills}"
comment = "Assign a value to a unit type local variable, and fill in the name and array index of the variable at the parameter; the variable is valid in this trigger."
category = TC_YDLC
[[.args]]
type = string
[[.args]]
type = integer
default = "1"
min = 0
[[.args]]
type = abilcode
default = "Aloc"

[YDWESetLocalVariableItem]
title = "Set item local variables"
description = "Set local_${it} = ${item}"
comment = "Assign a value to the local variable of the item, fill in the name of the variable at the parameter; this variable is valid in this trigger."
category = TC_YDLC
[[.args]]
type = string
[[.args]]
type = item
default = "GetManipulatedItem"

[YDWESetLocalVariableItemArray]
title = "Set Item Local Variable Array"
description = "Set local_${it}[${index}] = ${items}"
comment = "Assign a value to the local variable array of the item, fill in the name and array index of the variable at the parameter; this variable is valid in this trigger."
category = TC_YDLC
[[.args]]
type = string
[[.args]]
type = integer
default = "1"
min = 0
[[.args]]
type = item
default = "GetManipulatedItem"

[YDWESetLocalVariableItemID]
title = "Set item type local variable"
description = "Set local_${itid} = ${item type}"
comment = "Assign a value to a local variable of the item type, and fill in the name of the variable at the parameter; the variable is valid in this trigger."
category = TC_YDLC
[[.args]]
type = string
[[.args]]
type = itemcode
default = "spsh"

[YDWESetLocalVariableItemIDArray]
title = "Set Item Type Local Variable Array"
description = "Set local_${itid}[${index}] = ${item type}"
comment = "Assign a value to the local variable array of the item type, and fill in the name and array index of the variable at the parameter; the variable is valid in this trigger."
category = TC_YDLC
[[.args]]
type = string
[[.args]]
type = integer
default = "1"
min = 0
[[.args]]
type = itemcode
default = "spsh"

[YDWESetLocalVariableLocation]
title = "Set Point Local Variable"
description = "Set local_${point} = ${point}"
comment = "Assign a value to a point local variable, and fill in the name of the variable at the parameter; this variable is valid in this trigger."
category = TC_YDLC
[[.args]]
type = string
[[.args]]
type = location
default = "GetSpellTargetLoc"

[YDWESetLocalVariableLocationArray]
title = "Set Point Local Variable Array"
description = "Set local_${point}[${index}] = ${point}"
comment = "Assign a value to the point local variable array, fill in the variable's name and array index at the parameter; this variable is valid in this trigger."
category = TC_YDLC
[[.args]]
type = string
[[.args]]
type = integer
default = "1"
min = 0
[[.args]]
type = location
default = "GetSpellTargetLoc"

[YDWESetLocalVariableGroup]
title = "Set unit group local variables"
description = "Set local_${g} = ${unit group}"
comment = "Assign a value to the local variable of the unit group, fill in the name of the variable at the parameter; the variable is valid in this trigger."
category = TC_YDLC
[[.args]]
type = string
[[.args]]
type = group
default = "bj_lastCreatedGroup"

[YDWESetLocalVariableGroupArray]
title = "Set unit group local variable array"
description = "Set local_${g}[${index}] = ${unit group}"
comment = "Assign a value to the local variable array of the unit group, fill in the name and array index of the variable at the parameter; the variable is valid in this trigger."
category = TC_YDLC
[[.args]]
type = string
[[.args]]
type = integer
default = "1"
min = 0
[[.args]]
type = group
default = "bj_lastCreatedGroup"

[YDWESetLocalVariableEffect]
title = "Set special effects local variables"
description = "Set local_${e} = ${special effect}"
comment = "Assign a value to a special effect local variable, fill in the name of the variable at the parameter; the variable is valid in this trigger."
category = TC_YDLC
[[.args]]
type = string
[[.args]]
type = effect
default = "GetLastCreatedEffectBJ"

[YDWESetLocalVariableEffectArray]
title = "Set special effects local variable array"
description = "Set local_${e}[${index}] = ${special effects}"
comment = "Assign a value to the array of special effects local variables, fill in the name and array index of the variable at the parameter; the variable is valid in this trigger."
category = TC_YDLC
[[.args]]
type = string
[[.args]]
type = integer
default = "1"
min = 0
[[.args]]
type = effect
default = "GetLastCreatedEffectBJ"

[YDWESetLocalVariableRect]
title = "Set region local variable"
description = "Set local_${rt} = ${region}"
comment = "Assign a value to a local variable, fill in the name of the variable at the parameter; this variable is valid in this trigger."
category = TC_YDLC
[[.args]]
type = string
[[.args]]
type = rect
default = "GetCurrentCameraBoundsMapRectBJ"

[YDWESetLocalVariableRectArray]
title = "Set region local variable array"
description = "Set local_${rt}[${index}] = ${region}"
comment = "Assign a value to the local variable array, fill in the name and array index of the variable at the parameter; this variable is valid in this trigger."
category = TC_YDLC
[[.args]]
type = string
[[.args]]
type = integer
default = "1"
min = 0
[[.args]]
type = rect
default = "GetCurrentCameraBoundsMapRectBJ"

[SetRandomSeed]
title = "Set random seed"
description = "Set the random seed number as: ${integer}"
comment = "Set the random seed of the game. The random seed will affect random integers and attack random numbers like dice."
category = TC_NOTHING
[[.args]]
type = integer
min = 0

[YDWESetMapLimitCoordinate]
title = "Set the map boundary coordinates [YDWE]"
description = "Set the boundary coordinates of the map to (X coordinate minimum value ${real number}, X coordinate maximum value ${real number}, Y coordinate minimum value ${real number}, Y coordinate maximum value ${real number} )"
comment = "The setting of boundary coordinates will affect the performance of hooks, jumping and other skills at the map boundary; the default boundary coordinates are the boundaries of the lens range, novices should use this setting carefully!"
category = TC_RECT
[[.args]]
type = real
[[.args]]
type = real
[[.args]]
type = real
[[.args]]
type = real

[YDWEFlushMissionByInteger]
title = "Empty directory (integer path)"
description = "Empty directory -> ${integer}"
comment = "By entering the path, the system will clear the directory from GameCache or HashTable according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0

[YDWEFlushMissionByString]
title = "Empty directory (string path)"
description = "Empty the directory -> ${string}"
comment = "By entering the path, the system will clear the directory from GameCache or HashTable according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"

[YDWESaveIntegerByInteger]
title = "Store integer (integer path)"
description = "Storage directory -> ${integer}, label -> ${integer}, storage integer -> ${integer}"
comment = "Through the input path, the system will use Return bug+GC or HashTable to store integer data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"

[YDWESaveIntegerByString]
title = "Storage integer (string path)"
description = "Storage directory -> ${string}, label -> ${string}, storage integer -> ${integer}"
comment = "Through the input path, the system will use Return bug+GC or HashTable to store integer data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = integer
default = "0"

[YDWESaveRealByInteger]
title = "Store real number (integer path)"
description = "Storage directory -> ${integer}, label -> ${integer}, storage real number -> ${real number}"
comment = "Through the input path, the system will use Return bug+GC or HashTable to store real number data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = real
default = "0"

[YDWESaveRealByString]
title = "Store real number (string path)"
description = "Storage directory -> ${string}, label -> ${string}, storage real number -> ${real number}"
comment = "Through the input path, the system will use Return bug+GC or HashTable to store real number data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = real
default = "0"

[YDWESaveStringByInteger]
title = "Store string (integer path)"
description = "Storage directory -> ${integer}, label -> ${integer}, storage string -> ${string}"
comment = "Through the entered path, the system will use Return bug+GC or HashTable to store string data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = string
default = "null"

[YDWESaveStringByString]
title = "store string (string path)"
description = "Storage directory -> ${string}, label -> ${string}, storage string -> ${string}"
comment = "Through the entered path, the system will use Return bug+GC or HashTable to store string data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"

[YDWESaveBooleanByInteger]
title = "Store truth value (integer path)"
description = "Storage directory -> ${integer}, label -> ${integer}, storage true value -> ${true value}"
comment = "Through the input path, the system will use Return bug+GC or HashTable to store the true value data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = boolean
default = "false"

[YDWESaveBooleanByString]
title = "Store true value (string path)"
description = "Storage directory -> ${string}, label -> ${string}, storage true value -> ${true value}"
comment = "Through the input path, the system will use Return bug+GC or HashTable to store the true value data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = boolean
default = "false"

[YDWESaveUnitByInteger]
title = "Storage unit (integer path)"
description = "Storage directory -> ${integer}, label -> ${integer}, storage unit -> ${unit}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store unit data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = unit
default = "GetTriggerUnit"

[YDWESaveUnitByString]
title = "Storage unit (string path)"
description = "Storage directory -> ${string}, label -> ${string}, storage unit -> ${unit}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store unit data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = unit
default = "GetTriggerUnit"

[YDWESaveUnitIDByInteger]
title = "Storage unit type (integer path)"
description = "Storage directory -> ${integer}, label -> ${integer}, storage unit type -> ${unit type}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store unit type data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = unitcode
default = "hfoo"

[YDWESaveUnitIDByString]
title = "Storage unit type (string path)"
description = "Storage directory -> ${string}, label -> ${string}, storage unit type -> ${unit type}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store unit type data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = unitcode
default = "hfoo"

[YDWESaveAbilityIDByInteger]
title = "Storage Skill (Integer Path)"
description = "Storage directory -> ${integer}, label -> ${integer}, storage skills -> ${skills}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store skill data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = abilcode
default = "Aloc"

[YDWESaveAbilityIDByString]
title = "Storage Skill (String Path)"
description = "Storage Directory -> ${String}, Label -> ${String}, Storage Skill -> ${Skill}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store skill data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = abilcode
default = "Aloc"

[YDWESaveItemByInteger]
title = "Store items (integer path)"
description = "Storage directory -> ${integer}, label -> ${integer}, storage item -> ${item}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store item data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = item
default = "GetManipulatedItem"

[YDWESaveItemByString]
title = "Store items (string path)"
description = "Storage directory -> ${string}, label -> ${string}, storage item -> ${item}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store item data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = item
default = "GetManipulatedItem"

[YDWESaveItemIDByInteger]
title = "Storage item type (integer path)"
description = "Storage directory -> ${integer}, label -> ${integer}, storage item type -> ${item type}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store item type data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = itemcode
default = "texp"

[YDWESaveItemIDByString]
title = "Storage item type (string path)"
description = "Storage Directory -> ${String}, Label -> ${String}, Storage Item Type -> ${Item Type}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store item type data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = itemcode
default = "texp"

[YDWESavePlayerByInteger]
title = "Store player (integer path)"
description = "Storage directory -> ${integer}, label -> ${integer}, storage player -> ${player}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store player data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = player
default = "GetEnumPlayer"

[YDWESavePlayerByString]
title = "Store player (string path)"
description = "Storage directory -> ${string}, label -> ${string}, storage player -> ${player}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store player data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = player
default = "GetEnumPlayer"

[YDWESaveTimerByInteger]
title = "Storage timer (integer path)"
description = "Storage directory -> ${integer}, label -> ${integer}, storage timer -> ${timer}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store the timer data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = timer
default = "GetExpiredTimer"

[YDWESaveTimerByString]
title = "Storage timer (string path)"
description = "Storage directory -> ${string}, label -> ${string}, storage timer -> ${timer}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store the timer data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = timer
default = "GetExpiredTimer"

[YDWESaveTriggerByInteger]
title = "Storage trigger (integer path)"
description = "Storage directory -> ${integer}, label -> ${integer}, storage trigger -> ${trigger}"
comment = "Through the input path, the system will use Return bug+GC or HashTable to store trigger data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = trigger
default = "GetTriggeringTrigger"

[YDWESaveTriggerByString]
title = "Storage trigger (string path)"
description = "Storage directory -> ${string}, label -> ${string}, storage trigger -> ${trigger}"
comment = "Through the input path, the system will use Return bug+GC or HashTable to store trigger data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = trigger
default = "GetTriggeringTrigger"

[YDWESaveLocationByInteger]
title = "Storage point (integer path)"
description = "Storage directory -> ${integer}, label -> ${integer}, storage point -> ${dot}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store point data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = location
default = "GetSpellTargetLoc"

[YDWESaveLocationByString]
title = "Storage point (string path)"
description = "Storage directory -> ${string}, label -> ${string}, storage point -> ${dot}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store point data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = location
default = "GetSpellTargetLoc"

[YDWESaveGroupByInteger]
title = "Storage Unit Group (Integer Path)"
description = "Storage directory -> ${integer}, label -> ${integer}, storage unit group -> ${unit group}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store unit group data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = group
default = "GetLastCreatedGroup"

[YDWESaveGroupByString]
title = "Storage Unit Group (String Path)"
description = "Storage directory -> ${string}, label -> ${string}, storage unit group -> ${unit group}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store unit group data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = group
default = "GetLastCreatedGroup"

[YDWESaveMultiboardByInteger]
title = "Store multiple panels (integer path)"
description = "Storage directory -> ${integer}, label -> ${integer}, storage multi-panel -> ${multi-panel}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store multi-panel data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = multiboard
default = "GetLastCreatedMultiboard"

[YDWESaveMultiboardByString]
title = "Store multiple panels (string path)"
description = "Storage directory -> ${string}, label -> ${string}, storage multi-panel -> ${multi-panel}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store multi-panel data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = multiboard
default = "GetLastCreatedMultiboard"

[YDWESaveMultiboardItemByInteger]
title = "Store multi-panel items (integer path)"
description = "Storage directory -> ${integer}, label -> ${integer}, store multi-panel project -> ${multi-panel project}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store multi-panel project data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = multiboarditem

[YDWESaveMultiboardItemByString]
title = "Store multi-panel project (string path)"
description = "Storage directory -> ${string}, label -> ${string}, store multi-panel project -> ${multi-panel project}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store multi-panel project data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = multiboarditem

[YDWESaveTextTagByInteger]
title = "Store floating text (integer path)"
description = "Storage directory -> ${integer}, label -> ${integer}, store floating text -> ${floating text}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store floating text data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = texttag
default = "GetLastCreatedTextTag"

[YDWESaveTextTagByString]
title = "Store floating text (string path)"
description = "Storage directory -> ${string}, label -> ${string}, store floating text -> ${floating text}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store floating text data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = texttag
default = "GetLastCreatedTextTag"

[YDWESaveLightningByInteger]
title = "Storage Lightning (integer path)"
description = "Storage directory -> ${integer}, label -> ${integer}, storage lightning -> ${lightning}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store lightning data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = lightning
default = "GetLastCreatedLightningBJ"

[YDWESaveLightningByString]
title = "Store lightning (string path)"
description = "Storage directory -> ${string}, label -> ${string}, storage lightning -> ${lightning}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store lightning data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = lightning
default = "GetLastCreatedLightningBJ"

[YDWESaveRegionByInteger]
title = "Storage area (integer path)"
description = "Storage directory -> ${integer}, label -> ${integer}, storage area -> ${area}"
comment = "By entering the path, the system will use Return bug+GC or HashTable storage area data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = region
default = "GetTriggeringRegion"

[YDWESaveRegionByString]
title = "Storage area (string path)"
description = "Storage directory -> ${string}, label -> ${string}, storage area -> ${area}"
comment = "By entering the path, the system will use Return bug+GC or HashTable storage area data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = region
default = "GetTriggeringRegion"

[YDWESaveRectByInteger]
title = "Storage area (integer path)"
description = "Storage directory -> ${integer}, label -> ${integer}, storage area -> ${area}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store area data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = rect
default = "GetCurrentCameraBoundsMapRectBJ"

[YDWESaveRectByString]
title = "Storage area (string path)"
description = "Storage directory -> ${string}, label -> ${string}, storage area -> ${area}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store area data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = rect
default = "GetCurrentCameraBoundsMapRectBJ"

[YDWESaveLeaderboardByInteger]
title = "Store leaderboard (integer path)"
description = "Storage Directory -> ${Integer}, Label -> ${Integer}, Storage Ranking -> ${ Ranking List}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store the leaderboard data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = leaderboard
default = "GetLastCreatedLeaderboard"

[YDWESaveLeaderboardByString]
title = "Store leaderboard (string path)"
description = "Storage Directory -> ${String}, Label -> ${String}, Storage Ranking -> ${ Ranking List}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store the leaderboard data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = leaderboard
default = "GetLastCreatedLeaderboard"

[YDWESaveEffectByInteger]
title = "Store special effects (integer path)"
description = "Storage Directory -> ${Integer}, Label -> ${Integer}, Storage Special Effect -> ${Special Effect}"
comment = "Through the input path, the system will use Return bug+GC or HashTable to store special effect data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = effect
default = "GetLastCreatedEffectBJ"

[YDWESaveEffectByString]
title = "Store special effects (string path)"
description = "Storage Directory -> ${String}, Label -> ${String}, Storage Special Effect -> ${Special Effect}"
comment = "Through the input path, the system will use Return bug+GC or HashTable to store special effect data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = effect
default = "GetLastCreatedEffectBJ"

[YDWESaveDestructableByInteger]
title = "Storage Destructible (Integer Path)"
description = "Storage directory -> ${integer}, label -> ${integer}, storage destructible -> ${destructible}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store the destructible data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = destructable
default = "GetLastCreatedDestructable"

[YDWESaveDestructableByString]
title = "Storage Destructible (String Path)"
description = "Storage Directory -> ${String}, Label -> ${String}, Store Destructible Object -> ${Destructible Object}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store the destructible data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = destructable
default = "GetLastCreatedDestructable"

[YDWESaveTriggerConditionByInteger]
title = "Store trigger condition (integer path)"
description = "Storage directory -> ${integer}, label -> ${integer}, storage trigger condition -> ${trigger condition}"
comment = "Through the input path, the system will use Return bug+GC or HashTable to store trigger condition data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = triggercondition

[YDWESaveTriggerConditionByString]
title = "Store trigger condition (string path)"
description = "Storage directory -> ${string}, label -> ${string}, storage trigger condition -> ${trigger condition}"
comment = "Through the input path, the system will use Return bug+GC or HashTable to store trigger condition data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = triggercondition

[YDWESaveTriggerActionByInteger]
title = "Store trigger action (integer path)"
description = "Storage directory -> ${integer}, label -> ${integer}, storage trigger action -> ${trigger action}"
comment = "Through the input path, the system will use Return bug+GC or HashTable to store trigger action data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = triggeraction

[YDWESaveTriggerActionByString]
title = "Store trigger action (string path)"
description = "Storage directory -> ${string}, label -> ${string}, storage trigger action -> ${trigger action}"
comment = "Through the input path, the system will use Return bug+GC or HashTable to store trigger action data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = triggeraction

[YDWESaveTriggerEventByInteger]
title = "Storage event (integer path)"
description = "Storage directory -> ${integer}, label -> ${integer}, storage event -> ${event}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store event data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = event

[YDWESaveTriggerEventByString]
title = "Storage event (string path)"
description = "Storage directory -> ${string}, label -> ${string}, storage event -> ${event}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store event data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = event

[YDWESaveForceByInteger]
title = "Store power (integer path)"
description = "Storage directory -> ${integer}, label -> ${integer}, storage force -> ${force}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store influence data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = force

[YDWESaveForceByString]
title = "Store power (string path)"
description = "Storage directory -> ${string}, label -> ${string}, storage force -> ${force}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store influence data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = force

[YDWESaveBoolexprByInteger]
title = "Store Boolean expression (integer path)"
description = "Storage directory -> ${integer}, label -> ${integer}, storage Boolean expression -> ${Boolean expression}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store Boolean expression data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = boolexpr

[YDWESaveBoolexprByString]
title = "Store Boolean expression (string path)"
description = "Storage directory -> ${string}, label -> ${string}, storage Boolean expression -> ${Boolean expression}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store Boolean expression data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = boolexpr

[YDWESaveSoundByInteger]
title = "Store sound (integer path)"
description = "Storage directory -> ${integer}, label -> ${integer}, storage sound -> ${sound}"
comment = "Through the input path, the system will use Return bug+GC or HashTable to store sound data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = sound

[YDWESaveSoundByString]
title = "Store sound (string path)"
description = "Storage directory -> ${string}, label -> ${string}, storage sound -> ${sound}"
comment = "Through the input path, the system will use Return bug+GC or HashTable to store sound data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = sound

[YDWESaveTimerDialogByInteger]
title = "Storage timer window (integer path)"
description = "Storage directory -> ${integer}, label -> ${integer}, storage timer window -> ${timer window}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store the timer window data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = timerdialog

[YDWESaveTimerDialogByString]
title = "Storage timer window (string path)"
description = "Storage directory -> ${string}, label -> ${string}, storage timer window -> ${timer window}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store the timer window data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = timerdialog

[YDWESaveTrackableByInteger]
title = "Store traceable (integer path)"
description = "Storage directory -> ${integer}, label -> ${integer}, storage traceable -> ${traceable}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store traceable data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = trackable

[YDWESaveTrackableByString]
title = "Store traceable (string path)"
description = "Storage directory -> ${string}, label -> ${string}, storage traceable -> ${traceable}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store traceable data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = trackable

[YDWESaveDialogByInteger]
title = "Storage dialog (integer path)"
description = "Storage Directory -> ${Integer}, Label -> ${Integer}, Storage Dialog -> ${Dialog}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store the dialog box data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = dialog

[YDWESaveDialogByString]
title = "Storage dialog (string path)"
description = "Storage Directory -> ${String}, Label -> ${String}, Storage Dialog -> ${Dialog}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store the dialog box data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = dialog

[YDWESaveButtonByInteger]
title = "Save dialog button (integer path)"
description = "Storage directory -> ${integer}, label -> ${integer}, storage dialog button -> ${dialog button}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store the dialog button data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = button

[YDWESaveButtonByString]
title = "Save dialog button (string path)"
description = "Storage directory -> ${string}, label -> ${string}, storage dialog button -> ${dialog button}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store the dialog button data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = button

[YDWESaveQuestByInteger]
title = "Storage task (integer path)"
description = "Storage directory -> ${integer}, label -> ${integer}, storage task -> ${task}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store task data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = quest
default = "GetLastCreatedQuestBJ"

[YDWESaveQuestByString]
title = "Storage task (string path)"
description = "Storage directory -> ${string}, label -> ${string}, storage task -> ${task}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store task data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = quest
default = "GetLastCreatedQuestBJ"

[YDWESaveQuestItemByString]
title = "Store task target item (string path)"
description = "Storage directory -> ${string}, label -> ${string}, storage task target item -> ${task target item}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store task target data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = questitem
default = "GetLastCreatedQuestItemBJ"

[YDWESaveQuestItemByInteger]
title = "Store task target item (integer path)"
description = "Storage directory -> ${integer}, label -> ${integer}, storage task target item -> ${task target item}"
comment = "By entering the path, the system will use Return bug+GC or HashTable to store task target data according to the current version of Warcraft."
category = TC_YDLD
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = questitem
default = "GetLastCreatedQuestItemBJ"

[YDWECreateEwsp]
title = "Create a surround unit <wataloo add>"
description = "Create ${unit type} around ${unit}, a total of ${n}, radius of rotation ${R}, duration of ${T} seconds, refresh cycle ${I}, rotation angular velocity every cycle ${S }."
comment = "The smaller the refresh cycle, the more continuous the animation, but the more resources it consumes"
category = TC_YDST
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = unitcode
default = "hfoo"
[[.args]]
type = integer
default = "1"
min = 1
[[.args]]
type = real
default = "300"
min = 0
[[.args]]
type = real
default = "20"
min = 0
[[.args]]
type = real
default = "0.01"
min = 0.01
[[.args]]
type = real
default = "1"

[YDWECreateLine]
title = "Generate ribbon <thody production>"
description = "Generate ribbon on ${unit}, special effect unit type is ${unit type}, number is ${integer}, angle offset is ${real number}, spacing is ${real number}, duration is ${real number }, the refresh cycle is ${real number}, the initial height is ${real number}, the height difference is ${real number}, the model size is initially ${real number}, and the size difference is ${real number}."
comment = "Beautiful ribbon~"
category = TC_YDST
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = unitcode
default = "ewsp"
[[.args]]
type = integer
default = "12"
min = 0
[[.args]]
type = degree
default = "50"
min = -360
max = 360
[[.args]]
type = real
default = "60"
min = 0
[[.args]]
type = real
default = "30"
min = 0
[[.args]]
type = real
default = "0.03"
min = 0.01
[[.args]]
type = real
default = "0"
min = 0
[[.args]]
type = real
default = "10"
min = 0
[[.args]]
type = real
default = "100"
min = 1.0
max = 1000.0
[[.args]]
type = real
default = "30"

[YDWEInitCinematicSystem]
title = "Open movie system <Anitarf production>"
description = "Open Script System movie system"
comment = "The movie system must be turned on before it can be used, and YDWE will automatically load the corresponding function library."
category = TC_SCRIPTSET
[[.args]]
type = nothing

[YDWECinematicCameraDisable]
title = "Close movie system <Anitarf production>"
description = "Turn off the Script System movie system"
comment = "After the movie system is closed, the trigger action can no longer be used."
category = TC_SCRIPTSET
[[.args]]
type = nothing

[YDWECinSInitTempPoint]
title = "Set the actor's birth point <Anitarf production>"
description = "Set the actor's unit to be born at ${point\", the system will create a unit at this point\"}"
comment = "The system defaults that the actor unit was born at point (0,0). This action can be used to modify the location of the birth point. If you want to delete this point, please delete it after the unit is generated."
category = TC_SCRIPTSET
[[.args]]
type = location
default = "Location"

[YDWEScriptSystemPeriod]
title = "Set the movie system refresh cycle <Anitarf production>"
description = "Set the movie system refresh cycle to ${refresh cycle\" second\"}"
comment = "The default refresh cycle of the movie system is 0.02 seconds, and the refresh cycle can be changed by setting here."
category = TC_SCRIPTSET
[[.args]]
type = real
default = "0.02"

[YDWEParticlePeriod]
title = "Set the particle system refresh cycle <Anitarf production>"
description = "Set the particle system refresh cycle to ${refresh cycle\" second\"}"
comment = "The particle system includes unit-related functions such as unit movement and steering. The default refresh cycle is 0.02 seconds."
category = TC_SCRIPTSET
[[.args]]
type = real
default = "0.02"

[YDWECameraPeriod]
title = "Set the lens system refresh cycle <Anitarf production>"
description = "Set the refresh cycle of the lens system to ${refresh cycle\" seconds\"}"
comment = "The lens system includes functions such as lens movement and locking. The default refresh cycle is 0.02 seconds."
category = TC_SCRIPTSET
[[.args]]
type = real
default = "0.02"

[YDWEFadeFilterUnit]
title = "Set filter unit <Anitarf production>"
description = "Set the filter auxiliary unit type to ${unit type}"
comment = "The movie system comes with a filter model, through which you can get better visual effects."
category = TC_SCRIPTSET
[[.args]]
type = unitcode

[YDWEWriteToScene]
title = "Record the current scene <Anitarf production>"
description = "Record the current scene as ${integer}"
comment = "Tell the system the serial number of this scene."
category = TC_SCRIPTSET
[[.args]]
type = integer
default = "1"
min = 1

[YDWEPlayScene]
title = "Play scene <Anitarf production>"
description = "Play scene ${integer}"
comment = "Play the specified scene."
category = TC_SCRIPTSET
[[.args]]
type = integer
default = "1"
min = 1

[YDWEScriptNextScene]
title = "Set the playback time of the next scene <Anitarf production>"
description = "Play the next scene in the timeline for ${real number} seconds"
comment = "The movie system divides a movie into several scenes, and each scene can be played at a specified time."
category = TC_SCRIPTSET
[[.args]]
type = real
default = "2"
min = 0

[YDWEScriptExternalFunc]
title = "Run external function <Anitarf production>"
description = "Run function ${string} in timeline ${real number} seconds"
comment = "You can run functions outside the movie system, just fill in the name of the function."
category = TC_SCRIPTSET
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = string
default = "EverguoIsHandsome"

[YDWEScriptSubtitleLine]
title = "Display subtitle line <Anitarf production>"
description = "Show caption line ${string} in timeline ${real number} seconds"
comment = "You can display a line of text on the screen."
category = TC_SCRIPTSET
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = string
default = "EverguoIsHandsome"

[YDWEScriptSubtitleClear]
title = "Clear subtitle line <Anitarf production>"
description = "Clear caption line in timeline ${real number} seconds"
comment = "Clear the text displayed on the screen."
category = TC_SCRIPTSET
[[.args]]
type = real
default = "2"
min = 0

[YDWEActorCreate]
title = "Create Actor <Anitarf Production>"
description = "Create an actor unit for player ${player}, the number is ${integer}, and the unit type is ${integer}"
comment = "The actors who appear in the movie must be generated through this action; each actor needs to set a lifetime number, such as 9527, the system will use this number to let the actors perform."
category = TC_SCRIPTSET
[[.args]]
type = player
default = "Player00"
[[.args]]
type = integer
default = "1"
min = 1
[[.args]]
type = unitcode
default = "Edem"

[YDWEScriptActAbilityLvl]
title = "Add Skill <Anitarf Production>"
description = "Add skill ${skills} for actor ${integer} in timeline ${real number} seconds, level ${integer}"
comment = "Fill in the actor's number in the parameter behind the actor, such as 9527, you can add a skill to the actor; you can set the skill level."
category = TC_SCRIPTSET
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = integer
default = "1"
min = 1
[[.args]]
type = abilcode
default = "Aloc"
[[.args]]
type = integer
default = "1"
min = 0

[YDWEScriptActAnimPlay]
title = "Play animation <Anitarf production>"
description = "Play the animation of actor ${integer} in the timeline for ${real number} seconds, ${integer}, the animation mixing time is ${real number} seconds"
comment = "Fill in the index of the animation in the parameter behind the animation, 0 is the default animation; the animation mixing time is the transition time from the previous animation to the next animation. If it is 0, it will switch immediately."
category = TC_SCRIPTSET
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = integer
default = "1"
min = 1
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = real
default = "0"
min = 0

[YDWEScriptActAnimSpeed]
title = "Adjust animation speed <Anitarf production>"
description = "Adjust the animation speed of actor ${integer} to ${real number} x100% in the timeline for ${real number} seconds"
comment = "Fill in the index of the animation in the parameter behind the animation, 0 is the default animation; the animation mixing time is the transition time from the previous animation to the next animation, if it is 0, it will switch immediately."
category = TC_SCRIPTSET
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = integer
default = "1"
min = 1
[[.args]]
type = real
default = "1"

[YDWEScriptActAnimReset]
title = "Reset animation <Anitarf production>"
description = "Reset the animation of actor ${integer} in the timeline for ${real number} seconds"
comment = "Reset the animation of the unit, that is, the default animation of the playback unit; this animation is usually standing and the index is 0."
category = TC_SCRIPTSET
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = integer
default = "1"
min = 1

[YDWEActorWalkProperties]
title = "Unit walking setting <Anitarf production>"
description = "Set the walking animation index of the unit type ${unit type} to ${integer}, the walking animation playback time to ${real number}, and the unit moving speed to ${real number}"
comment = "Set the walking animation parameters of the unit. In this system, the walking of the unit is simulated by continuously moving the unit and playing the walking animation."
category = TC_SCRIPTSET
[[.args]]
type = unitcode
default = "Edem"
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = real
default = "0"
min = 0
[[.args]]
type = real
default = "0"
min = 0

[YDWEScriptActWalk]
title = "Unit Walk <Anitarf Production>"
description = "In the timeline ${real number} seconds, let the actor ${integer} walk to the destination (coordinate X ${real number}, coordinate Y ${real number}), time ${real number}, animation mixing time ${Real number} seconds"
comment = "Let the unit run to the specified coordinate within the specified time; before using this action, the unit walking parameters must be set."
category = TC_SCRIPTSET
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = integer
default = "1"
min = 1
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = real
default = "0"
min = 0

[YDWEScriptActSlide]
title = "Unit Glide <Anitarf Production>"
description = "When the timeline is ${real number} seconds, let the actor ${integer} slide to the destination (coordinate X ${real number}, coordinate Y ${real number}), time is ${real number} seconds, and the maximum height is ${Real number}"
comment = "Set the walking animation parameters of the unit. In this system, the walking of the unit is simulated by continuously moving the unit and playing the walking animation."
category = TC_SCRIPTSET
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = integer
default = "1"
min = 1
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = real
default = "0"
min = 0

[YDWEScriptActTurn]
title = "Unit Shift <Anitarf made>"
description = "When the timeline is ${real number} seconds, let the actor ${integer} face the angle ${real number}, the time is ${real number}, and the rotation direction is ${integer}"
comment = "Let the unit rotate to a certain angle within a specified time; when the closest direction is selected, the unit will automatically select the shortest rotation method."
category = TC_SCRIPTSET
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = integer
default = "1"
min = 1
[[.args]]
type = degree
default = "0"
min = 0
max = 360
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = turnclockwise
default = "turnclockwiseA"

[YDWEScriptActFace]
title = "Lock the unit body to face <Anitarf made>"
description = "Lock the body of the actor ${integer} towards the actor ${integer} at the time of ${real number} seconds, the part is ${part}, and the offset coordinates are (X ${Xoffset}, Y ${Yoffset} , Z ${offset} ), the animation mixing time is ${real number} seconds"
comment = "Let the unit's head or chest always face the offset coordinate point of the target unit until the body orientation is reset; the coordinate offset takes the foot of the target unit as the origin."
category = TC_SCRIPTSET
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = integer
default = "1"
min = 1
[[.args]]
type = integer
default = "2"
min = 1
[[.args]]
type = headORchest
default = "headORchestA"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
min = 0

[YDWEScriptActFaceReset]
title = "Reset unit body orientation <Anitarf made>"
description = "Reset the actor's ${real number} body orientation at ${real number} seconds in the timeline, and the animation blending time is ${real number}"
comment = "Return the unit's body orientation to normal."
category = TC_SCRIPTSET
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = integer
default = "1"
min = 1
[[.args]]
type = real
default = "0"
min = 0

[YDWEScriptActColour]
title = "Change unit color <Anitarf made>"
description = "In the timeline ${real number} seconds, change the color ratio of actor ${integer} to (red ${red}%, green ${green}%, blue ${blue}%), and the visibility is ${visibility }%, the specified time is ${time} seconds"
comment = "Gradually change the color ratio and visibility of the unit to the specified value within the specified time. The default color ratio of the unit is 100%. When the visibility is 0, the unit is completely transparent."
category = TC_SCRIPTSET
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = integer
default = "1"
min = 1
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0

[YDWEScriptActSize]
title = "Change unit body size <Anitarf made>"
description = "Change the body size of the actor ${integer} to ${real number} when the timeline is ${real number} seconds, and the specified time is ${real number} seconds"
comment = "Gradually change the body size of the unit within the specified time as the target value, 1.0 is the normal body size of the unit."
category = TC_SCRIPTSET
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = integer
default = "1"
min = 1
[[.args]]
type = real
default = "1.0"
min = 0.01
[[.args]]
type = real
default = "0"
min = 0

[YDWECameraSetupAssign]
title = "Set lens <Anitarf production>"
description = "Set the number of the lens ${lens} to ${integer}"
comment = "Set the lens number, the system will call the lens according to the lens number."
category = TC_SCRIPTSET
[[.args]]
type = camerasetup
default = "GetCurrentCameraSetup"
[[.args]]
type = integer
default = "1"
min = 1

[YDWEScriptCamera]
title = "Apply lens <Anitarf production>"
description = "Apply the lens ${integer} when the timeline is ${real number} seconds, the specified time is ${real number}, and the lens switching method is ${integer}"
comment = "Switch the current lens to the target lens within the specified time; you can choose the lens switching method, when you choose to switch immediately, the parameters of the specified time will be ignored."
category = TC_SCRIPTSET
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = integer
default = "1"
min = 1
[[.args]]
type = real
default = "0"
min = 0
[[.args]]
type = camerachangetype
default = "camerachangetypeA"

[YDWEScriptCameraStat]
title = "Change lens parameters <Anitarf production>"
description = "Set the current lens parameter ${integer} in the timeline ${real number} seconds, and change to ${real number} within the specified time ${real number}, the speed is ${real number}, and the lens switching method is ${integer }"
comment = "In the specified time, a certain attribute of the current lens will be changed to the target value; when you choose to switch immediately, the parameters of the specified time, target value and speed will be ignored."
category = TC_SCRIPTSET
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = camerastattype
default = "camerastattypeA"
min = 1
[[.args]]
type = real
default = "0"
min = 0
[[.args]]
type = real
default = "200"
[[.args]]
type = real
default = "200"
[[.args]]
type = camerachangetype
default = "camerachangetypeA"

[YDWEScriptCameraIgnoreTerrain]
title = "The lens ignores the cliff <Anitarf made>"
description = "Set the height of the cliff when the camera moves ${true value} in the timeline for ${real number} seconds"
comment = "If you choose not to ignore, the camera will shake as the terrain undulates when it moves; choose ignore, if the height of the camera is lower than the ground, you will see the sky below the ground."
category = TC_SCRIPTSET
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = cameratgnoreterrain
default = "cameratgnoreterrainA"

[YDWEScriptActCameraLock]
title = "Lock the lens position <Anitarf production>"
description = "Lock the camera position to the actor ${integer} in the timeline for ${real number} seconds, the offset coordinates are (X ${Xoffset}, Y ${Yoffset}, Z ${offset} ), whether the camera movement is smooth (${true value}), the specified time is ${real number} seconds"
comment = "Lock the lens position at the offset coordinate point of the target unit within the specified time. If the lens movement is not smooth, the lens will move linearly."
category = TC_SCRIPTSET
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = integer
default = "1"
min = 1
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = boolean
default = "true"
[[.args]]
type = real
default = "0"
min = 0

[YDWEScriptActCameraLockReset]
title = "Reset lens position <Anitarf production>"
description = "Reset the lens position in the timeline for ${real number} seconds, whether the lens movement is smooth (${true value}), and the specified time is ${real number} seconds"
comment = "Unlock the lens position within the specified time. If the lens movement is not smooth, the lens will move linearly."
category = TC_SCRIPTSET
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = boolean
default = "true"
[[.args]]
type = real
default = "0"
min = 0

[YDWEScriptActCameraFace]
title = "Lock the camera angle <Anitarf production>"
description = "When the timeline is ${real number} seconds, the camera angle is locked to the actor ${integer}, the offset coordinates are (X ${Xoffset}, Y ${Yoffset}, Z ${offset} ), whether the camera movement is smooth (${true value}), the specified time is ${real number} seconds"
comment = "Lock the lens angle at the offset coordinate point of the target unit within the specified time. If the lens movement is not smooth, the lens will move linearly."
category = TC_SCRIPTSET
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = integer
default = "1"
min = 1
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = boolean
default = "true"
[[.args]]
type = real
default = "0"
min = 0

[YDWEScriptActCameraFaceReset]
title = "Reset camera angle <Anitarf production>"
description = "Reset the camera angle when the timeline is ${real number} seconds, and whether the camera movement is smooth (${true value}), the specified time is ${real number} seconds"
comment = "Unlock the lens angle within the specified time. If the lens movement is not smooth, the lens will move linearly."
category = TC_SCRIPTSET
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = boolean
default = "true"
[[.args]]
type = real
default = "0"
min = 0

[YDWEScriptFog]
title = "Set the fog <Anitarf production>"
description = "Set the fog in the timeline ${real number} seconds, the Z axis starts at ${real number}, Z axis ends at ${real number}, the color ratio is (red ${red}%, green ${green}%, Blue ${blue}% ), the specified time is ${real number} seconds"
comment = "The fog changes to the specified value within the specified time."
category = TC_SCRIPTSET
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = real
default = "3000"
min = 0
[[.args]]
type = real
default = "5000"
min = 0
[[.args]]
type = real
default = "0"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0

[YDWEScriptFade]
title = "Set filter <Anitarf production>"
description = "Set the filter in the timeline for ${real number} seconds, the color ratio is (red ${red}%, green ${green}%, blue ${blue}%), transparency is ${real number}%, The specified time is ${real number} seconds"
comment = "The filter changes to the specified value within the specified time."
category = TC_SCRIPTSET
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = real
default = "0"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0

[YDWEScriptPlaySound]
title = "Play sound <Anitarf production>"
description = "Play a sound in the timeline for ${real number} seconds, the path is ${string}, the playback rate is ${real number}, and the volume is ${integer}"
comment = "Play the sound; fill in the path of the sound file in the path; 1.0 is the normal playback rate, 0.5 is the half speed, and 2.0 is the double rate; the volume is the sound level, and the value is between 0-127."
category = TC_SCRIPTSET
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = string
default = "null"
[[.args]]
type = real
default = "0"
min = 0
max = 10
[[.args]]
type = integer
default = "0"
min = 0
max = 127

[YDWEScriptPointEffect]
title = "Create special effects (specify points) <Anitarf production>"
description = "Create a special effect in the timeline ${real number} seconds in space coordinates (X ${real number}, Y ${real number}, Z ${real number}), the path is ${string}, and the special effect existence time is ${Real number} seconds"
comment = "Create a special effect at the space coordinate, you can set the time of the special effect."
category = TC_SCRIPTSET
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = string
default = "null"
[[.args]]
type = real
default = "0"
min = 0

[YDWEScriptActEffect]
title = "Create special effects (bound unit) <Anitarf production>"
description = "Create a special effect on the actor ${integer} in the timeline ${real number} seconds, the special effect path is ${string}, the additional part is ${string}, and the special effect existence time is ${real number}"
comment = "Create a special effect on the unit, you can set the additional part of the special effect and the existence time."
category = TC_SCRIPTSET
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = integer
default = "1"
min = 1
[[.args]]
type = string
default = "null"
[[.args]]
type = string
default = "null"
[[.args]]
type = real
default = "0"
min = 0

[DisableTrigger]
title = "Turn off trigger"
description = "Turn Off ${Trigger}"
comment = ""
category = TC_TRIGGER
[[.args]]
type = trigger
default = "GetTriggeringTrigger"

[EnableTrigger]
title = "Turn on trigger"
description = "Turn on ${Trigger}"
comment = ""
category = TC_TRIGGER
[[.args]]
type = trigger
default = "GetTriggeringTrigger"

[ConditionalTriggerExecute]
title = "Run trigger (check condition)"
description = "Run ${trigger} (check condition)"
comment = "Run the trigger action if its trigger condition is met."
category = TC_TRIGGER
[[.args]]
type = trigger

[YDWETimerRunTrigger]
title = "Timer System-Run Trigger"
description = "Run ${trigger} after ${time} seconds"
comment = "Start the central timer and run the trigger after the specified time."
category = TC_TRIGGER
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = trigger
default = "GetTriggeringTrigger"

[YDWETimerRunPeriodicTrigger]
title = "Timer System-Cycle Running Trigger"
description = "Run ${trigger} every ${time} seconds, run ${true value} forever, run ${integer} times, run flag ${integer}."
comment = "Start the central timer and run the trigger at the specified interval; when the permanent run is true, the number of runs will be ignored; the run flag is a custom value to distinguish other runs."
category = TC_TRIGGER
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = trigger
default = "GetTriggeringTrigger"
[[.args]]
type = boolean
default = "false"
[[.args]]
type = integer
default = "5"
min = 0
[[.args]]
type = integer
default = "0"

[YDWETimerRunPeriodicTriggerOver]
title = "Timer System-Termination Trigger"
description = "Stop running ${trigger}, running ID ${integer}."
comment = "Make the central timer no longer run the trigger; if the trigger is run multiple times at the same time and the running identifier is the same, the central timer will stop all running of the trigger."
category = TC_TRIGGER
[[.args]]
type = trigger
default = "GetTriggeringTrigger"
[[.args]]
type = integer
default = "0"

[TriggerExecute]
title = "Run trigger (regardless of conditions)"
description = "Run ${trigger} (regardless of conditions)"
comment = "Ignore events and conditions, and run trigger actions."
category = TC_TRIGGER
[[.args]]
type = trigger

[QueuedTriggerAddBJ]
title = "Add to trigger queue"
description = "Add ${trigger} to the trigger queue (${Checking/Ignoring} condition)"
comment = "I personally think that the trigger queue is a useless function."
category = TC_TRIGGER
[[.args]]
type = trigger
[[.args]]
type = checkingignoringoption
default = "CheckingIgnoringChecking"

[QueuedTriggerRemoveBJ]
title = "Remove the trigger queue"
description = "Remove ${trigger} out of the trigger queue"
comment = "If the trigger is running, removing the unit from the queue will allow subsequent triggers to run, but will not affect its actions."
category = TC_TRIGGER
[[.args]]
type = trigger
default = "GetTriggeringTrigger"

[QueuedTriggerClearBJ]
title = "Empty the trigger queue"
description = "Empty all triggers in the trigger queue"
comment = ""
category = TC_TRIGGER
[[.args]]
type = nothing

[QueuedTriggerClearInactiveBJ]
title = "Empty Triggers Not Running"
description = "Empty all unrunning triggers in the trigger queue"
comment = "Only running triggers will not be removed from the queue."
category = TC_TRIGGER
[[.args]]
type = nothing

[AddTriggerEvent]
title = "Trigger add event"
description = "Add event for ${trigger}: ${event}"
comment = "Use this function to add events for other triggers in the game."
category = TC_TRIGGER
[[.args]]
type = trigger
default = "GetTriggeringTrigger"
[[.args]]
type = eventcall

[DestroyTrigger]
title = "Delete Trigger [R]"
description = "Delete ${trigger}"
comment = "This action can be used to delete triggers that are no longer used."
category = TC_TRIGGER
[[.args]]
type = trigger
default = "GetTriggeringTrigger"

[CreateNUnitsAtLoc]
title = "Create unit (multiple) (angle-oriented)"
description = "Create ${Number} ${units} for ${Player} at ${specified point}, the orientation angle is ${Direction}"
comment = "The angle of orientation adopts the angle system, 0 degrees is the true east direction, and 90 degrees is the true north direction. Use the'last created unit group' to get all the units created. Use the'last created unit' to get the single created unit."
category = TC_UNIT
[[.args]]
type = integer
default = "1"
min = 1
[[.args]]
type = unitcode
default = "hfoo"
[[.args]]
type = player
default = "Player00"
[[.args]]
type = location
[[.args]]
type = degree
default = "RealUnitFacing"
min = 0
max = 360

[CreateNUnitsAtLocFacingLocBJ]
title = "Create unit (multiple) (point-oriented)"
description = "Create ${Number} ${unit} for ${Player} at ${specified point}, facing ${specified point}"
comment = "Use the'last created unit group' to get all the units created. Use the'last created unit' to get the single unit created."
category = TC_UNIT
[[.args]]
type = integer
default = "1"
min = 1
[[.args]]
type = unitcode
default = "hfoo"
[[.args]]
type = player
default = "Player00"
[[.args]]
type = location
[[.args]]
type = location

[" CreateUnitAtLoc"]
title = "Create unit (specify point)"
description = "Create ${unit} for ${player} at ${specified point}, with a facing angle of ${Direction}"
comment = "Cannot be obtained by the'last created unit'"
category = TC_UNIT
[[.args]]
type = player
default = "Player00"
[[.args]]
type = unitcode
default = "hfoo"
[[.args]]
type = location
[[.args]]
type = degree
default = "0"

[" CreateUnit"]
title = "Create unit (specify coordinates)"
description = "Create ${unit} for ${player} in (${X}, ${Y}), facing the angle of ${Direction}"
comment = "Cannot be obtained by the'last created unit'"
category = TC_UNIT
[[.args]]
type = player
[[.args]]
type = unitcode
[[.args]]
type = real
[[.args]]
type = real
[[.args]]
type = degree
default = "RealUnitFacing"

[CreateCorpseLocBJ]
title = "Create Corpse"
description = "Create a body of ${unit} for ${Player} at ${specified point}"
comment = "Not all units have a corpse form. Use the'last created unit' to get the corpse."
category = TC_UNIT
[[.args]]
type = unitcode
default = "hfoo"
[[.args]]
type = player
default = "Player00"
[[.args]]
type = location

[CreatePermanentCorpseLocBJ]
title = "Create a permanent corpse"
description = "Create a corpse of ${Style} ${unit} for ${Player} at ${specified point}, the orientation angle is ${Direction}"
category = TC_UNIT
[[.args]]
type = corpsetype
default = "CorpseTypeBone"
[[.args]]
type = unitcode
default = "hfoo"
[[.args]]
type = player
default = "Player00"
[[.args]]
type = location
[[.args]]
type = degree
default = "GetRandomDirectionDeg"
min = 0
max = 360

[KillUnit]
title = "Kill"
description = "Kill ${unit}"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"

[RemoveUnit]
title = "Delete"
description = "Delete ${unit}"
comment = "The deleted unit will not leave a corpse. If it is a hero, it cannot be resurrected."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"

[YDWETimerRemoveUnit]
title = "Timer System-Delete Unit [YDWE]"
description = "Delete ${unit} after ${time} seconds"
comment = "Start the central timer and delete the unit after the specified time."
category = TC_UNIT
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = unit
default = "GetTriggerUnit"

[ExplodeUnitBJ]
title = "Explosion"
description = "Death by exploding ${unit}"
comment = "Blast death will not leave a corpse."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"

[ReplaceUnitBJ]
title = "Replace"
description = "Replace ${unit} with ${unit type} to use ${Property Usage} life and magic"
comment = "Use the'last replaced unit' to obtain the unit. If the undead gold mine is replaced, an ordinary gold mine is often left. In fact, it is to create and delete the unit."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = unitcode
default = "hfoo"
[[.args]]
type = unitstatemethod
default = "UnitStateMethodRelative"

[ShowUnit]
title = "Display/Hide [R]"
description = "Set the status of ${unit} to ${Display/hide}"
comment = "Hidden units will not be selected by'units in the area'."
category = TC_UNIT
[[.args]]
type = unit
default = "bj_lastCreatedUnit"
[[.args]]
type = showhideoption
default = "ShowHideHide"

[ShowUnitHide]
title = "Hide"
description = "Hide ${unit}"
comment = "Use'Units-Show' to display this unit. Hidden units will not be selected by'Units in Area'."
category = TC_UNIT
[[.args]]
type = unit

[ShowUnitShow]
title = "Display"
description = "Display ${unit}"
comment = "Use'Unit-Hidden' to show the unit. Hidden units will not be selected by'Units in the area'."
category = TC_UNIT
[[.args]]
type = unit

[SetUnitColor]
title = "Change team color"
description = "Change the team color of ${unit} to ${Color}"
comment = "Changing the team color will not change the unit's belonging."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = playercolor
default = "Color00"

[SetUnitOwner]
title = "Change ownership"
description = "Change ${unit} to belong to ${Player} and ${Change/Retain Color}"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
[[.args]]
type = player
default = "Player00"
[[.args]]
type = colorchangeoption
default = "ChangeColorTrue"

[UnitShareVision]
title = "Share View [R]"
description = "Set the view of ${unit} to ${Player} ${on/off}"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = player
default = "Player00"
[[.args]]
type = onoffoption
default = "OnOffOn"

[UnitShareVisionBJ]
title = "Share View"
description = "${Grant/Deny} shares the vision pair of ${unit} ${Player}"
comment = ""
category = TC_UNIT
[[.args]]
type = sharedontoption
default = "ShareDontOptionShare"
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = player
default = "Player00"

[SetUnitPosition]
title = "Moving unit (immediately) (specified coordinates) [R]"
description = "Immediately move ${unit} to (${X},${Y})"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"

[SetUnitPositionLoc]
title = "Mobile unit (immediately) (specified point)"
description = "Immediately move ${unit} to ${specified point}"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = location

[SetUnitPositionLocFacingBJ]
title = "The moving unit faces the angle (immediately)"
description = "Immediately move ${unit} to ${specified point}, facing the angle ${Direction} degrees"
comment = "It is recommended to use'movement unit' +'set facing angle' action. The facing angle adopts the angle system, 0 degrees is the true east direction, and 90 degrees is the true north direction."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = location
[[.args]]
type = degree
default = "RealUnitFacing"

[SetUnitPositionLocFacingLocBJ]
title = "Move unit to point (immediately)"
description = "Immediately move ${unit} to ${specified point} and face ${specified point}"
comment = "It is recommended to use the'movement unit' +'set the orientation angle' action."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = location
[[.args]]
type = location

[SetUnitX]
title = "Set X coordinate [R]"
description = "Set the X coordinate of ${unit} to ${X}"
comment = "Note that an error will occur if the coordinates exceed the bounds of the map."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = real
default = "0"

[SetUnitY]
title = "Set Y coordinate [R]"
description = "Set the Y coordinate of ${unit} to ${Y}"
comment = "Note that an error will occur if the coordinates exceed the bounds of the map."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = real
default = "0"

[SetUnitRallyPoint]
title = "Set assembly point (specified point)"
description = "Set the rally point of ${unit} to ${specified point}"
comment = "It is recommended to issue the'setrally' command to achieve this function."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = location

[SetUnitRallyUnit]
title = "Set assembly point (specify unit)"
description = "Set the rally point of ${unit} to ${unit}"
comment = "It is recommended to issue the'setrally' command to achieve this function."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = unit

[SetUnitRallyDestructable]
title = "Set assembly point (specified object)"
description = "Set the rally point of ${unit} to ${object}"
comment = "It is recommended to issue the'setrally' command to achieve this function."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = destructable

[SetUnitState]
title = "Set unit attribute [R]"
description = "Set the ${attribute} of ${unit} to ${Value}"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = unitstatesec
default = "UnitStateLifeSec"
[[.args]]
type = real
default = "100"

[SetUnitLifePercentBJ]
title = "Set health value (percentage)"
description = "Set the health value of ${unit} to ${Percent}%"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = real
default = "100"
min = 0
max = 100

[SetUnitManaPercentBJ]
title = "Set magic value (percentage)"
description = "Set the magic value of ${unit} to ${Percent}%"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = real
default = "100"
min = 0
max = 100

[SetUnitLifeBJ]
title = "Set health value (specified value)"
description = "Set the health value of ${unit} to ${Value}"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = real
default = "GetUnitStateSwap"
min = 0

[SetUnitManaBJ]
title = "Set magic value (specified value)"
description = "Set the magic value of ${unit} to ${Value}"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = real
default = "0"
min = 0

[SetUnitInvulnerable]
title = "Set invincible/attackable"
description = "Set ${unit} ${Invulnerable/Vulnerable}"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = invulnerableoption
default = "InvulnerabilityInvulnerable"

[PauseUnit]
title = "Pause/Resume [R]"
description = "Set ${unit} ${Pause/Unpause}"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = pauseunpauseoption
default = "PauseUnpauseOptionPause"

[PauseUnitBJ]
title = "Pause/Resume"
description = "${Pause/Unpause} ${Unit}"
comment = ""
category = TC_UNIT
[[.args]]
type = pauseunpauseoption
default = "PauseUnpauseOptionPause"
[[.args]]
type = unit
default = "GetTriggerUnit"

[PauseAllUnitsBJ]
title = "Pause/Resume all units"
description = "${Pause/Unpause} all units"
comment = "This action only affects units currently on the map. Units created or resurrected later will not be affected."
category = TC_UNIT
[[.args]]
type = pauseunpauseoption
default = "PauseUnpauseOptionPause"

[UnitPauseTimedLife]
title = "Pause/Resume Life Cycle [R]"
description = "Make ${unit} ${Pause/Unpause} life cycle"
comment = "Only the summoned unit has a life cycle."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = pauseunpauseoption
default = "PauseUnpauseOptionPause"

[UnitPauseTimedLifeBJ]
title = "Pause/Resume Life Cycle"
description = "${Pause/Unpause} ${unit} life cycle"
comment = "Only the summoned unit has a life cycle."
category = TC_UNIT
[[.args]]
type = pauseunpauseoption
default = "PauseUnpauseOptionPause"
[[.args]]
type = unit
default = "GetTriggerUnit"

[UnitApplyTimedLife]
title = "Set Life Cycle [R]"
description = "Set the life cycle of ${Buff Type} for ${unit}, the duration is ${Duration} seconds"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = timedlifebuffcode
default = "TimedLifeBuffCodeWaterElemental"
[[.args]]
type = real
default = "60"
min = 0

[UnitApplyTimedLifeBJ]
title = "Set Life Cycle"
description = "Set the life cycle of ${Duration} seconds to ${Buff Type} to ${unit}"
comment = ""
category = TC_UNIT
[[.args]]
type = real
default = "60"
min = 0
[[.args]]
type = timedlifebuffcode
default = "TimedLifeBuffCodeGeneric"
[[.args]]
type = unit
default = "GetTriggerUnit"

[SetUnitExplodedBJ]
title = "Set death method"
description = "Set ${Unit} ${Explode/Die Normally} on death"
comment = ""
script_name = SetUnitExploded
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = explodedontoption
default = "ExplodeDontExplode"

[UnitSuspendDecay]
title = "Pause corpse rotting [R]"
description = "Set the decay state of ${unit}: ${Suspend/Resume}"
comment = "Only valid for corpses that have completed the death action."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = suspendresumeoption_R
default = "SuspendResumeSuspend_R"

[UnitSuspendDecayBJ]
title = "Pause the Rotting of the body"
description = "${Suspend/Resume} Corpse Rotting Pair ${Unit}"
comment = "Only valid for corpses that have completed the death action."
category = TC_UNIT
[[.args]]
type = suspendresumeoption
default = "SuspendResumeSuspend"
[[.args]]
type = unit
default = "GetTriggerUnit"

[UnitResetCooldown]
title = "Reset Skill CD"
description = "Reset all skills cooldowns for ${unit}"
comment = "If you want to reset the CD of a single skill, you can do it by deleting the skill + adding the skill + setting the skill level."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"

[UnitSetConstructionProgress]
title = "Set the construction progress bar"
description = "Set the construction progress bar of ${Building} to ${Progress}%"
comment = "Only affects the building under construction."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = integer
default = "50"
min = 0
max = 100

[UnitSetUpgradeProgress]
title = "Set the building upgrade progress bar"
description = "Set the upgrade progress bar of ${Building} to ${Progress}%"
comment = "Only applies to the building that is being upgraded. It is an upgrade from Building A to Building B, not a technology research."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = integer
default = "50"
min = 0
max = 100

[UnitAddSleepPerm]
title = "Control unit sleep state"
description = "Make ${unit} ${Sleep/Remain Awake}"
comment = "Before using this function, you must add the'Always Sleep' skill with trigger as a unit."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = sleepwakeoption
default = "SleepWakeOptionSleep"

[UnitSetCanSleepBJ]
title = "Set unit to sleep at night"
description = "Set ${unit} ${Sleep/Remain Awake} at night"
comment = "Only effective for neutral units. Does not affect hypnotic magic."
script_name = UnitAddSleep
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = sleepwakeoption
default = "SleepWakeOptionSleep"

[UnitWakeUpBJ]
title = "Wake up"
description = "Wake up ${unit}"
comment = "Does not affect the hypnotic magic effect."
script_name = UnitWakeUp
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"

[UnitGenerateAlarms]
title = "Set alarm on/off"
description = "Set alarm pair ${unit} ${On/Off}"
comment = "Only affects buildings."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = onoffoption
default = "OnOffOff"

[RescueUnitBJ]
title = "Rescue Unit"
description = "Rescue ${Unit}, change belonging to ${Player} and ${Change/Retain Color}"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
[[.args]]
type = player
default = "Player00"
[[.args]]
type = colorchangeoption
default = "ChangeColorTrue"

[SetUnitRescuable]
title = "Set whether to rescue (for players) [R]"
description = "Set ${unit} to ${player}${Rescuable/Unrescuable}"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
[[.args]]
type = player
default = "Player00"
[[.args]]
type = rescuableoption
default = "RescuableOptionRescuable"

[MakeUnitRescuableToForceBJ]
title = "Set whether to rescue (for player group)"
description = "Set ${unit} ${Rescuable/Unrescuable} to ${player group}"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
[[.args]]
type = rescuableoption
default = "RescuableOptionRescuable"
[[.args]]
type = force
default = "Force00"

[SetUnitRescueRange]
title = "Set rescue range"
description = "Set ${unit} rescue range is ${Range}"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
[[.args]]
type = real
default = "384"
min = 0

[YDWEFlyEnable]
title = "Set unit to fly [YDWE]"
description = "Make the unit ${ground unit} flyable."
comment = "To make a ground unit flyable, you can set its flight altitude."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"

[YDWELifeChange]
title = "Set unit life limit [YDWE]"
description = "Set the life limit of ${unit} ${change} ${integer}, the associated skill is ${support skill}"
comment = "If the upper limit of the unit's life is less than 0 after modification, the unit will die immediately; please refer to the auxiliary map under the example folder for the setting of related skills."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = unitstatechangetype
default = "unitstatechangetypeA"
[[.args]]
type = integer
default = "300"
min = 0
max = 99999
[[.args]]
type = abilcode

[YDWEManaChange]
title = "Set the upper limit of unit magic [YDWE]"
description = "Set the upper limit of the magic of ${unit} ${change} ${integer}, the associated skill is ${support skill}"
comment = "If the upper limit of the unit's magic is less than 0 after the modification, the unit's magic bar will disappear; please refer to the auxiliary map under the example folder for the setting of related skills."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = unitstatechangetype
default = "unitstatechangetypeA"
[[.args]]
type = integer
default = "300"
min = 0
max = 99999
[[.args]]
type = abilcode

[SetRescueUnitColorChangeBJ]
title = "Set rescue color (unit)"
description = "Set unit ${Change/Retain Color} when rescued"
comment = "By default, the unit will change color when rescued. It does not affect units that have been rescued."
category = TC_UNIT
[[.args]]
type = colorchangeoption
default = "ChangeColorFalse"

[SetRescueBuildingColorChangeBJ]
title = "Set rescue color (building)"
description = "Set the building ${Change/Retain Color} when it is rescued"
comment = "The default building will not change its color when it is rescued. It does not affect the rescued buildings."
category = TC_UNIT
[[.args]]
type = colorchangeoption
default = "ChangeColorFalse"

[SetUnitUseFood]
title = "Allow/Prohibit Population Occupation [R]"
description = "Set ${unit}: ${Enable/Disable} its population occupation"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
[[.args]]
type = enabledisableoption
default = "EnableDisableDisable"

[SetUnitUseFoodBJ]
title = "Allow/Prohibit Population Occupation"
description = "${Enable/Disable} Population occupation of ${unit}"
comment = ""
category = TC_UNIT
[[.args]]
type = enabledisableoption
default = "EnableDisableDisable"
[[.args]]
type = unit

[SetUnitFacing]
title = "Set unit face angle [R]"
description = "Set the facing angle of ${unit} to ${Angle} degrees"
comment = "The facing angle adopts the angle system, 0 degrees is the true east direction, and 90 degrees is the true north direction. The speed is equal to the turning speed of the unit."
category = TC_UNIT
[[.args]]
type = unit
[[.args]]
type = degree
default = "RealUnitFacing"

[SetUnitFacingTimed]
title = "Set the unit face angle (specify time)"
description = "Set the facing angle of ${unit} to ${Angle} degrees, and use time ${Time} seconds"
comment = "The facing angle adopts the angle system, 0 degrees is the true east direction, and 90 degrees is the true north direction. The turning speed of the unit cannot be exceeded."
category = TC_UNIT
[[.args]]
type = unit
[[.args]]
type = degree
default = "RealUnitFacing"
[[.args]]
type = real
default = "0"
min = 0

[SetUnitFacingToFaceUnitTimed]
title = "Set unit face to unit"
description = "Set ${unit} to face ${target unit} and use time ${Time} seconds"
comment = "It just faces the point where the current unit is located. It will not change the target position due to the unit position change."
category = TC_UNIT
[[.args]]
type = unit
[[.args]]
type = unit
[[.args]]
type = real
default = "0"
min = 0

[SetUnitFacingToFaceLocTimed]
title = "Set unit facing point"
description = "Set ${unit} to face ${point} and use time ${Time} seconds"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
[[.args]]
type = location
[[.args]]
type = real
default = "0"
min = 0

[SetUnitMoveSpeed]
title = "Set moving speed"
description = "Set the movement speed of ${unit} to ${Speed}"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
[[.args]]
type = real
default = "GetUnitDefaultMoveSpeed"

[SetUnitPathing]
title = "Set collision switch"
description = "Set ${unit} ${On/Off} collision"
comment = "The unit that turned off the collision ignores the obstacle, but other units still treat it as an obstacle."
category = TC_UNIT
[[.args]]
type = unit
[[.args]]
type = pathingoption
default = "PathingOff"

[SetUnitAcquireRangeBJ]
title = "Set active attack range"
description = "Set the active attack range of ${unit} to ${number}"
comment = ""
script_name = SetUnitAcquireRange
category = TC_UNIT
[[.args]]
type = unit
[[.args]]
type = real

[SetUnitUserData]
title = "Set custom value"
description = "Set the custom value of ${unit} to ${Index}"
comment = "The unit custom value is only used for triggers. It can be used to bind an integer data to the unit."
category = TC_UNIT
[[.args]]
type = unit
[[.args]]
type = integer
default = "0"

[UnitRemoveBuffs]
title = "Delete magic effect (specify polarity) [R]"
description = "Delete the incidental Buff of ${unit}, (${Include/Exclude} positive Buff, ${Include/Exclude} negative Buff)"
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = includeoption
default = "InclusionInclude"
[[.args]]
type = includeoption
default = "InclusionInclude"

[UnitRemoveBuffsEx]
title = "Delete magic effect (detailed category) [R]"
description = "Delete the attached Buff of ${unit}, (${Include/Exclude} positive Buff, ${Include/Exclude} negative Buff${Include/Exclude} magic Buff, ${Include/Exclude} physical Buff${Include /Exclude} life cycle, ${Include/Exclude} aura effect ${Include/Exclude} cannot dispel Buff)"
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = includeoption
default = "InclusionInclude"
[[.args]]
type = includeoption
default = "InclusionInclude"
[[.args]]
type = includeoptionnot
default = "InclusionIncludeNot"
[[.args]]
type = includeoptionnot
default = "InclusionIncludeNot"
[[.args]]
type = includeoption
default = "InclusionInclude"
[[.args]]
type = includeoption
default = "InclusionInclude"
[[.args]]
type = includeoptionnot
default = "InclusionIncludeNot"

[UnitRemoveBuffNT]
title = "Delete the specified magic effect [R]"
description = "Delete ${magic effect} from ${unit}"
comment = ""
script_name = UnitRemoveAbility
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = buffcode

[UnitRemoveBuffsBJ]
title = "Delete magic effect (specify category)"
description = "Remove the ${Buff Type} magic effect from ${unit}"
comment = ""
category = TC_UNIT
[[.args]]
type = bufftype
default = "BuffTypeAll"
[[.args]]
type = unit
default = "GetTriggerUnit"

[UnitRemoveBuffsExBJ]
title = "Delete magic effect (detailed category)"
description = "Remove ${Buff Type} ${Buff Resist} Buff from ${Unit}(${Include/Exclude} life cycle, ${Include/Exclude} halo)"
comment = "The fourth item of the buff nature option is an invalid option and is reserved for compatibility only."
category = TC_UNIT
[[.args]]
type = buffpolarity
default = "BuffPolarityEither"
[[.args]]
type = buffresist
default = "BuffResistEither"
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = includeoption
default = "InclusionInclude"
[[.args]]
type = includeoption
default = "InclusionInclude"

[UnitRemoveBuffBJ]
title = "Delete the specified magic effect"
description = "Remove ${magic effect} from ${unit}"
comment = ""
category = TC_UNIT
[[.args]]
type = buffcode
[[.args]]
type = unit
default = "GetTriggerUnit"

[UnitAddAbility]
title = "Add Skill [R]"
description = "Add ${skills} to ${unit}"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = abilcode

[UnitAddAbilityBJ]
title = "Add Skill"
description = "Add ${skill} to ${unit}"
comment = ""
category = TC_UNIT
[[.args]]
type = abilcode
[[.args]]
type = unit
default = "GetTriggerUnit"

[UnitRemoveAbility]
title = "Delete Skill [R]"
description = "Delete ${Skills} for ${Unit}"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = abilcode

[UnitRemoveAbilityBJ]
title = "Delete Skill"
description = "Delete ${Skill} from ${Unit}"
comment = ""
category = TC_UNIT
[[.args]]
type = abilcode
[[.args]]
type = unit
default = "GetTriggerUnit"

[UnitMakeAbilityPermanent]
title = "Set Skill Permanence [R]"
description = "Set ${unit} ${whether} ${skill} permanent"
comment = "If the skill added to the unit is triggered, it is non-permanent, and the non-permanent skill will be lost after the transformation and recovery. In this case, you need to set the skill permanent."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = onoffoption
default = "OnOffOn"
[[.args]]
type = abilcode

[UnitAddType]
title = "Add category [R]"
description = "Add ${Classification} category to ${unit}"
comment = "All invalid categories have been removed."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = unittypeaddable
default = "UnitTypeMechanicalAdd"

[UnitAddTypeBJ]
title = "Add category"
description = "Add ${Classification} category to ${unit}"
comment = "Not all categories can be added, it is recommended to use the new function."
category = TC_UNIT
[[.args]]
type = unittype
default = "UnitTypeMechanical"
[[.args]]
type = unit
default = "GetTriggerUnit"

[UnitRemoveType]
title = "Delete category [R]"
description = "Delete ${Classification} category for ${unit}"
comment = "All invalid categories have been removed."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = unittypeaddable
default = "UnitTypeMechanicalAdd"

[UnitRemoveTypeBJ]
title = "Delete category"
description = "Remove ${Classification} category from ${unit}"
comment = "Not all categories can be deleted, it is recommended to use the new function."
category = TC_UNIT
[[.args]]
type = unittype
default = "UnitTypeMechanical"
[[.args]]
type = unit
default = "GetTriggerUnit"

[DecUnitAbilityLevel]
title = "Decrease skill level [R]"
description = "Reduce the level of ${skills} of ${unit} by 1"
comment = "Changing the aura skill of the dead unit will cause the war3 to crash."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = abilcode

[DecUnitAbilityLevelSwapped]
title = "Decrease skill level"
description = "Reduce the level of ${Skill} to ${Unit}"
comment = "Changing the aura skills of dead units will cause war3 to crash."
category = TC_UNIT
[[.args]]
type = abilcode
[[.args]]
type = unit
default = "GetTriggerUnit"

[IncUnitAbilityLevel]
title = "Raise Skill Level [R]"
description = "Increase the level of ${skills} of ${unit} by 1"
comment = "Changing the aura skills of dead units will cause war3 to crash."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = abilcode

[IncUnitAbilityLevelSwapped]
title = "Enhance skill level"
description = "Improve the level of ${Skill} to ${Unit}"
comment = "Changing the aura skills of dead units will cause war3 to crash."
category = TC_UNIT
[[.args]]
type = abilcode
[[.args]]
type = unit
default = "GetTriggerUnit"

[SetUnitAbilityLevel]
title = "Set Skill Level [R]"
description = "Set the ${skills} level of ${unit} to ${Level}"
comment = "Changing the aura skills of dead units will cause war3 to crash."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = abilcode
[[.args]]
type = integer
default = "1"
min = 1

[SetUnitAbilityLevelSwapped]
title = "Set Skill Level"
description = "Set the level of ${Skill} to ${Unit} to ${Level}"
comment = "Changing the aura skills of dead units will cause war3 to crash."
category = TC_UNIT
[[.args]]
type = abilcode
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = integer
default = "1"
min = 1

[IssueImmediateOrder]
title = "Release command (no target)"
description = "Issue ${Order} command to ${unit}"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = unitordernotarg
default = "UnitOrderStop"

[IssuePointOrder]
title = "Release command (specify coordinates)"
description = "Release ${Order} command to ${unit} to coordinates: (${X},${Y})"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = unitorderptarg
default = "UnitOrderMove"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"

[IssuePointOrderLoc]
title = "Release command (specify point)"
description = "Release ${Order} to ${unit} to the target point: ${specified point}"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = unitorderptarg
default = "UnitOrderMove"
[[.args]]
type = location

[IssueTargetOrder]
title = "Release command (specify unit)"
description = "Release ${Order} to ${unit} to target: ${unit}"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = unitorderutarg
default = "UnitOrderAttackUnit"
[[.args]]
type = unit

[IssueTargetDestructableOrder]
title = "Release command (specify destructible objects)"
description = "Release ${Order} to ${unit} to target: ${destructible}"
comment = ""
script_name = IssueTargetOrder
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = unitorderdtarg
default = "UnitOrderHarvestDestructible"
[[.args]]
type = destructable

[IssueTargetItemOrder]
title = "Release command (specify item)"
description = "Release ${Order} to ${Unit} to the target: ${Item}"
comment = ""
script_name = IssueTargetOrder
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = unitorderitarg
default = "UnitOrderSmartItem"
[[.args]]
type = item

[IssueImmediateOrderById]
title = "Release command (no target) (ID)"
description = "Release ${Order} command to ${unit}"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = ordercodenotarg
default = "OrderCodeStop"

[IssuePointOrderById]
title = "Release command (specify coordinates) (ID)"
description = "Release ${Order} command to ${unit} to coordinates: (${X},${Y})"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = ordercodeptarg
default = "OrderCodeMove"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"

[IssuePointOrderByIdLoc]
title = "Release command (specified point) (ID)"
description = "Release ${Order} to ${unit} to the target point: ${specified point}"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = ordercodeptarg
default = "OrderCodeMove"
[[.args]]
type = location

[IssueTargetOrderById]
title = "Release command (specify unit) (ID)"
description = "Release ${Order} to ${unit} to target: ${unit}"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = ordercodeutarg
default = "OrderCodeAttackUnit"
[[.args]]
type = unit

[IssueTargetDestructableOrderById]
title = "Release Command (Specify Destructible Object) (ID)"
description = "Release ${Order} to ${unit} to target: ${destructible}"
comment = ""
script_name = IssueTargetOrderById
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = ordercodedtarg
default = "OrderCodeHarvestDestructible"
[[.args]]
type = destructable

[IssueTargetItemOrderById]
title = "Release command (specified item) (ID)"
description = "Release ${Order} to ${Unit} to the target: ${Item}"
comment = ""
script_name = IssueTargetOrderById
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = ordercodeitarg
default = "OrderCodeSmartItem"
[[.args]]
type = item

[IssueNeutralImmediateOrder]
title = "Release an intermediary command (no target)"
description = "Make ${player} issue ${Order} command to ${unit}"
comment = "Can be used to issue commands to non-player units."
category = TC_UNIT
[[.args]]
type = player
default = "Player00"
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = unitordernotarg
default = "UnitOrderStop"

[IssueNeutralPointOrder]
title = "Release intermediary command (specify coordinates)"
description = "Make ${player} issue ${Order} to ${unit} to coordinates: (${X},${Y})"
comment = "Can be used to issue commands to non-player units."
category = TC_UNIT
[[.args]]
type = player
default = "Player00"
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = unitorderptarg
default = "UnitOrderNeutralDetectAOE"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"

[IssueNeutralTargetOrder]
title = "Release intermediary order (specify unit)"
description = "Make ${player} issue ${Order} to ${unit} to the target: ${unit}"
comment = "Can be used to issue commands to non-player units."
category = TC_UNIT
[[.args]]
type = player
default = "Player00"
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = unitorderutarg
default = "UnitOrderNeutralInterAct"
[[.args]]
type = unit

[IssueNeutralTargetDestructableOrder]
title = "Release Intermediary Order (Specify Destructible Items)"
description = "Make ${player} issue ${Order} to ${unit} to the target: ${destructible}"
comment = "Can be used to issue commands to non-player units."
script_name = IssueNeutralTargetOrder
category = TC_UNIT
[[.args]]
type = player
default = "Player00"
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = unitorderdtarg
default = "UnitOrderHarvestDestructible"
[[.args]]
type = destructable

[IssueNeutralTargetItemOrder]
title = "Release Intermediary Order (Specify Items)"
description = "Make ${player} issue ${Order} to ${unit} to the target: ${item}"
comment = "Can be used to issue commands to non-player units."
script_name = IssueNeutralTargetOrder
category = TC_UNIT
[[.args]]
type = player
default = "Player00"
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = unitorderitarg
default = "UnitOrderSmartItem"
[[.args]]
type = item

[IssueNeutralImmediateOrderById]
title = "Release Intermediary Command (No Target) (ID)"
description = "Make ${player} issue ${Order} command to ${unit}"
comment = "Can be used to issue commands to non-player units."
category = TC_UNIT
[[.args]]
type = player
default = "Player00"
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = ordercodenotarg
default = "OrderCodeStop"

[IssueNeutralPointOrderById]
title = "Release Intermediary Command (Specify Coordinates) (ID)"
description = "Make ${player} issue ${Order} to ${unit} to coordinates: (${X},${Y})"
comment = "Can be used to issue commands to non-player units."
category = TC_UNIT
[[.args]]
type = player
default = "Player00"
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = ordercodeptarg
default = "OrderCodeNeutralDetectAOE"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"

[IssueNeutralTargetOrderById]
title = "Release Intermediary Order (Specified Unit) (ID)"
description = "Make ${player} issue ${Order} to ${unit} to the target: ${unit}"
comment = "Can be used to issue commands to non-player units."
category = TC_UNIT
[[.args]]
type = player
default = "Player00"
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = ordercodeutarg
default = "OrderCodeNeutralInterAct"
[[.args]]
type = unit

[IssueNeutralTargetDestructableOrderById]
title = "Release Intermediary Order (Specify Destructible Object) (ID)"
description = "Make ${player} issue ${Order} to ${unit} to the target: ${destructible}"
comment = "Can be used to issue commands to non-player units."
script_name = IssueNeutralTargetOrderById
category = TC_UNIT
[[.args]]
type = player
default = "Player00"
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = ordercodedtarg
default = "OrderCodeHarvestDestructible"
[[.args]]
type = destructable

[IssueNeutralTargetItemOrderById]
title = "Release Intermediary Order (Specified Item) (ID)"
description = "Make ${player} issue ${Order} to ${unit} to the target: ${item}"
comment = "Can be used to issue commands to non-player units."
script_name = IssueNeutralTargetOrderById
category = TC_UNIT
[[.args]]
type = player
default = "Player00"
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = ordercodeitarg
default = "OrderCodeSmartItem"
[[.args]]
type = item

[YDWEIssueNeutralImmediateOrderById]
title = "Release intermediary command (no target) (custom ID)"
description = "Make ${player} issue ${Order} command to ${unit}"
comment = "Can be used to issue commands to non-player units, and can directly enter the digital command ID."
script_name = IssueNeutralImmediateOrderById
category = TC_UNIT
[[.args]]
type = player
default = "Player00"
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = ordercode
default = YDWEAbilityId2OrderId

[YDWEIssueNeutralPointOrderById]
title = "Release Intermediary Command (Specify Coordinates) (Custom ID)"
description = "Make ${player} issue ${Order} to ${unit} to coordinates: (${X},${Y})"
comment = "Can be used to issue commands to non-player units, and can directly enter the digital command ID."
script_name = IssueNeutralPointOrderById
category = TC_UNIT
[[.args]]
type = player
default = "Player00"
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = ordercode
default = YDWEAbilityId2OrderId
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"

[YDWEIssueNeutralTargetOrderById]
title = "Release Intermediary Order (Specify Unit) (Custom ID)"
description = "Make ${player} issue ${Order} to ${unit} to the target: ${unit}"
comment = "Can be used to issue commands to non-player units, and can directly enter the digital command ID."
script_name = IssueNeutralTargetOrderById
category = TC_UNIT
[[.args]]
type = player
default = "Player00"
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = ordercode
default = YDWEAbilityId2OrderId
[[.args]]
type = unit

[YDWEIssueNeutralTargetDestructableOrderById]
title = "Release Intermediary Command (Specify Destructible Object) (Custom ID)"
description = "Make ${player} issue ${Order} to ${unit} to the target: ${destructible}"
comment = "Can be used to issue commands to non-player units, and can directly enter the digital command ID."
script_name = IssueNeutralTargetOrderById
category = TC_UNIT
[[.args]]
type = player
default = "Player00"
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = ordercode
default = "851983"
[[.args]]
type = destructable

[YDWEIssueNeutralTargetItemOrderById]
title = "Release intermediary command (specified item) (custom ID)"
description = "Make ${player} issue ${Order} to ${unit} to the target: ${item}"
comment = "Can be used to issue commands to non-player units, and can directly enter the digital command ID."
script_name = IssueNeutralTargetOrderById
category = TC_UNIT
[[.args]]
type = player
default = "Player00"
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = ordercode
default = YDWEAbilityId2OrderId
[[.args]]
type = item

[IssueTrainOrderByIdBJ]
title = "Release training/upgrade commands"
description = "Command ${unit} to build/upgrade to ${unit type}"
comment = "This upgrade refers to the upgrade of unit A to unit B, not a technology upgrade."
script_name = IssueImmediateOrderById
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = unitcode
default = "hfoo"

[IssueUpgradeOrderByIdBJ]
title = "Release Research Technology Order"
description = "Command ${Unit} Research ${Tech-Type}"
comment = ""
script_name = IssueImmediateOrderById
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = techcode
default = "Rhde"

[IssueBuildOrderById]
title = "Release construction order (specify coordinates) [R]"
description = "Command ${unit} to build ${unit type} at coordinates: (${X},${Y})"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = unitcode
default = "hbar"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"

[IssueBuildOrderByIdLocBJ]
title = "Release construction command (specify point)"
description = "Command ${unit} to build ${unit type} at ${specified point}"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = unitcode
default = "hbar"
[[.args]]
type = location

[UnitDropItemPoint]
title = "Release discarded items command (specify coordinates) [R]"
description = "Command ${unit} to discard item ${item} to coordinate: (${X},${Y})"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = item
default = "bj_lastCreatedItem"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"

[UnitDropItemPointLoc]
title = "Release discarded items command (specified point)"
description = "Command ${unit} to discard item ${item} to ${specified point}"
comment = ""
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = item
default = "GetLastCreatedItem"
[[.args]]
type = location

[UnitDropItemSlot]
title = "Move item to inventory [R]"
description = "Command ${unit} to move ${item} to inventory# ${Index}"
comment = "Only valid when the unit holds the item. Note: The inventory number in this function is from 0-5, not 1-6."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = item
default = "bj_lastCreatedItem"
[[.args]]
type = integer
default = "0"
min = 0
max = 5

[UnitDropItemSlotBJ]
title = "Move items to the inventory"
description = "Command ${unit} to move ${item} to the ${Index} grid of the inventory"
comment = "Only valid when the unit holds the item."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = item
default = "GetLastCreatedItem"
[[.args]]
type = integer
default = "1"
min = 1
max = 6

[UnitDropItemTargetBJ]
title = "Release giving item order"
description = "Command ${unit} to give ${item} to ${unit}"
comment = ""
script_name = UnitDropItemTarget
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = item
default = "GetLastCreatedItem"
[[.args]]
type = unit

[IssueBuyUnitOrder]
title = "Release Purchase Unit Order [R]"
description = "Make ${player} buy ${unit type} from ${unit}"
comment = ""
script_name = IssueNeutralImmediateOrderById
category = TC_UNIT
[[.args]]
type = player
default = "Player00"
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = unitcode
default = "hfoo"

[IssueBuyItemOrder]
title = "Release Purchase Item Order [R]"
description = "Make ${player} buy ${item type} from ${unit}"
comment = "First let the store issue the'Neutral Store-Select' command to the player unit, and then use this function to realize the purchase of the specified unit."
script_name = IssueNeutralImmediateOrderById
category = TC_UNIT
[[.args]]
type = player
default = "Player00"
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = itemcode
default = "ckng"

[UnitDamagePoint]
title = "Damage Area [R]"
description = "Command ${unit} after ${Seconds} seconds to cause ${Amount} damage (${YES} attack on the radius of ${Size} and the center of (${X}, ${Y}) Damage, ${Yes} ranged attack) Attack type: ${AttackType} Damage type: ${DamageType} Armor type: ${WeaponType}"
comment = "This action will not interrupt the unit action. Damaged/killed units by this acTrition also normally trigger the'damaged' and'death' unit events."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "500"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "100"
[[.args]]
type = isnotoption
default = "IsNotIs"
[[.args]]
type = isnotoption
default = "IsNotNot"
[[.args]]
type = attacktype
default = "AttackTypeNormal"
[[.args]]
type = damagetype
default = "DamageTypeNormal"
[[.args]]
type = weapontype
default = "WEAPON_TYPE_WHOKNOWS"

[UnitDamagePointLoc]
title = "Damage area"
description = "Command ${unit} after ${Seconds} seconds to cause ${Amount} damage to a range with a radius of ${Size} and a center of ${specified point}. Attack type: ${AttackType} Damage type: ${DamageType}"
comment = "This action will not interrupt the unit action. Damaged/killed units by this action also normally trigger the'damaged' and'death' unit events."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "500"
[[.args]]
type = location
default = "GetRectCenter"
[[.args]]
type = real
default = "100"
[[.args]]
type = attacktype
default = "AttackTypeNormal"
[[.args]]
type = damagetype
default = "DamageTypeNormal"

[UnitDamageTarget]
title = "Damage target [R]"
description = "Command ${unit} to cause ${Amount} damage to ${Target} (${Yes} attack damage, ${Yes} ranged attack) Attack type: ${AttackType} Damage type: ${DamageType} weapon Type: ${WeaponType}"
comment = "This action will not interrupt the unit action. Damaged/killed units by this action also normally trigger the'damaged' and'death' unit events."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = real
default = "500"
[[.args]]
type = isnotoption
default = "IsNotIs"
[[.args]]
type = isnotoption
default = "IsNotNot"
[[.args]]
type = attacktype
default = "AttackTypeNormal"
[[.args]]
type = damagetype
default = "DamageTypeNormal"
[[.args]]
type = weapontype
default = "WEAPON_TYPE_WHOKNOWS"

[UnitDamageTargetBJ]
title = "Damage target"
description = "Command ${unit} to cause ${Amount} damage to ${Target}, attack type: ${AttackType} damage type: ${DamageType}"
comment = "This action will not interrupt the unit action. Damaged/killed units by this action also normally trigger the'damaged' and'death' unit events."
category = TC_UNIT
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = real
default = "500"
[[.args]]
type = attacktype
default = "AttackTypeNormal"
[[.args]]
type = damagetype
default = "DamageTypeNormal"

[YDWECreateUnitPool]
title = "Create Unit Pool [YDWE]"
description = "Create a new unit pool"
comment = "Create a new unit pool. This unit pool can be obtained by <the last created unit pool>."
category = TC_UNITPOOL
[[.args]]
type = nothing

[UnitPoolAddUnitType]
title = "Add unit type [R]"
description = "Add a ${unit} to ${unit pool} with a proportion of ${number}"
comment = "The higher the proportion, the greater the chance of being selected"
category = TC_UNITPOOL
[[.args]]
type = unitpool
[[.args]]
type = unitcode
default = "hfoo"
[[.args]]
type = real
default = "1"

[UnitPoolRemoveUnitType]
title = "Delete unit type [R]"
description = "Remove ${unit} from ${unit pool}"
comment = ""
category = TC_UNITPOOL
[[.args]]
type = unitpool
[[.args]]
type = unitcode
default = "hfoo"

[PlaceRandomUnit]
title = "Select placement unit [R]"
description = "From ${unit pool}, select a unit for ${player} and place it at the point (${X}, ${Y}) facing ${degree}"
comment = ""
category = TC_UNITPOOL
[[.args]]
type = unitpool
[[.args]]
type = player
default = "Player00"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = degree
default = "0"

[YDWEPlaceRandomUnit]
title = "Select placement unit [YDWE]"
description = "From ${unit pool}, select a unit for ${player} and place it at the point (${X}, ${Y}) facing ${degree}"
comment = "The unit can be obtained by <the last unit taken from the unit pool>."
category = TC_UNITPOOL
[[.args]]
type = unitpool
default = "bj_lastCreatedUnitPool"
[[.args]]
type = player
default = "Player00"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"

[DestroyUnitPool]
title = "Delete unit pool [R]"
description = "Delete ${Unit Pool}"
comment = ""
category = TC_UNITPOOL
[[.args]]
type = unitpool

[ForGroupMultiple]
title = "Select units in the unit group to perform actions (multiple actions)"
description = "Select all units in ${unit group} to perform actions"
comment = "Use'select unit' to replace the corresponding unit. For each unit in the unit group, an action will be run (including dead, excluding hidden). Waiting cannot be run in the group action."
script_name = ForGroupBJ
category = TC_UNITGROUP
[[.args]]
type = group

[ForGroup]
title = "Select the unit in the unit group to perform actions"
description = "Select all units in ${unit group} ${do action}"
comment = "Use'select unit' to replace the corresponding unit. For each unit in the unit group, an action will be run (including dead, excluding hidden). Waiting cannot be run in the group action."
script_name = ForGroupBJ
category = TC_UNITGROUP
[[.args]]
type = group
[[.args]]
type = code
default = "DoNothing"

[GroupEnumUnitsInRange]
title = "Select the unit to add to the unit group (coordinates)"
description = "Add to ${unit group} with (${coordinate X}, ${coordinate Y}) as the center of the circle and ${radius} as the radius of the circle that satisfies ${conditions}"
comment = ""
category = TC_UNITGROUP
[[.args]]
type = group
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "512"
min = 0
[[.args]]
type = boolexpr

[GroupEnumUnitsInRangeCounted]
title = "Select the unit to add to the unit group (coordinates) (not recommended)"
description = "Add to ${unit group} a unit that satisfies ${conditions} within a circle with (${coordinate X}, ${coordinate Y}) as the center and ${radius} as the radius. Invalid item (${N} )"
comment = "The last item is invalid, it is recommended to use the previous UI"
category = TC_UNITGROUP
[[.args]]
type = group
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "512"
min = 0
[[.args]]
type = boolexpr
[[.args]]
type = integer
default = "5"
min = 0

[GroupEnumUnitsInRangeOfLoc]
title = "Select unit to add to unit group (point)"
description = "Add to ${unit group} the unit that satisfies ${condition} within the range of a circle with ${point} as the center and ${radius} as the radius"
comment = ""
category = TC_UNITGROUP
[[.args]]
type = group
[[.args]]
type = location
[[.args]]
type = real
default = "512"
min = 0
[[.args]]
type = boolexpr

[GroupEnumUnitsInRangeOfLocCounted]
title = "Select the unit to add to the unit group (point) (not recommended)"
description = "Add to ${unit group} the unit that satisfies ${condition} within a circle with ${point} as the center and ${radius} as the radius. Invalid item (${N} )"
comment = "The last item is invalid, it is recommended to use the previous UI"
category = TC_UNITGROUP
[[.args]]
type = group
[[.args]]
type = location
[[.args]]
type = real
default = "512"
min = 0
[[.args]]
type = boolexpr
[[.args]]
type = integer
default = "5"
min = 0

[GroupAddUnit]
title = "Add unit [R]"
description = "Add ${unit} to ${unit group}"
comment = "Does not affect the unit itself."
category = TC_UNITGROUP
[[.args]]
type = group
[[.args]]
type = unit
default = "GetTriggerUnit"

[GroupAddUnitSimple]
title = "Add unit"
description = "Add ${unit} to ${unit group}"
comment = "Does not affect the unit itself."
category = TC_UNITGROUP
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = group

[GroupAddGroup]
title = "Add unit group"
description = "Add all units in ${unit group} to ${unit group}"
comment = "Does not affect the unit itself."
category = TC_UNITGROUP
[[.args]]
type = group
[[.args]]
type = group

[GroupRemoveUnit]
title = "Remove unit [R]"
description = "Delete ${unit} for ${unit group}"
comment = "Does not affect the unit itself."
category = TC_UNITGROUP
[[.args]]
type = group
[[.args]]
type = unit
default = "GetTriggerUnit"

[GroupRemoveUnitSimple]
title = "Remove unit"
description = "Remove ${unit} from ${unit group}"
comment = "Does not affect the unit itself."
category = TC_UNITGROUP
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = group

[GroupRemoveGroup]
title = "Remove organization group"
description = "Remove the unit in ${unit group} from ${unit group}"
comment = "Does not affect the unit itself."
category = TC_UNITGROUP
[[.args]]
type = group
[[.args]]
type = group

[GroupClear]
title = "Clear unit group"
description = "Clear all units in ${unit group}"
comment = "Does not affect the unit itself."
category = TC_UNITGROUP
[[.args]]
type = group

[DestroyGroup]
title = "Delete unit group [R]"
description = "Delete ${unit group}"
comment = ""
category = TC_UNITGROUP
[[.args]]
type = group

[GroupImmediateOrder]
title = "Release command(No target)"
description = "Release ${Order} to ${unit group}"
comment = "Commands can only be issued to 12 units in the unit group."
category = TC_UNITGROUP
[[.args]]
type = group
[[.args]]
type = unitordernotarg
default = "UnitOrderStop"

[GroupPointOrder]
title = "Release command(Specify coordinates) [R]"
description = "Release ${Order} command to ${unit group}, target point: (${X},${Y})"
comment = "Commands can only be issued to 12 units in the unit group."
category = TC_UNITGROUP
[[.args]]
type = group
[[.args]]
type = unitorderptarg
default = "UnitOrderMove"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"

[GroupPointOrderLoc]
title = "Release command(Specify point)"
description = "Release ${Order} command to ${unit group}, target: ${specified point}"
comment = "Commands can only be issued to 12 units in the unit group."
category = TC_UNITGROUP
[[.args]]
type = group
[[.args]]
type = unitorderptarg
default = "UnitOrderMove"
[[.args]]
type = location

[GroupTargetOrder]
title = "Release command(Specify unit)"
description = "Release ${Order} command to ${unit group}, target: ${unit}"
comment = "Commands can only be issued to 12 units in the unit group."
category = TC_UNITGROUP
[[.args]]
type = group
[[.args]]
type = unitorderutarg
default = "UnitOrderAttackUnit"
[[.args]]
type = unit

[GroupTargetDestructableOrder]
title = "Release command (specify destructible objects)"
description = "Release ${Order} command to ${unit group}, target: ${destructible object}"
comment = "Commands can only be issued to 12 units in the unit group."
script_name = GroupTargetOrder
category = TC_UNITGROUP
[[.args]]
type = group
[[.args]]
type = unitorderdtarg
default = "UnitOrderHarvestDestructible"
[[.args]]
type = destructable

[GroupTargetItemOrder]
title = "Release command(specify items)"
description = "Issued ${Order} command to ${unit group}, target: ${item}"
comment = "Commands can only be issued to 12 units in the unit group."
script_name = GroupTargetOrder
category = TC_UNITGROUP
[[.args]]
type = group
[[.args]]
type = unitorderitarg
default = "UnitOrderAttackItem"
[[.args]]
type = item

[GroupImmediateOrderById]
title = "Release command(No target) (ID)"
description = "Release ${Order} to ${unit group}"
comment = "Commands can only be issued to 12 units in the unit group."
category = TC_UNITGROUP
[[.args]]
type = group
[[.args]]
type = ordercodenotarg
default = "OrderCodeStop"

[GroupPointOrderById]
title = "Release command(specify coordinates)(ID)"
description = "Release ${Order} command to ${unit group}, target point: (${X},${Y})"
comment = "Commands can only be issued to 12 units in the unit group."
category = TC_UNITGROUP
[[.args]]
type = group
[[.args]]
type = ordercodeptarg
default = "OrderCodeMove"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"

[GroupPointOrderByIdLoc]
title = "Release command(Designated point) (ID)"
description = "Release ${Order} command to ${unit group}, target: ${specified point}"
comment = "Commands can only be issued to 12 units in the unit group."
category = TC_UNITGROUP
[[.args]]
type = group
[[.args]]
type = ordercodeptarg
default = "OrderCodeMove"
[[.args]]
type = location

[GroupTargetOrderById]
title = "Release command(Designated Unit) (ID)"
description = "Release ${Order} command to ${unit group}, target: ${unit}"
comment = "Commands can only be issued to 12 units in the unit group."
category = TC_UNITGROUP
[[.args]]
type = group
[[.args]]
type = ordercodeutarg
default = "OrderCodeAttackUnit"
[[.args]]
type = unit

[GroupTargetDestructableOrderById]
title = "Release command(Designated Destructible Object) (ID)"
description = "Issued ${Order} command to ${unit group}, target: ${destructible object}"
comment = "Commands can only be issued to 12 units in the unit group."
script_name = GroupTargetOrder
category = TC_UNITGROUP
[[.args]]
type = group
[[.args]]
type = ordercodedtarg
default = "OrderCodeHarvestDestructible"
[[.args]]
type = destructable

[GroupTargetItemOrderById]
title = "Release command(Designated Item) (ID)"
description = "Issued ${Order} command to ${unit group}, target: ${item}"
comment = "Commands can only be issued to 12 units in the unit group."
script_name = GroupTargetOrder
category = TC_UNITGROUP
[[.args]]
type = group
[[.args]]
type = ordercodeitarg
default = "OrderCodeAttackItem"
[[.args]]
type = item

[GroupTrainOrderByIdBJ]
title ="Release training/upgrade commands"
description = "Command ${unit group} to train/upgrade to ${unit type}"
comment = "Commands can only be issued to 12 units in the unit group."
script_name = GroupImmediateOrderById
category = TC_UNITGROUP
[[.args]]
type = group
default = "GetUnitsInRectAll"
[[.args]]
type = unitcode
default = "hfoo"

[CreateUbersplatBJ]
title = "Create ground texture changes"
description = "Create a ground texture change at ${specified point}, use image: ${Type} Color value: (${Red}%, ${Green}%, ${Blue}%) Transparency ${Transparency}% (${Enable/Disable} pause state, ${Enble/Disable} skip birth animation)"
comment = "The color format is (red, green, blue). The transparency of 100% is invisible. Use'Ground texture change-set permanent rendering state' to display the created texture change. The pause state indicates whether the animation will continue to be retained after the animation is completed The texture changes."
category = TC_UBERSPLAT
[[.args]]
type = location
[[.args]]
type = ubersplattype
default = "UbersplatTypeNGOL"
[[.args]]
type = real
default = "100"
[[.args]]
type = real
default = "100"
[[.args]]
type = real
default = "100"
[[.args]]
type = real
default = "0"
[[.args]]
type = allowdontoption
default = "AllowDontDont"
[[.args]]
type = allowdontoption
default = "AllowDontDont"

[DestroyUbersplat]
title = "Delete ground texture changes"
description = "Delete ${Ubersplat}"
comment = ""
category = TC_UBERSPLAT
[[.args]]
type = ubersplat
default = "GetLastCreatedUbersplat"

[ResetUbersplat]
title = "Reset ground texture changes"
description = "Reset ${Ubersplat}"
comment = ""
category = TC_UBERSPLAT
[[.args]]
type = ubersplat
default = "GetLastCreatedUbersplat"

[FinishUbersplat]
title = "End ground texture change"
description = "End ${Ubersplat}"
comment = "The ground texture changes are automatically cleared when the animation is finished."
category = TC_UBERSPLAT
[[.args]]
type = ubersplat
default = "GetLastCreatedUbersplat"

[ShowUbersplat]
title = "Show/hide ground texture changes [R]"
description = "Set the status of ${Ubersplat} to ${Show/Hide}"
comment = ""
category = TC_UBERSPLAT
[[.args]]
type = ubersplat
default = "bj_lastCreatedUbersplat"
[[.args]]
type = showhideoption
default = "ShowHideShow"

[ShowUbersplatBJ]
title = "Show/hide ground texture changes"
description = "${Show/Hide} ${Ubersplat}"
comment = ""
category = TC_UBERSPLAT
[[.args]]
type = showhideoption
default = "ShowHideShow"
[[.args]]
type = ubersplat
default = "GetLastCreatedUbersplat"

[SetUbersplatRender]
title = "Set rendering status"
description = "Set ${Ubersplat}: ${Enable/Disable} rendering status"
comment = "No effect was found."
category = TC_UBERSPLAT
[[.args]]
type = ubersplat
default = "GetLastCreatedUbersplat"
[[.args]]
type = enabledisableoption
default = "EnableDisableEnable"

[SetUbersplatRenderAlways]
title = "Set permanent rendering state"
description = "Set ${Ubersplat}: ${Enable/Disable} permanent rendering state"
comment = "To display ground texture changes, this option must be turned on."
category = TC_UBERSPLAT
[[.args]]
type = ubersplat
default = "GetLastCreatedUbersplat"
[[.args]]
type = enabledisableoption
default = "EnableDisableEnable"

[MoveLocation]
title = "Movement Point [R]"
description = "Move ${dot} to (${X},${Y})"
comment = "The point must be a variable because moving a non-reusable point is meaningless."
category = TC_LOCATION
[[.args]]
type = location
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"

[RemoveLocation]
title = "Clear Point [R]"
description = "Clear ${Point}"
comment = "Points are the most accumulated garbage resources. Remember to clear away the points that are no longer needed."
category = TC_LOCATION
[[.args]]
type = location

[TransmissionFromUnitWithNameBJ]
title = "Broadcast unit message (specify unit)"
description = "Broadcast information to ${player group}, speaking unit: ${unit} Display name: ${text}, play sound effect: ${sound effect} Display information: ${text} Duration: ${Method} ${ Time} seconds and ${Wait/Don't Wait}"
comment = "The duration of'no sound' is 5 seconds. Waiting means that other actions need to wait for the message to be played before they can run."
category = TC_CINEMATIC
[[.args]]
type = force
default = "GetPlayersAll"
[[.args]]
type = unit
[[.args]]
type = StringExt
[[.args]]
type = sound
default = "SoundNull"
[[.args]]
type = StringExt
[[.args]]
type = addsettooption
default = "AddSetToAdd"
[[.args]]
type = real
default = "0"
[[.args]]
type = waitdontoption
default = "WaitDontWait"

[TransmissionFromUnitTypeWithNameBJ]
title = "Broadcast unit message (specify unit-type)"
description = "Broadcast information for ${player group}, the speaking unit: ${unit type} of ${Player} Display name: ${text} Speech location: ${specified point} Play sound effect: ${sound effect} Display information: ${Text} Duration: ${Method} ${Time} seconds and ${Wait/Don't Wait}"
comment = "The duration of'no sound' is 5 seconds. Waiting means that other actions need to wait for the message to be played before they can run."
category = TC_CINEMATIC
[[.args]]
type = force
default = "GetPlayersAll"
[[.args]]
type = player
default = "Player00"
[[.args]]
type = unitcode
default = "hfoo"
[[.args]]
type = StringExt
[[.args]]
type = location
[[.args]]
type = sound
default = "SoundNull"
[[.args]]
type = StringExt
[[.args]]
type = addsettooption
default = "AddSetToAdd"
[[.args]]
type = real
default = "0"
[[.args]]
type = waitdontoption
default = "WaitDontWait"

[ForceCinematicSubtitlesBJ]
title = "Subtitle display"
description = "${On/Off} Movie subtitle display function"
comment = "This function and the subtitle options in the'Game Menu-Sound Options' will be able to display movie subtitles when one of them is on."
script_name = ForceCinematicSubtitles
category = TC_CINEMATIC
[[.args]]
type = onoffoption
default = "OnOffOn"

[CinematicModeBJ]
title = "Movie Mode"
description = "${On/Off} movie mode pair ${player group}"
comment = ""
category = TC_CINEMATIC
[[.args]]
type = onoffoption
default = "OnOffOn"
[[.args]]
type = force
default = "GetPlayersAll"

[CinematicModeExBJ]
title = "Movie mode (specified time)"
description = "${On/Off} movie mode for ${player group}, the conversion time is ${Time} seconds"
comment = ""
category = TC_CINEMATIC
[[.args]]
type = onoffoption
default = "OnOffOn"
[[.args]]
type = force
default = "GetPlayersAll"
[[.args]]
type = real
default = "0.2"

[CinematicFadeBJ]
title = "Fade in and fade out filter"
description = "${Fade Type} uses ${Duration} seconds and uses a picture: ${Texture} Color value: (${Red}%, ${Green}%, ${Blue}%) Transparency: ${Transparency }%"
comment = "The color format is (red, green, blue). 100% transparency is invisible."
category = TC_CINEMATIC
[[.args]]
type = fadetypeoption
default = "FadeTypeOptionFadeOutIn"
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = cinefiltertexture
default = "CineFilterTextureWhite"
[[.args]]
type = real
default = "0"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0
max = 100

[CinematicFilterGenericBJ]
title = "Advanced Filters"
description = "Duration: ${Duration} seconds, blending method: ${Blending Method} Use image: ${Texture} Start color value: (${Red}%, ${Green}%, ${Blue}%) Transparency: ${Transparency}%, end color value: (${Red}%, ${Green}%, ${Blue}%) Transparency: ${Transparency}%"
comment = "The color format is (red, green, blue). 100% transparency is invisible."
category = TC_CINEMATIC
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = blendmode
default = "BlendModeBlend"
[[.args]]
type = cinefiltertexture
default = "CineFilterTextureWhite"
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0
max = 100

[DisplayCineFilterBJ]
title = "Show/hide filters"
description = "${Show/Hide} filter"
comment = ""
script_name = DisplayCineFilter
category = TC_CINEMATIC
[[.args]]
type = showhideoption
default = "ShowHideHide"

[PingMinimap]
title = "Minimap signal (all players) [R]"
description = "Send the minimap signal to all players to the coordinates (${X},${Y}) Duration: ${Duration} seconds"
comment = ""
category = TC_CINEMATIC
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "1"
min = 0

[PingMinimapLocForForce]
title = "Minimap signal (specified player group)"
description = "Send a small map signal to ${player group} to ${specified point}, duration: ${Duration} seconds"
comment = ""
category = TC_CINEMATIC
[[.args]]
type = force
default = "GetPlayersAll"
[[.args]]
type = location
[[.args]]
type = real
default = "1"
min = 0

[PingMinimapEx]
title = "Minimap signal (specified color) (all players) [R]"
description = "Send a minimap signal to all players to the coordinates (${X},${Y}) Duration: ${Duration} seconds, signal color: (${Red},${Green},${Blue} ) Signal type: ${Style}"
comment = "The color format is (red, green, blue). The color value range is 0-255."
category = TC_CINEMATIC
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "1"
min = 0
[[.args]]
type = integer
default = "0"
min = 0
max = 255
[[.args]]
type = integer
default = "255"
min = 0
max = 255
[[.args]]
type = integer
default = "0"
min = 0
max = 255
[[.args]]
type = pingstyle
default = "PingStyleNormal"

[PingMinimapLocForForceEx]
title = "Minimap signal (designated color) (designated player group)"
description = "Send a small map signal to ${player group} to ${specified point}, duration: ${Duration} seconds, signal type: ${Style} signal color: (${Red}%, ${Green} %, ${Blue}%)"
comment = "The color format is (red, green, blue). The warning signal is always red and immutable."
category = TC_CINEMATIC
[[.args]]
type = force
default = "GetPlayersAll"
[[.args]]
type = location
[[.args]]
type = real
default = "1"
min = 0
[[.args]]
type = minimappingstyle
default = "MinimapPingStyleSimple"
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "100"
min = 0
max = 100

[UnitAddIndicator]
title = "Flashing indicator (for unit) [R]"
description = "For the flashing indicator of ${unit}, use color: (${Red}, ${Green}, ${Blue}) Alpha channel value: ${Transparency}"
comment = "The color format is (red, green, blue). Alpha channel value 0 is invisible. The range of color value and alpha channel value is 0-255."
script_name = AddIndicator
category = TC_CINEMATIC
[[.args]]
type = unit
[[.args]]
type = integer
default = "255"
min = 0
max = 255
[[.args]]
type = integer
default = "255"
min = 0
max = 255
[[.args]]
type = integer
default = "255"
min = 0
max = 255
[[.args]]
type = integer
default = "255"
min = 0
max = 255

[UnitAddIndicatorBJ]
title = "Flashing indicator (for units)"
description = "For the flashing indicator of ${unit}, use color (${Red}%, ${Green}%, ${Blue}%) transparency ${Transparency}%"
comment = "The color format is (red, green, blue). 100% transparency is invisible."
category = TC_CINEMATIC
[[.args]]
type = unit
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0
max = 100

[DestructableAddIndicator]
title = "Flashing indicator (for destructible objects) [R]"
description = "For the flashing indicator of ${destructible}, use the color: (${Red}, ${Green}, ${Blue}) Alpha channel value: ${Transparency}"
comment = "The color format is (red, green, blue). Alpha channel value 0 is invisible. The range of color value and alpha channel value is 0-255."
script_name = AddIndicator
category = TC_CINEMATIC
[[.args]]
type = destructable
[[.args]]
type = integer
default = "255"
min = 0
max = 255
[[.args]]
type = integer
default = "255"
min = 0
max = 255
[[.args]]
type = integer
default = "255"
min = 0
max = 255
[[.args]]
type = integer
default = "255"
min = 0
max = 255

[DestructableAddIndicatorBJ]
title = "Flashing indicator (for destructible objects)"
description = "For the flashing indicator of ${destructible}, use color (${Red}%, ${Green}%, ${Blue}%) transparency ${Transparency}%"
comment = "The color format is (red, green, blue). 100% transparency is invisible."
category = TC_CINEMATIC
[[.args]]
type = destructable
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0
max = 100

[ItemAddIndicator]
title = "Flashing indicator (for items) [R]"
description = "For the flashing indicator of ${Item}, use color: (${Red}%, ${Green}%, ${Blue}%) Alpha channel value: ${Transparency}"
comment = "The color format is (red, green, blue). Alpha channel value 0 is invisible. The range of color value and alpha channel value is 0-255."
script_name = AddIndicator
category = TC_CINEMATIC
[[.args]]
type = item
[[.args]]
type = integer
default = "255"
min = 0
max = 255
[[.args]]
type = integer
default = "255"
min = 0
max = 255
[[.args]]
type = integer
default = "255"
min = 0
max = 255
[[.args]]
type = integer
default = "255"
min = 0
max = 255

[ItemAddIndicatorBJ]
title = "Flashing indicator (for items)"
description = "For the flashing indicator of ${Item}, use color (${Red}%, ${Green}%, ${Blue}%) Transparency ${Transparency}%"
comment = "The color format is (red, green, blue). 100% transparency is invisible."
category = TC_CINEMATIC
[[.args]]
type = item
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0
max = 100

[ShowInterface]
title = "Turn on/off the mailbox mode (all players) [R]"
description = "${open/close} mailbox mode, conversion time is ${Duration} seconds"
comment = "Use movie camera mode to hide the game interface."
category = TC_CINEMATIC
[[.args]]
type = onoffnotoption
default = "OnOffNotOff"
[[.args]]
type = real
default = "2"
min = 0

[ShowInterfaceForceOff]
title = "Open mailbox mode (specify player group)"
description = "Open mailbox mode for ${player group}, the conversion time is ${Duration} seconds"
comment = "Use movie camera mode to hide the game interface."
category = TC_CINEMATIC
[[.args]]
type = force
default = "GetPlayersAll"
[[.args]]
type = real
default = "2"
min = 0

[ShowInterfaceForceOn]
title = "Mailbox mode is turned on and off (specified player group)"
description = "Turn off mailbox mode for ${player group}, the conversion time is ${Duration} seconds"
comment = "Close the mailbox mode and return to the game interface."
category = TC_CINEMATIC
[[.args]]
type = force
default = "GetPlayersAll"
[[.args]]
type = real
default = "2"
min = 0

[EnableUserControl]
title = "Enable/disable player control (all players) [R]"
description = "${enable/disable} player control"
comment = ""
category = TC_CINEMATIC
[[.args]]
type = onoffoption
default = "OnOffOn"

[SetUserControlForceOff]
title = "Disable player control (specify player group)"
description = "Disable control of ${player group}"
comment = ""
category = TC_CINEMATIC
[[.args]]
type = force
default = "GetPlayersAll"

[SetUserControlForceOn]
title = "Enable player control (specify player group)"
description = "Enable control of ${player group}"
comment = ""
category = TC_CINEMATIC
[[.args]]
type = force
default = "GetPlayersAll"

[EnableOcclusion]
title = "Allow/Prohibit Blocking (All Players) [R]"
description = "${Enable/Disable} blocked"
comment = ""
category = TC_CINEMATIC
[[.args]]
type = enabledisableoption
default = "EnableDisableDisable"

[EnableOcclusionBJ]
title = "Allow/Prohibit Blocking (Specify Player Group)"
description = "${Enable/Disable} blocked pair ${player group}"
comment = ""
category = TC_CINEMATIC
[[.args]]
type = enabledisableoption
default = "EnableDisableDisable"
[[.args]]
type = force
default = "GetPlayersAll"

[EnableWorldFogBoundary]
title = "Allow/Prohibit Border Coloring (All Players) [R]"
description = "${Enable/Disable} border coloring, applied to all players"
comment = "When border coloring is disabled, the border is a normal terrain, it is not displayed in black, but it is still impassable."
category = TC_CINEMATIC
[[.args]]
type = enabledisableoption
default = "EnableDisableDisable"

[EnableWorldFogBoundaryBJ]
title = "Allow/Prohibit Border Coloring (Specify Player Group)"
description = "${Enable/Disable} border coloring, applied to ${player group}"
comment = "When border coloring is disabled, the border is a normal terrain, it is not displayed in black, but it is still impassable."
category = TC_CINEMATIC
[[.args]]
type = enabledisableoption
default = "EnableDisableDisable"
[[.args]]
type = force
default = "GetPlayersAll"

[SetUnitAnimation]
title = "Play unit animation"
description = "Play ${Unit}'s ${animation name} action"
comment = "Revert to normal action by'reset unit action'."
category = TC_ANIMATION
[[.args]]
type = unit
[[.args]]
type = string
default = "\"stand\""

[SetUnitAnimationByIndex]
title = "The play unit specifies the sequence number to move [R]"
description = "Play the ${sequence number} action of ${unit}"
comment = "You can specify to play all unit animations, but you need to try more by yourself. The action number of each unit is different."
category = TC_ANIMATION
[[.args]]
type = unit
[[.args]]
type = integer
default = "0"

[SetUnitAnimationWithRarity]
title = "Play unit action (specified probability)"
description = "To play the ${Animation Name} action of ${unit}, only use the ${Rarity} action"
comment = "Revert to normal action by'reset unit action'."
category = TC_ANIMATION
[[.args]]
type = unit
[[.args]]
type = string
default = "\"stand\""
[[.args]]
type = raritycontrol
default = "RarityControlFrequent"

[QueueUnitAnimationBJ]
title = "Unit animation joins the queue"
description = "Add ${Unit}'s ${Animation Name} action to the action queue"
comment = "The unit plays the actions in the order of operation in the queue."
script_name = QueueUnitAnimation
category = TC_ANIMATION
[[.args]]
type = unit
[[.args]]
type = string
default = "\"stand\""

[ResetUnitAnimation]
title = "Reset unit animation"
description = "Reset the action of ${unit} and return to normal state"
comment = "No matter what action the unit is in, it will restore the unit's actions to the normal state (that is, the state of the'stand' action)."
category = TC_ANIMATION
[[.args]]
type = unit

[AddUnitAnimationProperties]
title = "Add/remove unit animation additional name [R]"
description = "Add action ${Tag} to ${unit}, the status is ${Add/Remove}"
comment = "For example, if a demon hunter adds'alternate', it will appear as a demon form; if a farmer adds'gold', it will be a golden form."
category = TC_ANIMATION
[[.args]]
type = unit
[[.args]]
type = string
default = "\"alternate\""
[[.args]]
type = addremoveoption
default = "AddRemoveAdd"

[AddUnitAnimationPropertiesBJ]
title = "Add/remove unit animation additional name"
description = "${Add/Remove} ${Tag} add an animation name to ${unit}"
comment = "For example, if a demon hunter adds'alternate', it will appear as a demon form; if a farmer adds'gold', it will be a golden form."
category = TC_ANIMATION
[[.args]]
type = addremoveoption
default = "AddRemoveAdd"
[[.args]]
type = string
default = "\"alternate\""
[[.args]]
type = unit

[SetUnitLookAt]
title = "Lock body orientation"
description = "Lock the ${Source} of ${unit} towards ${target unit}, offset coordinates (${X}, ${Y}, ${Z})"
comment = "The body part of the unit will always face the offset coordinate point of the target unit until the'reset body orientation' is used. The coordinate offset takes the foot of the target unit as the coordinate origin."
category = TC_ANIMATION
[[.args]]
type = unit
[[.args]]
type = unitfacingbone
default = "UnitFacingBoneHead"
[[.args]]
type = unit
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "90"

[ResetUnitLookAt]
title = "Reset body orientation"
description = "Reset the body orientation of ${unit}"
comment = "Restore the unit’s body orientation to normal."
category = TC_ANIMATION
[[.args]]
type = unit

[SetUnitScale]
title = "Change unit size (in multiples) [R]"
description = "Change the size of ${unit} to: (${X},${Y},${Z})"
comment = "The zoom size uses (length, width, height) format."
category = TC_ANIMATION
[[.args]]
type = unit
[[.args]]
type = real
default = "1"
min = 0
[[.args]]
type = real
default = "1"
min = 0
[[.args]]
type = real
default = "1"
min = 0

[SetUnitScalePercent]
title = "Change unit size (in multiples) [R]"
description = "Change the size of ${unit} to: (${X},${Y},${Z})"
comment = "The zoom size uses (length, width, height) format."
category = TC_ANIMATION
[[.args]]
type = unit
[[.args]]
type = real
default = "100"
min = 0
[[.args]]
type = real
default = "100"
min = 0
[[.args]]
type = real
default = "100"
min = 0

[SetUnitVertexColor]
title = "Change the color of the unit (RGB:0-255) [R]"
description = "Change the color value of ${unit}: (${Red},${Green},${Blue}), transparency value: ${Transparency}"
comment = "The color format is (red, green, blue). Most units use the color value of (255, 255, 255) and the Alpha value of 255. A transparency value of 0 is invisible. The color value and Alpha value range from 0- 255."
category = TC_ANIMATION
[[.args]]
type = unit
[[.args]]
type = integer
default = "255"
min = 0
max = 255
[[.args]]
type = integer
default = "255"
min = 0
max = 255
[[.args]]
type = integer
default = "255"
min = 0
max = 255
[[.args]]
type = integer
default = "255"
min = 0
max = 255

[SetUnitVertexColorBJ]
title = "Change unit color (RGB:0-100%)"
description = "Change the color ratio of ${unit}: (${Red}%, ${Green}%, ${Blue}%), transparency: ${Transparency}%"
comment = "The color format is (red, green, blue). Most units use 100% color values and 0% transparency. 100% transparency is completely transparent."
category = TC_ANIMATION
[[.args]]
type = unit
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0
max = 100

[SetUnitTimeScale]
title = "Change unit animation playback speed (by multiples) [R]"
description = "Change the animation playback speed of ${unit} to ${Percent} times the normal speed"
comment = "Set the animation playback speed to 1 times to restore the normal state."
category = TC_ANIMATION
[[.args]]
type = unit
[[.args]]
type = real
default = "1"
min = 0

[SetUnitTimeScalePercent]
title = "Change the unit animation playback speed (in percentage)"
description = "Change the animation playback speed of ${unit} to ${Percent}% of normal speed"
comment = "Set 100% animation playback speed to return to normal state."
category = TC_ANIMATION
[[.args]]
type = unit
[[.args]]
type = real
default = "100"
min = 0

[SetUnitTurnSpeedBJ]
title = "Change unit turning speed"
description = "Change the turning speed of ${unit} to ${Value}"
comment = "Turning speed means the speed at which the unit changes its facing direction. The smaller the value (0-1), the slower the turn, and the 0 means the turn cannot be turned."
script_name = SetUnitTurnSpeed
category = TC_ANIMATION
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = real
default = "0.5"
min = 0
max = 1

[SetUnitBlendTimeBJ]
title = "Change unit mixing time"
description = "Change the mixing time of ${unit} to ${number}"
comment = "Unit animation image mixing time. Determines how fast the body parts are connected, such as the speed at which the arm swings when attacking. The default value is 0.15. Increasing this value will result in rigid motion."
script_name = SetUnitBlendTime
category = TC_ANIMATION
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = real

[SetUnitFlyHeightBJ]
title = "Change unit flying height"
description = "Change the flying height of ${unit} to ${number}, conversion rate: ${number}"
comment = "Flying units can directly change the flying height. Other units can also change the flying height after adding/deleting them to the flying unit's transformation skills (such as the crow form)."
script_name = SetUnitFlyHeight
category = TC_ANIMATION
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = real
[[.args]]
type = real

[SetUnitPropWindow]
title = "Change unit steering angle (radian system) [R]"
description = "Change the steering angle of ${unit} to ${number} (radian system)"
comment = "Set the steering angle when the unit turns. The larger the value, the greater the steering range. "
category = TC_ANIMATION
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = radian

[SetUnitPropWindowBJ]
title = "Change unit steering angle (angle system)"
description = "Change the steering angle of ${unit} to ${number} degrees"
comment = "Set the steering angle when the unit turns. The larger the value, the greater the steering amplitude. Angles greater than 360 degrees will be treated as 359 degrees."
category = TC_ANIMATION
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = degree

[SetDestructableAnimationBJ]
title = "Play Destructible Animation"
description = "Play the ${Animation Name} action of ${destructible}"
comment = ""
script_name = SetDestructableAnimation
category = TC_ANIMATION
[[.args]]
type = destructable
[[.args]]
type = string
default = "\"stand\""

[QueueDestructableAnimationBJ]
title = "Add the destructible animation to the queue"
description = "Add the ${Animation Name} action of ${destructible} to the queue"
comment = ""
script_name = QueueDestructableAnimation
category = TC_ANIMATION
[[.args]]
type = destructable
[[.args]]
type = string
default = "\"stand\""

[SetDestructableAnimationSpeed]
title = "Change the playback speed of the destructible animation [R]"
description = "Change the animation playback speed of ${destructible} to ${Percent} times the normal"
comment = "Set the animation playback speed to 1 times to restore the normal state."
category = TC_ANIMATION
[[.args]]
type = destructable
[[.args]]
type = real
default = "1.0"

[SetDestAnimationSpeedPercent]
title = "Change the playback speed of the destructible animation"
description = "Change the animation playback speed of ${destructible} to normal ${Percent}%"
comment = "Set 100% animation playback speed to return to normal state."
category = TC_ANIMATION
[[.args]]
type = destructable
[[.args]]
type = real
default = "100"

[SetDoodadAnimationRect]
title = "Play the terrain decoration animation in the rectangular area [R]"
description = "Play all ${Animation Name} actions of ${Decoration Type} in ${Rect} (${Allow/Prohibit} Random Play)"
comment = "Special animation name:'show','hide','soundon','soundoff'. Random play: For example, if a decoration has several'stand' actions, then a certain action will be randomly selected to play when the item is allowed , And only the first action will be played when this item is disabled."
category = TC_ANIMATION
[[.args]]
type = rect
default = "bj_mapInitialPlayableArea"
[[.args]]
type = doodadcode
[[.args]]
type = string
default = "\"death\""
[[.args]]
type = enabledisableoption
default = "EnableDisableDisable"

[SetDoodadAnimationRectBJ]
title = "Play the terrain decoration animation in the rectangular area"
description = "Play ${Animation Name} action for all ${decoration types} within ${Rect}"
comment = "Special animation name: 'show', 'hide', 'soundon', 'soundoff'"
category = TC_ANIMATION
[[.args]]
type = string
default = "\"death\""
[[.args]]
type = doodadcode
[[.args]]
type = rect
default = "GetPlayableMapRect"

[SetDoodadAnimation]
title = "Play the terrain decoration animation within the circle [R]"
description = "Select the ${decoration type} within the circle whose center is (${X},${Y}) and the radius is ${radius} (selection method: ${selection method}), do ${Animation Name} Action (${Allow/Prohibit} Random Play)"
comment = "Special animation name:'show','hide','soundon','soundoff'. Random play: For example, if a decoration has several'stand' actions, then a certain action will be randomly selected to play when the item is allowed , And only the first action will be played when this item is disabled."
category = TC_ANIMATION
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "128"
[[.args]]
type = doodadcode
[[.args]]
type = nearestonlyoption
default = "NearestOnlyOff"
[[.args]]
type = string
default = "\"death\""
[[.args]]
type = enabledisableoption
default = "EnableDisableDisable"

[SetDoodadAnimationBJ]
title = "Play the animation of terrain decorations within the circle"
description = "Play the ${Animation Name} action for all ${decoration types} within a circle with a radius of ${Radius} and a center of ${specified point}"
comment = "Special animation name: 'show', 'hide', 'soundon', 'soundoff'"
category = TC_ANIMATION
[[.args]]
type = string
default = "\"death\""
[[.args]]
type = doodadcode
[[.args]]
type = real
default = "128"
[[.args]]
type = location

[DialogDisplay]
title = "Show/Hide [R]"
description = "Set the state of ${Dialog} to ${Show/Hide} for ${Player}"
comment = "The dialog cannot be applied to the map initialization event."
category = TC_DIALOG
[[.args]]
type = player
default = "Player00"
[[.args]]
type = dialog
[[.args]]
type = showhideoption
default = "ShowHideShow"

[DialogDisplayBJ]
title = "Show/Hide"
description = "${Show/Hide} ${Dialog} to ${Player}"
comment = "The dialog cannot be applied to the map initialization event."
category = TC_DIALOG
[[.args]]
type = showhideoption
default = "ShowHideShow"
[[.args]]
type = dialog
[[.args]]
type = player
default = "Player00"

[DialogSetMessageBJ]
title = "Change title"
description = "Change the title of ${Dialog} to ${Title}"
comment = ""
script_name = DialogSetMessage
category = TC_DIALOG
[[.args]]
type = dialog
[[.args]]
type = StringExt

[DialogAddButtonBJ]
title = "Add dialog button"
description = "Add a dialog button to ${Dialog}, the button label is ${Text}"
comment = "Use the'last created dialog button' to get the created dialog button."
category = TC_DIALOG
[[.args]]
type = dialog
[[.args]]
type = StringExt

[DialogAddButtonWithHotkeyBJ]
title = "Add dialog button (with shortcut keys) [R]"
description = "Add a button to ${Dialog}, the button title is: ${text}, the shortcut key is: ${HotKey}"
comment = "Use the'last created dialog button' to get the created dialog button."
category = TC_DIALOG
[[.args]]
type = dialog
[[.args]]
type = StringExt
[[.args]]
type = hotkeyint
default = "HotKeyIntNull"

[DialogAddQuitButton]
title = "Add a button to exit the game [R]"
description = "Add a button to exit the game for ${Dialog} (${skip} scoring screen) The button title is: ${text} The shortcut key is: ${HotKey}"
comment = "The button created by this function is not recorded as the'last created dialog button'. The game will exit when the button is clicked"
category = TC_DIALOG
[[.args]]
type = dialog
[[.args]]
type = useskipoption
default = "UseSkipOptionUse"
[[.args]]
type = StringExt
[[.args]]
type = hotkeyint
default = "HotKeyIntNull"

[DialogClearBJ]
title = "Empty"
description = "Empty ${Dialog}"
comment = "Clear the title and button of the dialog box."
script_name = DialogClear
category = TC_DIALOG
[[.args]]
type = dialog

[DialogDestroy]
title = "Delete [R]"
description = "Delete ${Dialog}"
comment = "Clear the dialog box out of memory. Generally speaking, the dialog box does not need to be deleted."
category = TC_DIALOG
[[.args]]
type = dialog

[MeleeStartingVisibility]
title = "Use battle day and night settings"
description = "Use battle day and night settings"
comment = ""
category = TC_MELEE
[[.args]]
type = nothing

[MeleeStartingHeroLimit]
title = "Hero Limit"
description = "Use battle hero settings"
comment = "Each battle hero can only be built 1. The maximum number of heroes is 3."
category = TC_MELEE
[[.args]]
type = nothing

[MeleeGrantHeroItems]
title = "Hero Initial Item"
description = "Give the first hero a homecoming scroll"
comment = ""
category = TC_MELEE
[[.args]]
type = nothing

[MeleeStartingResources]
title = "Set up initial resources"
description = "Set up initial resources"
comment = ""
category = TC_MELEE
[[.args]]
type = nothing

[MeleeClearExcessUnits]
title = "Delete redundant units"
description = "Delete neutral creatures near the used start point"
comment = ""
category = TC_MELEE
[[.args]]
type = nothing

[MeleeStartingUnits]
title = "Create initial unit"
description = "Create a battle initial unit"
comment = ""
category = TC_MELEE
[[.args]]
type = nothing

[MeleeStartingAI]
title = "Run AI"
description = "Run battle AI script against computer players"
comment = "The player must have initial units and resources before the action runs."
category = TC_MELEE
[[.args]]
type = nothing

[MeleeInitVictoryDefeat]
title = "Force win/fail conditions"
description = "Force the use of match victory/loss conditions"
comment = "The player must have a unit before the action runs."
category = TC_MELEE
[[.args]]
type = nothing

[MeleeStartingUnitsForPlayer]
title = "Create initial unit (specify player)"
description = "Create the initial unit of the battle of ${Race} for ${Player} at ${specified point} (${Include/Exclude} hero)"
comment = ""
category = TC_MELEE
[[.args]]
type = race
default = "RaceHuman"
[[.args]]
type = player
default = "Player00"
[[.args]]
type = location
default = "GetPlayerStartLocationLoc"
[[.args]]
type = includeoption
default = "InclusionInclude"

[CreateMultiboardBJ]
title = "Create"
description = "Create a multi-panel with ${Columns} as ${Rows} and ${text} as the title"
comment = "Multiple panels cannot be displayed when the map is initialized."
category = TC_MULTIBOARD
[[.args]]
type = integer
default = "1"
min = 1
max = 16
[[.args]]
type = integer
default = "1"
min = 1
max = 32
[[.args]]
type = StringExt
max = 512

[DestroyMultiboardBJ]
title = "delete"
description = "delete ${Multiboard}"
comment = ""
script_name = DestroyMultiboard
category = TC_MULTIBOARD
[[.args]]
type = multiboard
default = "GetLastCreatedMultiboard"

[MultiboardDisplay]
title = "Show/Hide [R]"
description = "Set ${Multiboard} ${Show/Hide}"
comment = "Multiple panels cannot be displayed when the map is initialized."
category = TC_MULTIBOARD
[[.args]]
type = multiboard
default = "bj_lastCreatedMultiboard"
[[.args]]
type = showhideoption
default = "ShowHideHide"

[MultiboardDisplayBJ]
title = "Show/Hide"
description = "${Show/Hide} ${Multiboard}"
comment = "Multiple panels cannot be displayed when the map is initialized."
category = TC_MULTIBOARD
[[.args]]
type = showhideoption
default = "ShowHideHide"
[[.args]]
type = multiboard
default = "GetLastCreatedMultiboard"

[MultiboardSuppressDisplay]
title = "Show/Hide Multi-Panel Mode [R]"
description = "${open/close} hide multi-panel mode"
comment = "Hide multi-panel mode will not show multi-panel."
category = TC_MULTIBOARD
[[.args]]
type = onoffoption
default = "OnOffOn"

[MultiboardAllowDisplayBJ]
title = "Show/hide multi-panel mode"
description = "${Show/Hide} multi-panel mode"
comment = "Hide multi-panel mode will not show multi-panel."
category = TC_MULTIBOARD
[[.args]]
type = showhideoption
default = "ShowHideHide"

[MultiboardMinimize]
title = "Maximum/Minimize [R]"
description = "Set up ${Multiboard} ${Minimize/Maximize}"
comment = "The minimized multi-panel displays only the title."
category = TC_MULTIBOARD
[[.args]]
type = multiboard
default = "bj_lastCreatedMultiboard"
[[.args]]
type = minimizeoption
default = "Minimize"

[MultiboardMinimizeBJ]
title = "Maximum/Minimize"
description = "${Minimize/Maximize} ${Multiboard}"
comment = "The minimized multi-panel displays only the title."
category = TC_MULTIBOARD
[[.args]]
type = minimizeoption
default = "Minimize"
[[.args]]
type = multiboard
default = "GetLastCreatedMultiboard"

[MultiboardClear]
title = "Clear multi-panel"
description = "Clear ${Multiboard}"
comment = "Clear all rows and columns in this multi-panel."
category = TC_MULTIBOARD
[[.args]]
type = multiboard
default = "GetLastCreatedMultiboard"

[MultiboardSetTitleText]
title = "Set title"
description = "Set the title of ${Multiboard} to ${text}"
comment = ""
category = TC_MULTIBOARD
[[.args]]
type = multiboard
default = "GetLastCreatedMultiboard"
[[.args]]
type = StringExt
max = 512

[MultiboardSetTitleTextColor]
title = "Set title color [R]"
description = "Set the title color of ${Multiboard} to (${Red},${Green},${Blue}), and the Alpha value to ${Transparency}"
comment = "The color format is (red, green, blue). Alpha value 0 is invisible. The color value and Alpha value range from 0-255."
category = TC_MULTIBOARD
[[.args]]
type = multiboard
default = "bj_lastCreatedMultiboard"
[[.args]]
type = integer
default = "255"
min = 0
max = 255
[[.args]]
type = integer
default = "204"
min = 0
max = 255
[[.args]]
type = integer
default = "51"
min = 0
max = 255
[[.args]]
type = integer
default = "255"
min = 0
max = 255

[MultiboardSetTitleTextColorBJ]
title = "Set title color"
description = "Set the title color of ${Multiboard} to (${Red}%, ${Green}%, ${Blue}%) and the transparency to ${Transparency}%"
comment = "The color format is (red, green, blue). 100% transparency is invisible."
category = TC_MULTIBOARD
[[.args]]
type = multiboard
default = "GetLastCreatedMultiboard"
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "80"
min = 0
max = 100
[[.args]]
type = real
default = "20"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0
max = 100

[MultiboardSetRowCount]
title = "Set the number of rows"
description = "Set the number of rows in ${Multiboard} to ${Rows}"
comment = ""
category = TC_MULTIBOARD
[[.args]]
type = multiboard
default = "GetLastCreatedMultiboard"
[[.args]]
type = integer
default = "1"
min = 1
max = 32

[MultiboardSetColumnCount]
title = "Set the number of columns"
description = "Set the number of columns in ${Multiboard} to ${Columns}"
comment = ""
category = TC_MULTIBOARD
[[.args]]
type = multiboard
default = "GetLastCreatedMultiboard"
[[.args]]
type = integer
default = "1"
min = 1
max = 16

[MultiboardSetItemStyle]
title = "Set the display style of the specified item [R]"
description = "Set the display style of ${Multi-panel project}: ${Show/Hide} text ${Show/Hide} icon"
comment = ""
category = TC_MULTIBOARD
[[.args]]
type = multiboarditem
[[.args]]
type = showhideoption
default = "ShowHideShow"
[[.args]]
type = showhideoption
default = "ShowHideShow"

[MultiboardSetItemValue]
title = "Set the specified item text [R]"
description = "Set the project text of ${multi-panel project} to ${text}"
comment = ""
category = TC_MULTIBOARD
[[.args]]
type = multiboarditem
[[.args]]
type = StringExt

[MultiboardSetItemValueColor]
title = "Set the specified item color [R]"
description = "Set the project color of ${Multi-panel project} to (${Red},${Green},${Blue}), and the Alpha value to ${Transparency}"
comment = "The color format is (red, green, blue). Alpha value 0 is invisible. The color value and Alpha value range from 0-255."
category = TC_MULTIBOARD
[[.args]]
type = multiboarditem
[[.args]]
type = integer
default = "255"
min = 0
max = 255
[[.args]]
type = integer
default = "204"
min = 0
max = 255
[[.args]]
type = integer
default = "51"
min = 0
max = 255
[[.args]]
type = integer
default = "255"
min = 0
max = 255

[MultiboardSetItemWidth]
title = "Set the specified item width [R]"
description = "Set the item width of ${multi-panel item} to ${Width} times the screen width"
category = TC_MULTIBOARD
[[.args]]
type = multiboarditem
[[.args]]
type = real
default = "0.03"
min = 0
max = 1

[MultiboardSetItemIcon]
title = "Set the specified project icon [R]"
description = "Set the project icon of ${multi-panel project} to ${Icon File}"
category = TC_MULTIBOARD
[[.args]]
type = multiboarditem
[[.args]]
type = imagefile
default = "\"UI\\Feedback\\Resources\\ResourceGold.blp\""

[MultiboardSetItemsStyle]
title = "Set the display style of all items [R]"
description = "Set the display style of all items of ${Multi-panel}: ${Show/Hide} text ${Show/Hide} icon"
category = TC_MULTIBOARD
[[.args]]
type = multiboard
default = "bj_lastCreatedMultiboard"
[[.args]]
type = showhideoption
default = "ShowHideShow"
[[.args]]
type = showhideoption
default = "ShowHideShow"

[MultiboardSetItemsValue]
title = "Set all project text [R]"
description = "Set the text of all items of ${Multi Panel} to ${Text}"
category = TC_MULTIBOARD
[[.args]]
type = multiboard
[[.args]]
type = StringExt

[MultiboardSetItemsValueColor]
title = "Set the color of all items [R]"
description = "Set the color of all items of ${Multi Panel} to (${Red},${Green},${Blue}), and the Alpha value to ${Transparency}"
comment = "The color format is (red, green, blue). Alpha value 0 is invisible. The color value and Alpha value range from 0-255."
category = TC_MULTIBOARD
[[.args]]
type = multiboard
default = "bj_lastCreatedMultiboard"
[[.args]]
type = integer
default = "255"
min = 0
max = 255
[[.args]]
type = integer
default = "204"
min = 0
max = 255
[[.args]]
type = integer
default = "51"
min = 0
max = 255
[[.args]]
type = integer
default = "255"
min = 0
max = 255

[MultiboardSetItemsWidth]
title = "Set the width of all items [R]"
description = "Set the width of all items of ${Multi Panel} to ${Width} times the screen width"
category = TC_MULTIBOARD
[[.args]]
type = multiboard
default = "bj_lastCreatedMultiboard"
[[.args]]
type = real
default = "0.03"
min = 0
max = 1

[MultiboardSetItemsIcon]
title = "Set all project icons [R]"
description = "Set all project icons of ${Multi Panel} to ${Icon File}"
category = TC_MULTIBOARD
[[.args]]
type = multiboard
default = "bj_lastCreatedMultiboard"
[[.args]]
type = imagefile
default = "\"UI\\Feedback\\Resources\\ResourceGold.blp\""

[MultiboardSetItemStyleBJ]
title = "Set item display style"
description = "Set the display style of the items in the ${Multiboard} column ${Column} and row ${Row}: ${Show/Hide} text ${Show/Hide} icon"
comment = "You can set the number of rows/columns to 0 to refer to all rows/columns."
category = TC_MULTIBOARD
[[.args]]
type = multiboard
default = "GetLastCreatedMultiboard"
[[.args]]
type = integer
default = "1"
min = 0
[[.args]]
type = integer
default = "1"
min = 0
[[.args]]
type = showhideoption
default = "ShowHideShow"
[[.args]]
type = showhideoption
default = "ShowHideShow"

[MultiboardSetItemValueBJ]
title = "Set project text"
description = "Set the item text in the ${Multiboard} column ${Column} and row ${Row} to ${text}"
comment = "You can set the number of rows/columns to 0 to refer to all rows/columns."
category = TC_MULTIBOARD
[[.args]]
type = multiboard
default = "GetLastCreatedMultiboard"
[[.args]]
type = integer
default = "1"
min = 0
[[.args]]
type = integer
default = "1"
min = 0
[[.args]]
type = StringExt
max = 128

[MultiboardSetItemColorBJ]
title = "Set item color"
description = "Set the color of the item in the ${Multiboard} column ${Column} and row ${Row} to (${Red}%, ${Green}%, ${Blue}%) and the transparency to ${Transparency} %"
comment = "You can set the number of rows/columns to 0 to refer to all rows/columns. The color format is (red, green, blue). 100% transparency is invisible."
category = TC_MULTIBOARD
[[.args]]
type = multiboard
default = "GetLastCreatedMultiboard"
[[.args]]
type = integer
default = "1"
min = 0
[[.args]]
type = integer
default = "1"
min = 0
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "80"
min = 0
max = 100
[[.args]]
type = real
default = "20"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0
max = 100

[MultiboardSetItemWidthBJ]
title = "Set item width"
description = "Set the item width of the ${Multiboard} column ${Column} and row ${Row} to ${Width}% of the screen"
comment = ""
category = TC_MULTIBOARD
[[.args]]
type = multiboard
default = "GetLastCreatedMultiboard"
[[.args]]
type = integer
default = "1"
min = 0
[[.args]]
type = integer
default = "1"
min = 0
[[.args]]
type = real
default = "3"
min = 0
max = 100

[MultiboardSetItemIconBJ]
title = "Set project icon"
description = "Set the item icon in the ${Multiboard} column ${Column} and row ${Row} to ${Icon File}"
comment = ""
category = TC_MULTIBOARD
[[.args]]
type = multiboard
default = "GetLastCreatedMultiboard"
[[.args]]
type = integer
default = "1"
min = 0
[[.args]]
type = integer
default = "1"
min = 0
[[.args]]
type = imagefile
default = "\"UI\\Feedback\\Resources\\ResourceGold.blp\""

[MultiboardReleaseItem]
title = "Delete multi-panel item [R]"
description = "Delete ${Multi-Panel Project}"
comment = "Does not affect the display of multiple panels. Multi-panel items point to multiple panels but are not attached to multiple panels."
category = TC_MULTIBOARD
[[.args]]
type = multiboarditem

[AddWeatherEffectSaveLast]
title = "Add weather effect"
description = "Add weather effect to ${Rect}: ${Weather Id}"
comment = "Use the'last added weather effect' to get the added weather effect."
category = TC_ENVIRONMENT
[[.args]]
type = rect
default = "GetPlayableMapRect"
[[.args]]
type = weathereffectcode
default = "WeatherAshenvaleHeavyRain"

[EnableWeatherEffect]
title = "Enable/disable weather effects"
description = "Set the status of ${Weather Effect} to: ${On/Off}"
comment = "You can use the'Environment-Create Weather Effect' action to create weather effects."
category = TC_ENVIRONMENT
[[.args]]
type = weathereffect
default = "GetLastCreatedWeatherEffect"
[[.args]]
type = onoffoption
default = "OnOffOn"

[RemoveWeatherEffectBJ]
title = "Delete weather effect"
description = "Delete ${weather effect}"
comment = ""
script_name = RemoveWeatherEffect
category = TC_ENVIRONMENT
[[.args]]
type = weathereffect
default = "GetLastCreatedWeatherEffect"

[TerrainDeformationCraterBJ]
title = "Create terrain changes: crater"
description = "Create a ${Type} crater that lasts ${Duration} seconds and deform at ${specified point}, radius: ${Radius} depth: ${Depth}"
comment = "Use the'last created terrain change' to get the change. The depth can be a negative number. Permanent terrain changes will not be recorded when saving the game."
category = TC_ENVIRONMENT
[[.args]]
type = real
default = "0.5"
min = 0.01
[[.args]]
type = cratertype
default = "CraterTypeTemporary"
[[.args]]
type = location
[[.args]]
type = real
default = "512"
min = 1
[[.args]]
type = real
default = "64"

[TerrainDeformationRippleBJ]
title = "Create Terrain Variation: Ripple"
description = "Create a ${Type} ripple that lasts ${Duration} seconds at ${specified point}, start radius: ${Radius}, end radius: ${Radius}, depth: ${Depth} period: ${Time} seconds, wave distance: ${Distance}"
comment = "Use the'Last Created Terrain Change' to get the change."
category = TC_ENVIRONMENT
[[.args]]
type = real
default = "4"
min = 0.01
[[.args]]
type = rippletype
default = "RippleTypeNormal"
[[.args]]
type = location
[[.args]]
type = real
default = "1024"
min = 0
[[.args]]
type = real
default = "1024"
min = 1
[[.args]]
type = real
default = "64"
[[.args]]
type = real
default = "1"
min = 0.01
[[.args]]
type = real
default = "512"
min = 1

[TerrainDeformationWaveBJ]
title = "Create Terrain Change: Shock Wave"
description = "Create a shock wave that lasts for ${Duration} seconds from ${Source} to ${Target}, radius: ${Radius}, depth: ${Depth}, effect duration: ${Delay} seconds"
comment = "Use the'last created terrain change' to get the change. The depth can be a negative number."
category = TC_ENVIRONMENT
[[.args]]
type = real
default = "0.5"
min = 0.01
[[.args]]
type = location
[[.args]]
type = location
[[.args]]
type = real
default = "256"
min = 0
[[.args]]
type = real
default = "96"
[[.args]]
type = real
default = "0"
min = 0

[TerrainDeformationRandomBJ]
title = "Create Terrain Variation: Random"
description = "Create a random deformation that lasts ${Duration} seconds at ${specified point}, radius: ${Radius} minimum depth: ${Minimum} maximum depth: ${Maximum}, deformation interval: ${Update Interval } second"
comment = "Use the'Last Created Terrain Change' to get the change."
category = TC_ENVIRONMENT
[[.args]]
type = real
default = "4"
min = 0.01
[[.args]]
type = location
[[.args]]
type = real
default = "512"
min = 0
[[.args]]
type = real
default = "-32"
[[.args]]
type = real
default = "32"
[[.args]]
type = real
default = "0.1"
min = 0.01

[TerrainDeformStop]
title = "Stop terrain change [R]"
description = "Stop ${Terrain Deformation}, decay time: ${Duration} milliseconds"
comment = "The terrain changes will be smoothly transition to none."
category = TC_ENVIRONMENT
[[.args]]
type = terraindeformation
default = "bj_lastCreatedTerrainDeformation"
[[.args]]
type = integer
default = "0"
min = 0

[TerrainDeformationStopBJ]
title = "Stop terrain changes"
description = "Stop ${Terrain Deformation}, Decay time: ${Duration} seconds"
comment = "The terrain changes will be smoothly transition to none."
category = TC_ENVIRONMENT
[[.args]]
type = terraindeformation
default = "GetLastCreatedTerrainDeformation"
[[.args]]
type = real
default = "0"
min = 0

[TerrainDeformStopAll]
title = "Stop all terrain changes"
description = "Stop all terrain changes"
comment = "Include terrain changes caused by skills."
category = TC_ENVIRONMENT
[[.args]]
type = nothing

[SetWaterDeforms]
title = "Turn on/off water surface deformation"
description = "${On/Off} Water surface deformation"
comment = "When it is turned on, the height of the water will change when the terrain changes. It is invalid for permanent deformation."
category = TC_ENVIRONMENT
[[.args]]
type = onoffoption
default = "OnOffOn"

[SetTerrainType]
title = "Change terrain type (specify coordinates) [R]"
description = "Change the terrain at (${X},${Y}) to ${Terrain Type}, use style: ${Variation} Range: ${Area} Shape: ${Shape}"
comment = "Terrain style-1 means random style. Range is the brush size in the terrain editor. 1 means 128x128 range"
category = TC_ENVIRONMENT
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = terraintype
default = "TerrainTypeLdrt"
[[.args]]
type = integer
default = "-1"
[[.args]]
type = integer
default = "1"
[[.args]]
type = terrainshape
default = "TerrainShapeCircle"

[SetTerrainTypeBJ]
title = "Change terrain type (specify point)"
description = "Change the terrain at ${specified point} to ${Terrain Type}, use style: ${Variation} Range: ${Area} Shape: ${Shape}"
comment = "Terrain style-1 means random style. Range is the brush size in the terrain editor. 1 means 128x128 range"
category = TC_ENVIRONMENT
[[.args]]
type = location
[[.args]]
type = terraintype
default = "TerrainTypeLdrt"
[[.args]]
type = integer
default = "-1"
[[.args]]
type = integer
default = "1"
[[.args]]
type = terrainshape
default = "TerrainShapeCircle"

[SetTerrainPathable]
title = "Set terrain traffic status (specify coordinates) [R]"
description = "Set the ${Pathing} terrain pass state of the unit point at (${X},${Y}) as: ${On/Off}"
comment = "Example: Set the'Build' access status to On, then this point can build a building. The range of a unit point is 32x32."
category = TC_ENVIRONMENT
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = pathingtype
default = "PathingTypeWalkability"
[[.args]]
type = onoffoption
default = "OnOffOn"

[SetTerrainPathableBJ]
title = "Set terrain traffic status (specified point)"
description = "Set the ${Pathing} terrain traffic state of the unit point at ${specified point} as: ${On/Off}"
comment = "Example: Set the'Build' access status to On, then this point can build a building. The range of a unit point is 32x32."
category = TC_ENVIRONMENT
[[.args]]
type = location
[[.args]]
type = pathingtype
default = "PathingTypeWalkability"
[[.args]]
type = onoffoption
default = "OnOffOn"

[SetWaterBaseColor]
title = "Set water color [R]"
description = "Set the water color to: (${Red},${Green},${Blue}), the transparency value is: ${Transparency}"
comment = "The color format is (red, green, blue). The transparency value 0 means invisible. The color value and the transparency channel value range from 0-255."
category = TC_ENVIRONMENT
[[.args]]
type = integer
default = "255"
min = 0
max = 255
[[.args]]
type = integer
default = "255"
min = 0
max = 255
[[.args]]
type = integer
default = "255"
min = 0
max = 255
[[.args]]
type = integer
default = "255"
min = 0
max = 255

[SetWaterBaseColorBJ]
title = "Set water color"
description = "Set the water color to (${Red}%, ${Green}%, ${Blue}%) and the transparency to ${Transparency}%"
comment = "The color format is (red, green, blue). 100% transparent water is invisible."
category = TC_ENVIRONMENT
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0
max = 100

[SetSkyModel]
title = "Set Sky"
description = "Set the sky model to ${Sky}"
comment = ""
category = TC_ENVIRONMENT
[[.args]]
type = skymodelstring
default = "SkyModelNone"

[SetTerrainFogEx]
title = "Set the fog [R]"
description = "Mist style: ${Style}, Z-axis start end: ${Z-Start}, Z-axis end end: ${Z-End}, Density: ${Density} Color: (${Red},${Green},${Blue})"
comment = "The color format is (red, green, blue). The value range is 0.00-1.00."
category = TC_ENVIRONMENT
[[.args]]
type = fogstyle
default = "FogStyleLinear"
[[.args]]
type = real
default = "1000"
min = 0
[[.args]]
type = real
default = "8000"
min = 0
[[.args]]
type = real
default = "0"
min = 0
[[.args]]
type = real
default = "1"
min = 0
max = 1
[[.args]]
type = real
default = "1"
min = 0
max = 1
[[.args]]
type = real
default = "1"
min = 0
max = 1

[SetTerrainFogExBJ]
title = "Set the fog"
description = "Mist style: ${Style}, Z-axis start end: ${Z-Start}, Z-axis end end: ${Z-End}, Density: ${Density} Color: (${Red}%, ${Green}%, ${Blue}%)"
comment = "The color format is (red, green, blue)."
category = TC_ENVIRONMENT
[[.args]]
type = fogstyle
default = "FogStyleLinear"
[[.args]]
type = real
default = "1000"
min = 0
[[.args]]
type = real
default = "8000"
min = 0
[[.args]]
type = real
default = "0"
min = 0
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "100"
min = 0
max = 100

[ResetTerrainFogBJ]
title = "Reset the fog"
description = "Reset the fog to default settings"
comment = ""
script_name = ResetTerrainFog
category = TC_ENVIRONMENT
[[.args]]
type = nothing

[SetBlightRect]
title = "Create/Delete Barren Ground (Rectangular Area) [R]"
description = "A barren surface for ${Player} in ${Region} ${Create/Remove}"
comment = ""
category = TC_ENVIRONMENT
[[.args]]
type = player
default = "Player00"
[[.args]]
type = rect
default = "bj_mapInitialPlayableArea"
[[.args]]
type = createremoveoption
default = "CreateRemoveCreate"

[SetBlightRectBJ]
title = "Create/Delete Barren Ground (Rectangular Area)"
description = "${Create/Remove} a barren surface for ${Player} in ${Region}"
comment = ""
category = TC_ENVIRONMENT
[[.args]]
type = createremoveoption
default = "CreateRemoveCreate"
[[.args]]
type = player
default = "Player00"
[[.args]]
type = rect
default = "GetPlayableMapRect"

[SetBlight]
title = "Create/Delete Barren Ground (Circle Range) (Specify Coordinates) [R]"
description = "${Create/Remove} a piece of barren ground within a circle whose center is (${X},${Y}) and radius is ${R} for ${Player}"
comment = ""
category = TC_ENVIRONMENT
[[.args]]
type = player
default = "Player00"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "512"
min = 0
[[.args]]
type = createremoveoption
default = "CreateRemoveCreate"

[SetBlightRadiusLocBJ]
title = "Create/Delete Barren Ground (Circle Range) (Specify Point)"
description = "${Create/Remove} give ${Player} a piece of barren ground to a circle whose center is ${specified point} and radius is ${Radius}"
comment = ""
category = TC_ENVIRONMENT
[[.args]]
type = createremoveoption
default = "CreateRemoveCreate"
[[.args]]
type = player
default = "Player00"
[[.args]]
type = location
[[.args]]
type = real
default = "512"
min = 0

[StartTimerBJ]
title = "Run Timer"
description = "Run ${timer}, mode: ${mode}, period: ${time} seconds"
comment = ""
category = TC_TIMER
[[.args]]
type = timer
[[.args]]
type = periodicoption
default = "PeriodicOptionOneTime"
[[.args]]
type = real
default = "30"
min = 0

[PauseTimer]
title = "Pause timer [R]"
description = "Pause ${timer}"
comment = ""
category = TC_TIMER
[[.args]]
type = timer
default = "bj_lastStartedTimer"

[TimerStart]
title = "Run Timer"
description = "Run ${timer}, period: ${time} seconds, mode: ${mode}, run function: ${function}"
comment = "Equivalent to TimerStart"
category = TC_YDHIDE
[[.args]]
type = timer
[[.args]]
type = real
default = "0.03"
[[.args]]
type = periodicoption
default = "PeriodicOptionOneTime"
min = 0
[[.args]]
type = scriptcode

[ResumeTimer]
title = "Restore Timer [R]"
description = "Restore ${timer}"
comment = ""
category = TC_TIMER
[[.args]]
type = timer
default = "bj_lastStartedTimer"

[PauseTimerBJ]
title = "Pause/resume timer"
description = "${Pause/Resume} ${Timer}"
comment = ""
category = TC_TIMER
[[.args]]
type = pauseresumeoption
default = "PauseResumePause"
[[.args]]
type = timer
default = "GetLastCreatedTimerBJ"

[DestroyTimer]
title = "Delete Timer [R]"
description = "Delete ${timer}"
comment = "In general, the timer does not need to be deleted. It is only provided for users with special needs."
category = TC_TIMER
[[.args]]
type = timer
default = "bj_lastStartedTimer"

[YDWETimerDestroyTimer]
title = "Timer System-Delete Timer [YDWE]"
description = "Delete ${timer} after ${time} seconds"
comment = "Start the central timer and delete the timer after the specified time."
category = TC_TIMER
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = timer
default = "GetLastCreatedTimerBJ"

[CreateTimerDialogBJ]
title = "Create timer window"
description = "Create a timer window for ${timer}, title: ${text}"
comment = "The timer window cannot be displayed when the map is initialized."
category = TC_TIMER
[[.args]]
type = timer
default = "GetLastCreatedTimerBJ"
[[.args]]
type = StringExt

[DestroyTimerDialogBJ]
title = "Delete timer window"
description = "Delete ${timer window}"
comment = ""
script_name = DestroyTimerDialog
category = TC_TIMER
[[.args]]
type = timerdialog
default = "GetLastCreatedTimerDialogBJ"

[TimerDialogDisplay]
title = "Show/hide timer window (all players) [R]"
description = "Set the state of ${timer window} to ${Show/Hide}"
comment = "The timer window cannot be displayed when the map is initialized."
category = TC_TIMER
[[.args]]
type = timerdialog
default = "bj_lastCreatedTimerDialog"
[[.args]]
type = showhideoption
default = "ShowHideHide"

[TimerDialogDisplayBJ]
title = "Show/hide timer window (all players)"
description = "${Show/Hide} ${timer window}"
comment = "The timer window cannot be displayed when the map is initialized."
category = TC_TIMER
[[.args]]
type = showhideoption
default = "ShowHideHide"
[[.args]]
type = timerdialog
default = "GetLastCreatedTimerDialogBJ"

[TimerDialogDisplayForPlayerBJ]
title = "Show/hide timer window (specify player)"
description = "${Show/Hide} ${timer window} applied to ${Player}"
comment = "The timer window cannot be displayed when the map is initialized."
category = TC_TIMER
[[.args]]
type = showhideoption
default = "ShowHideHide"
[[.args]]
type = timerdialog
default = "GetLastCreatedTimerDialogBJ"
[[.args]]
type = player
default = "Player00"

[TimerDialogSetTitleBJ]
title = "Change the title of the timer window"
description = "Change the title of ${Timer Window} to ${Title}"
comment = ""
script_name = TimerDialogSetTitle
category = TC_TIMER
[[.args]]
type = timerdialog
default = "GetLastCreatedTimerDialogBJ"
[[.args]]
type = StringExt

[TimerDialogSetTitleColor]
title = "Change the text color of the timer window [R]"
description = "Change the text color of ${Timer Window} to (${Red},${Green},${Blue}) and the transparency value: ${Transparency}"
comment = "The color format is (red, green, blue). Alpha channel value 0 is invisible. The color value and transparency value range from 0-255."
category = TC_TIMER
[[.args]]
type = timerdialog
default = "bj_lastCreatedTimerDialog"
[[.args]]
type = integer
default = "255"
min = 0
max = 255
[[.args]]
type = integer
default = "204"
min = 0
max = 255
[[.args]]
type = integer
default = "51"
min = 0
max = 255
[[.args]]
type = integer
default = "255"
min = 0
max = 255

[TimerDialogSetTitleColorBJ]
title = "Change the color of the timer window title"
description = "Change the title color of ${Timer Window} to (${Red}%, ${Green}%, ${Blue}%) Transparency to ${Transparency}%"
comment = "The color format is (red, green, blue). 100% transparency is invisible."
category = TC_TIMER
[[.args]]
type = timerdialog
default = "GetLastCreatedTimerDialogBJ"
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "80"
min = 0
max = 100
[[.args]]
type = real
default = "20"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0
max = 100

[TimerDialogSetTimeColor]
title = "Change the color of the timer window [R]"
description = "Change the timer color of ${Timer Window} to (${Red},${Green},${Blue}) and the transparency value is: ${Transparency}"
comment = "The color format is (red, green, blue). Alpha channel value 0 is invisible. The color value and transparency value range from 0-255."
category = TC_TIMER
[[.args]]
type = timerdialog
default = "bj_lastCreatedTimerDialog"
[[.args]]
type = integer
default = "255"
min = 0
max = 255
[[.args]]
type = integer
default = "204"
min = 0
max = 255
[[.args]]
type = integer
default = "51"
min = 0
max = 255
[[.args]]
type = integer
default = "255"
min = 0
max = 255

[TimerDialogSetTimeColorBJ]
title = "Change the color of the timer window"
description = "Change the timing color of ${Timer Window} to (${Red}%, ${Green}%, ${Blue}%) Transparency to ${Transparency}%"
comment = "The color format is (red, green, blue). 100% transparency is invisible."
category = TC_TIMER
[[.args]]
type = timerdialog
default = "GetLastCreatedTimerDialogBJ"
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "80"
min = 0
max = 100
[[.args]]
type = real
default = "20"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0
max = 100

[TimerDialogSetSpeed]
title = "Set timer window rate [R]"
description = "Set the time lapse speed of ${Timer Window} to ${Factor} times"
comment = "At the same time, the timer display time will also change accordingly. That is, if the 60-second timer is set to 2 times the speed, the display time will also change to 120 seconds."
category = TC_TIMER
[[.args]]
type = timerdialog
default = "bj_lastCreatedTimerDialog"
[[.args]]
type = real
default = "1"

[CameraSetupApplyForceDuration]
title = "Apply lens (all players) (limited time) [R]"
description = "Set the ${lens} application method to ${Apply Method} for ${Time} seconds"
comment = ""
category = TC_CAMERA
[[.args]]
type = camerasetup
[[.args]]
type = cameraapplyoption
default = "CameraApply"
[[.args]]
type = real
default = "0"
min = 0

[CameraSetupApplyForPlayer]
title = "Apply lens (specified player) (limited time)"
description = "${application method} ${lens} acts on ${Player} for ${Time} seconds"
comment = ""
category = TC_CAMERA
[[.args]]
type = cameraapplyoption
default = "CameraApply"
[[.args]]
type = camerasetup
[[.args]]
type = player
default = "Player00"
[[.args]]
type = real
default = "0"
min = 0

[PanCameraToTimed]
title = "Pan camera (all players) (limited time) [R]"
description = "Pan the player's camera to (${X},${Y}) for ${Time} seconds"
comment = ""
category = TC_CAMERA
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
min = 0

[PanCameraToTimedLocForPlayer]
title = "Pan camera (specified player) (limited time)"
description = "Pan the camera of ${Player} to ${point} for ${Time} seconds"
comment = ""
category = TC_CAMERA
[[.args]]
type = player
default = "Player00"
[[.args]]
type = location
[[.args]]
type = real
default = "0"
min = 0

[PanCameraToTimedWithZ]
title = "Specify height to pan the camera (all players) (limited time) [R]"
description = "Translate the player's camera to (${X},${Y}), the height of the camera from the ground is ${Z}, lasts ${Time} seconds"
comment = "The camera will not be lower than the ground height on the specified moving path."
category = TC_CAMERA
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
min = 0

[PanCameraToTimedLocWithZForPlayer]
title = "Specify the height to pan the camera (specified player) (limited time)"
description = "Translate the camera of ${Player} to the height of ${Point} from the ground to ${Z} for ${Time} seconds"
comment = "The camera will not be lower than the ground height on the specified moving path."
category = TC_CAMERA
[[.args]]
type = player
default = "Player00"
[[.args]]
type = location
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
min = 0

[SmartCameraPanBJ]
title = "Pan the camera when necessary (specify player) (limited time)"
description = "If necessary, pan the camera of ${Player} to ${specified point} for ${Time} seconds"
comment = "If the distance is too far, the camera will jump directly, if it is too close, no action will be taken."
category = TC_CAMERA
[[.args]]
type = player
default = "Player00"
[[.args]]
type = location
[[.args]]
type = real
default = "0.5"
min = 0

[SetCameraField]
title = "Set camera attributes (all players) (limited time) [R]"
description = "Set the player's camera attribute ${Field} to ${number} for ${Time} seconds"
comment = ""
category = TC_CAMERA
[[.args]]
type = camerafield
default = "CameraFieldTargetDistance"
[[.args]]
type = real
default = "CameraSetupGetField"
[[.args]]
type = real
default = "0"
min = 0

[SetCameraFieldForPlayer]
title = "Set camera attributes (specify player) (limited time)"
description = "Set the camera property ${Field} of ${Player} to ${Value} for ${Time} seconds"
comment = ""
category = TC_CAMERA
[[.args]]
type = player
default = "Player00"
[[.args]]
type = camerafield
default = "CameraFieldTargetDistance"
[[.args]]
type = real
default = "CameraSetupGetFieldSwap"
[[.args]]
type = real
default = "0"
min = 0

[SetCameraRotateMode]
title = "Rotate the camera at a specified point (all players) (radians) (limited time) [R]"
description = "With (${X},${Y}) as the center, the angle of rotation is ${Rad}, duration: ${Time} seconds"
comment = ""
category = TC_CAMERA
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = radian
default = "RealPi"
[[.args]]
type = real
default = "2"
min = 0

[RotateCameraAroundLocBJ]
title = "Rotate the camera at a specified point (specified player) (angle) (limited time)"
description = "The rotation angle is ${Angle} degrees, centered on ${point}, applied to ${Player}, lasting ${Time} seconds"
comment = ""
category = TC_CAMERA
[[.args]]
type = degree
default = "90"
[[.args]]
type = location
[[.args]]
type = player
default = "Player00"
[[.args]]
type = real
default = "2"
min = 0

[SetCameraTargetController]
title = "Lock the camera to the unit (all players) [R]"
description = "Lock the player's camera to ${unit}, offset coordinates (${X}, ${Y}), use ${Rotation Source}"
comment = "The offset coordinates (X, Y) take the sole of the unit as the origin coordinates."
category = TC_CAMERA
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = cameraorientationoption
default = "CameraOrientationNormal"

[SetCameraTargetControllerNoZForPlayer]
title = "Lock the camera to the unit (specify player)"
description = "Lock the camera of ${Player} to ${unit}, offset coordinates (${X}, ${Y}), use ${Rotation Source}"
comment = "The offset coordinates (X, Y) take the sole of the unit as the origin coordinates."
category = TC_CAMERA
[[.args]]
type = player
default = "Player00"
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = cameraorientationoption
default = "CameraOrientationNormal"

[SetCameraOrientController]
title = "Lock camera to unit (fixed camera source) (all players) [R]"
description = "Lock the player's camera to ${unit}, offset coordinates (${X}, ${Y})"
comment = "The offset coordinates (X, Y) take the sole of the unit as the origin coordinates."
category = TC_CAMERA
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"

[SetCameraOrientControllerForPlayerBJ]
title = "Lock camera to unit (fixed camera source) (specify player)"
description = "Lock the camera of ${Player} to ${unit}, offset coordinates (${X}, ${Y})"
comment = "The offset coordinates (X, Y) take the sole of the unit as the origin coordinates."
category = TC_CAMERA
[[.args]]
type = player
default = "Player00"
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"

[SetCinematicCamera]
title = "Play movie shots (all players) [R]"
description = "Play movie camera to all players: ${Camera File}"
comment = "There are some movie lenses in the'Objects\\CinematicCameras' directory, you can use the Mpq tool to inquire."
category = TC_CAMERA
[[.args]]
type = modelfile
default = "\"cinematic.mdl\""

[SetCinematicCameraForPlayer]
title = "Play movie shots (specified player)"
description = "Play movie camera for ${Player}: ${Camera File}"
comment = "There are some movie lenses in the'Objects\\CinematicCameras' directory, you can use the Mpq tool to inquire."
category = TC_CAMERA
[[.args]]
type = player
default = "Player00"
[[.args]]
type = modelfile
default = "\"cinematic.mdl\""

[StopCamera]
title = "Stop playing the camera (all players) [R]"
description = "Let all players stop playing the camera"
comment = "For example, this action can be used to interrupt the translation during the translation of the camera."
category = TC_CAMERA

[StopCameraForPlayerBJ]
title = "Stop playing the camera (specified player)"
description = "Let ${Player} stop playing the camera"
comment = "For example, this action can be used to interrupt the translation during the translation of the camera."
category = TC_CAMERA
[[.args]]
type = player
default = "Player00"

[ResetToGameCamera]
title = "Reset the game camera (all players) [R]"
description = "Reset the player's camera to the default state of the game for ${Time} seconds"
comment = ""
category = TC_CAMERA
[[.args]]
type = real
default = "0"
min = 0

[ResetToGameCameraForPlayer]
title = "Reset the game camera (specify player)"
description = "Reset the camera of ${Player} to the default state of the game for ${Time} seconds"
comment = ""
category = TC_CAMERA
[[.args]]
type = player
default = "Player00"
[[.args]]
type = real
default = "0"
min = 0

[CameraSetSmoothingFactorBJ]
title = "Set lens smoothing parameters"
description = "Set the lens smoothing parameter to ${Factor}"
comment = "The larger the value, the lens transition will be more smooth."
script_name = CameraSetSmoothingFactor
category = TC_CAMERA
[[.args]]
type = real
default = "1"
min = 0

[CameraResetSmoothingFactorBJ]
title = "Reset lens smoothing parameters"
description = "Reset lens smoothing parameters to game defaults"
comment = "In fact, set the lens smoothing parameter to 0."
category = TC_CAMERA
[[.args]]
type = nothing

[CameraSetSourceNoiseEx]
title = "Shake camera source (all players) [R]"
description = "Shaking the player's camera source, shaking amplitude: ${Magnitude} Velocity: ${Velocity} shaking method: ${Method}"
comment = "Use'Lens-Reset Lens' or set the shaking amplitude and rate to 0 to stop shaking."
category = TC_CAMERA
[[.args]]
type = real
default = "10"
[[.args]]
type = real
default = "0.1"
[[.args]]
type = vertonlyoption
default = "VertOnlyOff"

[CameraSetSourceNoiseForPlayer]
title = "Shake the camera source (specify player)"
description = "Shake the lens source of ${Player}, shaking amplitude: ${Magnitude} Velocity: ${Velocity}"
comment = "Use'lens-reset lens' or'lens-stop shaking lens' to stop shaking."
category = TC_CAMERA
[[.args]]
type = player
default = "Player00"
[[.args]]
type = real
default = "10"
[[.args]]
type = real
default = "0.1"

[CameraSetTargetNoiseEx]
title = "Shake the camera target (all players) [R]"
description = "Shaking the player's camera source, shaking amplitude: ${Magnitude} Velocity: ${Velocity} shaking method: ${Method}"
comment = "Use'Lens-Reset Lens' or set the shaking amplitude and rate to 0 to stop shaking."
category = TC_CAMERA
[[.args]]
type = real
default = "10"
[[.args]]
type = real
default = "0.1"
[[.args]]
type = vertonlyoption
default = "VertOnlyOff"

[CameraSetTargetNoiseForPlayer]
title = "Shake the camera target (specify player)"
description = "Shaking the lens target of ${Player}, shaking amplitude: ${Magnitude} Velocity: ${Velocity}"
comment = "Use'lens-reset lens' or'lens-stop shaking lens' to stop shaking."
category = TC_CAMERA
[[.args]]
type = player
default = "Player00"
[[.args]]
type = real
default = "10"
[[.args]]
type = real
default = "0.1"

[CameraSetEQNoiseForPlayer]
title = "Vibrate camera (specified player)"
description = "Vibrate the lens of ${Player}, vibration amplitude: ${Magnitude}"
comment = "Use'Lens-Reset Camera' or'Lens-Stop Shaking Camera' to stop shaking."
category = TC_CAMERA
[[.args]]
type = player
default = "Player00"
[[.args]]
type = real
default = "3"
min = 0

[CameraClearNoiseForPlayer]
title = "Stop shaking/vibrating the camera (specify player)"
description = "Stop ${Player} camera shake and vibration"
comment = "You can use local players to stop shaking/vibrating the camera for all players."
category = TC_CAMERA
[[.args]]
type = player
default = "Player00"

[SetCameraBounds]
title = "Set available camera area (all players) [R]"
description = "Set the player's available lens area: lower left corner (${X},${Y}), upper left corner (${X},${Y}), upper right corner (${X},${Y}) , Bottom right corner (${X},${Y})"
comment = "This action will also affect the display of the minimap. But the picture of the minimap cannot be changed. The actual available area is larger than the available lens area."
category = TC_CAMERA
[[.args]]
type = real
[[.args]]
type = real
[[.args]]
type = real
[[.args]]
type = real
[[.args]]
type = real
[[.args]]
type = real
[[.args]]
type = real
[[.args]]
type = real

[AdjustCameraBoundsForPlayerBJ]
title = "Expand/shrink available lens area (specify player)"
description = "${Extend/Shrink} ${Player} available lens area, West: ${West} ,East ${East} ,North: ${North} ,South: ${South}"
comment = "This action will also affect the display of the minimap. But the picture of the minimap cannot be changed. The actual available area is larger than the available lens area."
category = TC_CAMERA
[[.args]]
type = cameraboundsadjusttype
default = "CameraBoundsAdjustAdd"
[[.args]]
type = player
default = "Player00"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"

[SetCameraBoundsToRectForPlayerBJ]
title = "Set available lens area (specify player)"
description = "Set the available lens area of ${Player} to ${Area}"
comment = "This action will also affect the display of the minimap but the picture of the minimap cannot be changed. The actual available area is larger than the available lens area."
category = TC_CAMERA
[[.args]]
type = player
default = "Player00"
[[.args]]
type = rect

[SetCameraQuickPosition]
title = "Set the space bar turning point (all players) [R]"
description = "Set the player's space key turning point to (${X},${Y})"
comment = "The position where the camera turns when the space bar is pressed."
category = TC_CAMERA
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"

[SetCameraQuickPositionLocForPlayer]
title = "Set the turning point of the space bar (specify player)"
description = "Set the turning point of the space bar of ${Player} to ${specified point}"
comment = "The position where the camera turns when the space bar is pressed."
category = TC_CAMERA
[[.args]]
type = player
default = "Player00"
[[.args]]
type = location

[FogEnable]
title = "Enable/Disable Fog of War [R]"
description = "${Enable/Disable} Fog of War"
comment = ""
category = TC_VISIBILITY
[[.args]]
type = enableddisabledoption
default = "EnabledDisabledDisabled"

[FogEnableOn]
title = "Enable fog of war"
description = "Enable fog of war"
comment = ""
category = TC_VISIBILITY
[[.args]]
type = nothing

[FogEnableOff]
title = "Disable fog of war"
description = "Disable fog of war"
comment = ""
category = TC_VISIBILITY
[[.args]]
type = nothing

[FogMaskEnable]
title = "Enable/disable black shadow [R]"
description = "${enable/disable} black shadow"
comment = ""
category = TC_VISIBILITY
[[.args]]
type = enableddisabledoption
default = "EnabledDisabledDisabled"

[FogMaskEnableOn]
title = "Enable black shadows"
description = "Enable black shadows"
comment = ""
category = TC_VISIBILITY
[[.args]]
type = nothing

[FogMaskEnableOff]
title = "Disable black shadows"
description = "Disable black shadows"
comment = ""
category = TC_VISIBILITY
[[.args]]
type = nothing

[CreateFogModifierRectBJ]
title = "Create a visibility corrector (rectangular area)"
description = "Create a visibility modifier with state ${Enabled/Disabled} for ${Player} and set ${Visibility State} in ${Region}"
comment = "A visibility modifier will be created."
category = TC_VISIBILITY
[[.args]]
type = enableddisabledoption
default = "EnabledDisabledEnabled"
[[.args]]
type = player
default = "Player00"
[[.args]]
type = fogstate
default = "FogStateVisible"
[[.args]]
type = rect
default = "GetPlayableMapRect"

[CreateFogModifierRadiusLocBJ]
title = "Create visibility modifier (circle range)"
description = "Create a visibility modifier with state ${Enabled/Disabled} for ${Player}, set ${Visibility State} at the center of the circle to ${specify point} and the radius of the circle to ${Radius}"
comment = "A visibility modifier will be created."
category = TC_VISIBILITY
[[.args]]
type = enableddisabledoption
default = "EnabledDisabledEnabled"
[[.args]]
type = player
default = "Player00"
[[.args]]
type = fogstate
default = "FogStateVisible"
[[.args]]
type = location
[[.args]]
type = real
default = "512"
min = 0

[FogModifierStart]
title = "Enable visibility modifier"
description = "Enable ${Visibility Modifier}"
comment = ""
category = TC_VISIBILITY
[[.args]]
type = fogmodifier
default = "GetLastCreatedFogModifier"

[FogModifierStop]
title = "Disable visibility modifier"
description = "Disable ${Visibility Modifier}"
comment = ""
category = TC_VISIBILITY
[[.args]]
type = fogmodifier
default = "GetLastCreatedFogModifier"

[DestroyFogModifier]
title = "Remove visibility modifier"
description = "Remove ${Visibility Modifier}"
comment = ""
category = TC_VISIBILITY
[[.args]]
type = fogmodifier
default = "GetLastCreatedFogModifier"

[SetFogStateRect]
title = "Set map fog (rectangular area) [R]"
description = "Set ${FogStateVisible} for ${player} in ${rectangular area} (for allies ${share} vision)"
comment = ""
category = TC_VISIBILITY
[[.args]]
type = player
default = "Player00"
[[.args]]
type = fogstate
default = "FogStateVisible"
[[.args]]
type = rect
[[.args]]
type = sharevisionoption
default = "ShareVisionShare"

[SetFogStateRadius]
title = "Set map fog (circle range) [R]"
description = "Set ${FogStateVisible} for ${player} at the center of the circle (${X}, ${Y}) and the radius of ${number}, (to allies ${share} vision)"
comment = ""
category = TC_VISIBILITY
[[.args]]
type = player
default = "Player00"
[[.args]]
type = fogstate
default = "FogStateVisible"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "512"
[[.args]]
type = sharevisionoption
default = "ShareVisionShare"

[CreateDestructableLoc]
title = "Create Destructible"
description = "Create ${destructible object type} at ${specified point}, facing angle: ${Direction} Size scaling: ${Scale} Style: ${Variation}"
comment = "The facing angle adopts the angle system, 0 degrees is the true east direction, and 90 degrees is the true north direction. Use the'last created destructible' to get the created object."
category = TC_DESTRUCT
[[.args]]
type = destructablecode
default = "LTlt"
[[.args]]
type = location
[[.args]]
type = degree
default = "GetRandomDirectionDeg"
[[.args]]
type = real
default = "1"
min = 0
[[.args]]
type = integer
default = "0"
min = 0

[CreateDeadDestructableLocBJ]
title = "Create Destructible (Death)"
description = "Create dead ${destructible object type} at ${specified point}, facing angle: ${Direction} Size scaling: ${Scale} Style: ${Variation}"
comment = "The facing angle adopts the angle system, 0 degrees is the true east direction, and 90 degrees is the true north direction. Use the'last created destructible' to get the created object."
category = TC_DESTRUCT
[[.args]]
type = destructablecode
default = "LTlt"
[[.args]]
type = location
[[.args]]
type = degree
default = "GetRandomDirectionDeg"
[[.args]]
type = real
default = "1"
min = 0
[[.args]]
type = integer
default = "0"
min = 0

[KillDestructable]
title = "Kill"
description = "Kill ${destructible}"
comment = ""
category = TC_DESTRUCT
[[.args]]
type = destructable
default = "GetLastCreatedDestructable"

[RemoveDestructable]
title = "Delete"
description = "Delete ${destructible}"
comment = ""
category = TC_DESTRUCT
[[.args]]
type = destructable
default = "GetLastCreatedDestructable"

[DestructableRestoreLife]
title = "Resurrection"
description = "Resurrect ${Destructible}, set the life value to ${Value} and ${Show/Hide} to grow animation"
comment = ""
category = TC_DESTRUCT
[[.args]]
type = destructable
default = "GetLastCreatedDestructable"
[[.args]]
type = real
default = "GetDestructableMaxLife"
[[.args]]
type = showhideoption
default = "ShowHideShow"

[ShowDestructable]
title = "Show/Hide [R]"
description = "Set the state of ${destructible} to ${Show/Hide}"
comment = "Hidden destructible objects are not displayed but they still affect traffic and sight."
category = TC_DESTRUCT
[[.args]]
type = destructable
default = "bj_lastCreatedDestructable"
[[.args]]
type = showhideoption
default = "ShowHideHide"

[ShowDestructableBJ]
title = "Show/hide"
description = "${Show/Hide} ${destructible}"
comment = "Hidden destructible objects are not displayed, but they still affect traffic and sight."
category = TC_DESTRUCT
[[.args]]
type = showhideoption
default = "ShowHideHide"
[[.args]]
type = destructable
default = "GetLastCreatedDestructable"

[SetDestructableLifePercentBJ]
title = "Set health value (percentage)"
description = "Set the health of ${destructible} to ${Percent}%"
comment = ""
category = TC_DESTRUCT
[[.args]]
type = destructable
default = "GetLastCreatedDestructable"
[[.args]]
type = real
default = "100"
min = 0
max = 100

[SetDestructableLife]
title = "Set life value (specified value)"
description = "Set the life value of ${destructible} to ${Value}"
comment = ""
category = TC_DESTRUCT
[[.args]]
type = destructable
default = "GetLastCreatedDestructable"
[[.args]]
type = real
default = "GetDestructableMaxLife"
min = 0

[SetDestructableMaxLifeBJ]
title = "Set maximum health value"
description = "Set the maximum health value of ${destructible} to ${Value}"
comment = ""
script_name = SetDestructableMaxLife
category = TC_DESTRUCT
[[.args]]
type = destructable
default = "GetLastCreatedDestructable"
[[.args]]
type = real
default = "100"
min = 0

[ModifyGateBJ]
title = "Open/close/destroy gate"
description = "${Open/Close/Destroy} ${gate}"
comment = ""
category = TC_DESTRUCT
[[.args]]
type = gateoperation
default = "GateOperationOpen"
[[.args]]
type = destructable

[ChangeElevatorWalls]
title = "Open/close elevator wall"
description = "${Open/Close} ${Walls} to ${elevator}"
comment = ""
category = TC_DESTRUCT
[[.args]]
type = elevatorwallop
default = "ElevatorWallOpClose"
[[.args]]
type = elevatorwalltype
default = "ElevatorWallTypeAll"
[[.args]]
type = destructable

[ChangeElevatorHeight]
title = "Set the height of the elevator"
description = "Set the height of ${elevator} to ${Height}"
comment = ""
category = TC_DESTRUCT
[[.args]]
type = destructable
[[.args]]
type = integer
default = "1"
min = 1
max = 3

[SetDestructableInvulnerableBJ]
title = "Set invincible/attackable"
description = "Set ${destructible} ${Invulnerable/Vulnerable}"
comment = ""
script_name = SetDestructableInvulnerable
category = TC_DESTRUCT
[[.args]]
type = destructable
default = "GetLastCreatedDestructable"
[[.args]]
type = invulnerableoption
default = "InvulnerabilityInvulnerable"

[SetDestructableOccluderHeight]
title = "Set occlusion height"
description = "Set the occlusion height of ${destructible} to ${Height}"
comment = ""
category = TC_DESTRUCT
[[.args]]
type = destructable
[[.args]]
type = real
default = "128"

[EnumDestructablesInRectAllMultiple]
title = "Select destructible objects in the rectangular area to perform actions (multiple actions)"
description = "Select all destructible objects in ${rectangular area} to act"
comment = "In the group action, you can use the'selected destructible' to obtain the corresponding destructible. Each destructible will run an action (including death and hidden). Waiting cannot be run in a group action."
script_name = EnumDestructablesInRectAll
category = TC_DESTRUCT
[[.args]]
type = rect
default = "GetPlayableMapRect"

[EnumDestructablesInCircleBJMultiple]
title = "Select the destructible objects within the specified point to perform actions (multiple actions)"
description = "Select all destructible objects in the ${Radius} range centered on ${specified point} to perform actions (multiple actions)"
comment = "In the group action, you can use the'selected destructible' to obtain the corresponding destructible. Each destructible will run an action (including death and hidden). Waiting cannot be run in a group action."
script_name = EnumDestructablesInCircleBJ
category = TC_DESTRUCT
[[.args]]
type = real
default = "256"
[[.args]]
type = location

[EnumDestructablesInRectAll]
title = "Select the destructible objects in the rectangular area to perform actions"
description = "Select all destructible objects in ${rectangular area} ${do actions}"
comment = "In the group action, you can use the'selected destructible' to obtain the corresponding destructible. Each destructible will run an action (including death and hidden). Waiting cannot be run in a group action."
category = TC_DESTRUCT
[[.args]]
type = rect
default = "GetPlayableMapRect"
[[.args]]
type = code
default = "DoNothing"

[EnumDestructablesInCircleBJ]
title = "Select the destructible objects within the specified point to perform actions"
description = "Select all destructible objects in the area of ${Radius} with ${specified point} as the center ${do an action}"
comment = "In the group action, you can use the'selected destructible' to obtain the corresponding destructible. Each destructible will run an action (including death and hidden). Waiting cannot be run in a group action."
category = TC_DESTRUCT
[[.args]]
type = real
default = "256"
[[.args]]
type = location
[[.args]]
type = code
default = "DoNothing"

[CreateLeaderboardBJ]
title = "Create"
description = "Create a leaderboard for ${player group}, use the title: ${text}"
comment = "The leaderboard cannot be displayed when the map is initialized. If the title is empty, the title bar will not be displayed."
category = TC_LEADERBOARD
[[.args]]
type = force
default = "GetPlayersAll"
[[.args]]
type = StringExt

[DestroyLeaderboardBJ]
title = "Delete"
description = "Delete ${Leaderboard}"
comment = ""
script_name = DestroyLeaderboard
category = TC_LEADERBOARD
[[.args]]
type = leaderboard
default = "GetLastCreatedLeaderboard"

[LeaderboardClear]
title = "Empty [R]"
description = "Empty ${ranking list}"
comment = "Empty all content in the leaderboard."
category = TC_LEADERBOARD
[[.args]]
type = leaderboard
default = "bj_lastCreatedLeaderboard"

[LeaderboardSortItemsBJ]
title = "Sort"
description = "Arrange ${ranking list} by ${Field} using ${Ascending/Descending}"
comment = ""
category = TC_LEADERBOARD
[[.args]]
type = leaderboard
default = "GetLastCreatedLeaderboard"
[[.args]]
type = leaderboardsortoption
default = "LeaderboardSortByValue"
[[.args]]
type = ascendingoption
default = "AscendingOptionDescending"

[LeaderboardDisplay]
title = "Show/Hide [R]"
description = "Set ${ranking board} ${Show/Hide}"
comment = "The leaderboard cannot be displayed when the map is initialized."
category = TC_LEADERBOARD
[[.args]]
type = leaderboard
default = "bj_lastCreatedLeaderboard"
[[.args]]
type = showhideoption
default = "ShowHideHide"

[LeaderboardDisplayBJ]
title = "Show/Hide"
description = "${Show/Hide} ${ranking list}"
comment = "The leaderboard cannot be displayed when the map is initialized."
category = TC_LEADERBOARD
[[.args]]
type = showhideoption
default = "ShowHideHide"
[[.args]]
type = leaderboard
default = "GetLastCreatedLeaderboard"

[PlayerSetLeaderboard]
title = "Set the leaderboard used by players [R]"
description = "Set ${Player} to use ${ranking board}"
comment = "Each player can only display one leaderboard."
category = TC_LEADERBOARD
[[.args]]
type = player
default = "Player00"
[[.args]]
type = leaderboard
default = "bj_lastCreatedLeaderboard"

[LeaderboardSetLabelBJ]
title = "Set title"
description = "Set the title of ${Leaderboard} to ${text}"
comment = ""
script_name = LeaderboardSetLabel
category = TC_LEADERBOARD
[[.args]]
type = leaderboard
default = "GetLastCreatedLeaderboard"
[[.args]]
type = StringExt

[LeaderboardSetLabelColor]
title = "Set text color [R]"
description = "Set the text color of ${Leaderboard} to (${Red},${Green},${Blue}) Alpha channel value: ${Transparency}"
comment = "The color format is (red, green, blue). Alpha channel value 0 is invisible. The range of color value and alpha channel value is 0-255."
category = TC_LEADERBOARD
[[.args]]
type = leaderboard
default = "bj_lastCreatedLeaderboard"
[[.args]]
type = integer
default = "255"
min = 0
max = 255
[[.args]]
type = integer
default = "204"
min = 0
max = 255
[[.args]]
type = integer
default = "51"
min = 0
max = 255
[[.args]]
type = integer
default = "255"
min = 0
max = 255

[LeaderboardSetLabelColorBJ]
title = "Set text color"
description = "Set the text color of ${Leaderboard} to (${Red}%, ${Green}%, ${Blue}%) and the transparency to ${Transparency}%"
comment = "The color format is (red, green, blue). 100% transparency is invisible."
category = TC_LEADERBOARD
[[.args]]
type = leaderboard
default = "GetLastCreatedLeaderboard"
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "80"
min = 0
max = 100
[[.args]]
type = real
default = "20"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0
max = 100

[LeaderboardSetValueColor]
title = "Set numeric color [R]"
description = "Set the numeric color of ${Leaderboard} to (${Red},${Green},${Blue}) Alpha channel value: ${Transparency}"
comment = "The color format is (red, green, blue). Alpha channel value 0 is invisible. The range of color value and alpha channel value is 0-255."
category = TC_LEADERBOARD
[[.args]]
type = leaderboard
default = "bj_lastCreatedLeaderboard"
[[.args]]
type = integer
default = "255"
min = 0
max = 255
[[.args]]
type = integer
default = "204"
min = 0
max = 255
[[.args]]
type = integer
default = "51"
min = 0
max = 255
[[.args]]
type = integer
default = "255"
min = 0
max = 255

[LeaderboardSetValueColorBJ]
title = "Set numeric color"
description = "Set the numeric color of ${Leaderboard} to (${Red}%, ${Green}%, ${Blue}%) and the transparency to ${Transparency}%"
comment = "The color format is (red, green, blue). 100% transparency is invisible."
category = TC_LEADERBOARD
[[.args]]
type = leaderboard
default = "GetLastCreatedLeaderboard"
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "80"
min = 0
max = 100
[[.args]]
type = real
default = "20"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0
max = 100

[LeaderboardSetStyleBJ]
title = "Set display style"
description = "Set the display style of ${Leaderboard}: ${Show/Hide} title, ${Show/Hide} text, ${Show/Hide} score, ${Show/Hide} icon"
comment = ""
script_name = LeaderboardSetStyle
category = TC_LEADERBOARD
[[.args]]
type = leaderboard
default = "GetLastCreatedLeaderboard"
[[.args]]
type = showhideoption
default = "ShowHideShow"
[[.args]]
type = showhideoption
default = "ShowHideShow"
[[.args]]
type = showhideoption
default = "ShowHideShow"
[[.args]]
type = showhideoption
default = "ShowHideShow"

[LeaderboardAddItemBJ]
title = "Add player"
description = "Add ${Player} to ${Leaderboard}, use name: ${text} to set score: ${Value}"
comment = ""
category = TC_LEADERBOARD
[[.args]]
type = player
default = "Player00"
[[.args]]
type = leaderboard
default = "GetLastCreatedLeaderboard"
[[.args]]
type = StringExt
[[.args]]
type = integer
default = "0"

[LeaderboardRemovePlayerItemBJ]
title = "Remove player"
description = "Remove ${Player} from ${Leaderboard}"
comment = ""
category = TC_LEADERBOARD
[[.args]]
type = player
default = "Player00"
[[.args]]
type = leaderboard
default = "GetLastCreatedLeaderboard"

[LeaderboardSetPlayerItemLabelBJ]
title = "Change player name"
description = "Set the name of ${Player} in ${Leaderboard} to ${text}"
comment = ""
category = TC_LEADERBOARD
[[.args]]
type = player
default = "Player00"
[[.args]]
type = leaderboard
default = "GetLastCreatedLeaderboard"
[[.args]]
type = StringExt

[LeaderboardSetPlayerItemLabelColorBJ]
title = "Set player name color"
description = "Set the name color of ${Player} in ${Leaderboard} to (${Red}%, ${Green}%, ${Blue}%) and the transparency to ${Transparency}%"
comment = "The color format is (red, green, blue). 100% transparency is invisible."
category = TC_LEADERBOARD
[[.args]]
type = player
default = "Player00"
[[.args]]
type = leaderboard
default = "GetLastCreatedLeaderboard"
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "80"
min = 0
max = 100
[[.args]]
type = real
default = "20"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0
max = 100

[LeaderboardSetPlayerItemValueBJ]
title = "Change player score"
description = "Set the score of ${Player} in ${Leaderboard} as: ${Value}"
comment = ""
category = TC_LEADERBOARD
[[.args]]
type = player
default = "Player00"
[[.args]]
type = leaderboard
default = "GetLastCreatedLeaderboard"
[[.args]]
type = integer
default = "0"

[LeaderboardSetPlayerItemValueColorBJ]
title = "Change player score color"
description = "Set the score color of ${Player} in ${Leaderboard} to (${Red}%, ${Green}%, ${Blue}%) and the transparency to ${Transparency}%"
comment = "The color format is (red, green, blue). 100% transparency is invisible."
category = TC_LEADERBOARD
[[.args]]
type = player
default = "Player00"
[[.args]]
type = leaderboard
default = "GetLastCreatedLeaderboard"
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "80"
min = 0
max = 100
[[.args]]
type = real
default = "20"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0
max = 100

[LeaderboardSetPlayerItemStyleBJ]
title = "Set the player display style"
description = "Set the display style of ${Player} in ${Leaderboard}: ${Show/Hide} name, ${Show/Hide} score, ${Show/Hide} icon"
comment = ""
category = TC_LEADERBOARD
[[.args]]
type = player
default = "Player00"
[[.args]]
type = leaderboard
default = "GetLastCreatedLeaderboard"
[[.args]]
type = showhideoption
default = "ShowHideShow"
[[.args]]
type = showhideoption
default = "ShowHideShow"
[[.args]]
type = showhideoption
default = "ShowHideShow"

[CreateTextTagLocBJ]
title = "Create floating text (specify location)"
description = "Create floating text: ${text} at ${specified point}, Z axis height: ${Z}, font size: ${Size}, color value: (${Red}%, ${Green}% , ${Blue}%), transparency: ${Transparency}%"
comment = "The color format is (red, green, blue). 100% transparency is invisible."
category = TC_TEXTTAG
[[.args]]
type = StringExt
[[.args]]
type = location
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "10"
min = 1
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0
max = 100

[CreateTextTagUnitBJ]
title = "Create floating text (specify unit)"
description = "Create floating text: ${text} on top of ${unit}, Z axis offset ${Z}, font size: ${Size}, color value: (${Red}%, ${Green} %, ${Blue}%) ,transparency: ${Transparency}%"
comment = "The floating text created in this way will not move with the unit. The color format is (red, green, blue). The transparency of 100% is invisible."
category = TC_TEXTTAG
[[.args]]
type = StringExt
[[.args]]
type = unit
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "10"
min = 1
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0
max = 100

[DestroyTextTagBJ]
title = "Delete"
description = "Delete ${Floating Text}"
comment = "The game allows up to 100 floating texts, so please delete floating texts that are no longer used on time."
script_name = DestroyTextTag
category = TC_TEXTTAG
[[.args]]
type = texttag
default = "GetLastCreatedTextTag"

[YDWETimerDestroyTextTag]
title = "Timer system-delete floating text [YDWE]"
description = "Delete ${floating text} after ${time} seconds"
comment = "Start the central timer and delete the floating text after the specified time."
category = TC_TEXTTAG
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = texttag
default = "GetLastCreatedTextTag"

[SetTextTagVisibility]
title = "Show/Hide (all players) [R]"
description = "For all players ${Show/Hide} ${Floating Text}"
comment = ""
category = TC_TEXTTAG
[[.args]]
type = texttag
default = "bj_lastCreatedTextTag"
[[.args]]
type = showhideoption
default = "ShowHideShow"

[ShowTextTagForceBJ]
title = "Show/Hide"
description = "${Show/Hide} ${Floating Text} vs. ${player group}"
comment = ""
category = TC_TEXTTAG
[[.args]]
type = showhideoption
default = "ShowHideShow"
[[.args]]
type = texttag
default = "GetLastCreatedTextTag"
[[.args]]
type = force
default = "GetPlayersAll"

[SetTextTagVelocity]
title = "Set Rate [R]"
description = "Set X-axis speed of ${Floating Text}: ${XSpeed}, Y-axis speed: ${YSpeed}"
comment = "Set the speed of the floating text after the movement, the floating text will first return to the origin and then move to the set angle. Right here, 1 is approximately equal to the speed of 1800 in the game."
category = TC_TEXTTAG
[[.args]]
type = texttag
default = "bj_lastCreatedTextTag"
[[.args]]
type = real
default = "64"
[[.args]]
type = real
default = "90"

[SetTextTagVelocityBJ]
title = "Set rate"
description = "Set the movement speed of ${Floating Text} to ${Speed} and the direction to ${Angle} degrees"
comment = "Set the speed of the floating text after the movement, the floating text will first return to the origin and then move to the set angle. The direction adopts the angle system, 0 degrees is the true east direction, and 90 degrees is the true north direction."
category = TC_TEXTTAG
[[.args]]
type = texttag
default = "GetLastCreatedTextTag"
[[.args]]
type = real
default = "64"
[[.args]]
type = degree
default = "90"

[SetTextTagColor]
title = "Change color [R]"
description = "Change the color of ${Floating Text} to (${Red},${Green},${Blue}) and the transparency value to ${Transparency}"
comment = "The color format is (red, green, blue). The transparency value 0 means invisible. The color value and transparency value range from 0-255."
category = TC_TEXTTAG
[[.args]]
type = texttag
default = "bj_lastCreatedTextTag"
[[.args]]
type = integer
default = "255"
min = 0
max = 255
[[.args]]
type = integer
default = "255"
min = 0
max = 255
[[.args]]
type = integer
default = "255"
min = 0
max = 255
[[.args]]
type = integer
default = "255"
min = 0
max = 255

[SetTextTagColorBJ]
title = "Change color"
description = "Change the color of ${Floating Text} to (${Red}%, ${Green}%, ${Blue}%) and the transparency to ${Transparency}%"
comment = "The color format is (red, green, blue). 100% transparency is invisible."
category = TC_TEXTTAG
[[.args]]
type = texttag
default = "GetLastCreatedTextTag"
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0
max = 100

[SetTextTagPos]
title = "Change position (coordinates) [R]"
description = "Change the position of ${Floating Text} to (${X},${Y}) and the height of the Z axis to ${Z}"
comment = ""
category = TC_TEXTTAG
[[.args]]
type = texttag
default = "bj_lastCreatedTextTag"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"

[SetTextTagPosBJ]
title = "Change position (point)"
description = "Change the position of ${Floating Text} to ${specified point} and the height of the Z axis to ${Z}"
comment = ""
category = TC_TEXTTAG
[[.args]]
type = texttag
default = "GetLastCreatedTextTag"
[[.args]]
type = location
[[.args]]
type = real
default = "0"

[SetTextTagPosUnitBJ]
title = "Change position (unit)"
description = "Change the position of ${Floating Text} to ${unit} at the top of the Z axis offset ${Z}"
comment = ""
script_name = SetTextTagPosUnit
category = TC_TEXTTAG
[[.args]]
type = texttag
default = "GetLastCreatedTextTag"
[[.args]]
type = unit
[[.args]]
type = real
default = "0"

[SetTextTagText]
title = "Change text content [R]"
description = "Change the content of ${Floating Text} to ${text}, font size: ${Size}"
comment = "Using the original font size unit. The font size cannot exceed 0.5."
category = TC_TEXTTAG
[[.args]]
type = texttag
default = "bj_lastCreatedTextTag"
[[.args]]
type = StringExt
[[.args]]
type = real
default = "0.23"

[SetTextTagTextBJ]
title = "Change text content"
description = "Change the content of ${Floating Text} to ${text}, font size: ${Size}"
comment = ""
category = TC_TEXTTAG
[[.args]]
type = texttag
default = "GetLastCreatedTextTag"
[[.args]]
type = StringExt
[[.args]]
type = real
default = "10"

[SetTextTagSuspendedBJ]
title = "Pause/Resume"
description = "Set ${Floating Text}: ${Enable/Disable} suspended state"
comment = "Pause the movement and life timing of floating text."
script_name = SetTextTagSuspended
category = TC_TEXTTAG
[[.args]]
type = texttag
default = "GetLastCreatedTextTag"
[[.args]]
type = enabledisableoption
default = "EnableDisableEnable"

[SetTextTagPermanentBJ]
title = "Set permanent display"
description = "Set ${Floating Text}: ${Enable/Disable} to display permanently."
comment = ""
script_name = SetTextTagPermanent
category = TC_TEXTTAG
[[.args]]
type = texttag
default = "GetLastCreatedTextTag"
[[.args]]
type = enabledisableoption
default = "EnableDisableEnable"

[SetTextTagLifespanBJ]
title = "Set display time"
description = "Set the display time of ${Floating Text} to ${Time} seconds"
comment = "This action does not affect the permanent floating text. When the display time expires, the system will automatically clear the floating text."
script_name = SetTextTagLifespan
category = TC_TEXTTAG
[[.args]]
type = texttag
default = "GetLastCreatedTextTag"
[[.args]]
type = real
default = "5"

[SetTextTagFadepointBJ]
title = "Set elapsed time point"
description = "Set the elapsed time of ${Floating Text} to ${Time} seconds"
comment = "This action does not affect the permanent floating text. When the floating text has reached this value, it will fade away."
script_name = SetTextTagFadepoint
category = TC_TEXTTAG
[[.args]]
type = texttag
default = "GetLastCreatedTextTag"
[[.args]]
type = real
default = "4"

[SetTextTagAgeBJ]
title = "Set Existing Time"
description = "Set the elapsed time of ${Floating Text} to ${Time} seconds"
comment = "This action does not affect the permanent floating text."
script_name = SetTextTagAge
category = TC_TEXTTAG
[[.args]]
type = texttag
default = "GetLastCreatedTextTag"
[[.args]]
type = real
default = "0"

[RegionAddRect]
title = "Add area [R]"
description = "Add ${rectangular area} to ${irregular area}"
comment = "A region is a collection of game regions in the game, which can include regions and points."
category = TC_REGION
[[.args]]
type = region
[[.args]]
type = rect

[RegionClearRect]
title = "Remove area [R]"
description = "Remove ${rectangular area} in ${irregular area}"
comment = ""
category = TC_REGION
[[.args]]
type = region
[[.args]]
type = rect

[RegionAddCell]
title = "Add unit point (specified coordinates) [R]"
description = "Add unit points to ${irregular area}: (${X},${Y})"
comment = "The unit point size is 32x32."
category = TC_REGION
[[.args]]
type = region
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"

[RegionAddCellAtLoc]
title = "Add unit point (specified point) [R]"
description = "Add unit points to ${irregular area}: ${dot}"
comment = "The unit point size is 32x32."
category = TC_REGION
[[.args]]
type = region
[[.args]]
type = location

[RegionClearCell]
title = "Remove unit point (specified coordinates) [R]"
description = "Remove unit points in ${irregular area}: (${X},${Y})"
comment = "The unit point size is 32x32."
category = TC_REGION
[[.args]]
type = region
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"

[RegionClearCellAtLoc]
title = "Remove unit point (specified point) [R]"
description = "Remove unit points in ${irregular area}: ${dot}"
comment = "The unit point size is 32x32."
category = TC_REGION
[[.args]]
type = region
[[.args]]
type = location

[RemoveRegion]
title = "Delete Irregular Area [R]"
description = "Delete ${irregular area}"
comment = ""
category = TC_REGION
[[.args]]
type = region

[SetRect]
title = "Set rectangular area (specify coordinates) [R]"
description = "Reset ${rectangular area}, the coordinates of the lower left corner is (${X},${Y}), and the coordinates of the upper right corner are (${X},${Y})"
comment = "The area must be a variable. Reset the size and position of the rectangular area."
category = TC_RECT
[[.args]]
type = rect
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"

[SetRectFromLoc]
title = "Set rectangular area (specified point) [R]"
description = "Reset ${rectangular area}, the lower left corner is ${dot} and the upper right corner is ${dot}"
comment = "The area must be a variable. Reset the size and position of the rectangular area."
category = TC_RECT
[[.args]]
type = rect
[[.args]]
type = location
[[.args]]
type = location

[MoveRectTo]
title = "Move the rectangular area (specify coordinates) [R]"
description = "Move ${rectangular area} to (${X},${Y})"
comment = "The area must be a variable. The target point will be the new center point of the area."
category = TC_RECT
[[.args]]
type = rect
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"

[MoveRectToLoc]
title = "Move the rectangular area (specified point)"
description = "Move ${rectangular area} to ${target point}"
comment = "The area must be a variable. The target point will be the new center point of the area."
category = TC_RECT
[[.args]]
type = rect
[[.args]]
type = location

[RemoveRect]
title = "Delete rectangular area [R]"
description = "Delete ${rectangular area}"
comment = ""
category = TC_RECT
[[.args]]
type = rect

[QuestMessageBJ]
title = "Send task information"
description = "Send ${Quest Message Type} to ${player group}: ${text}"
comment = ""
category = TC_QUEST
[[.args]]
type = force
default = "GetPlayersAll"
[[.args]]
type = questmessagetype
default = "QuestMessageTypeUpdated"
[[.args]]
type = StringExt

[CreateQuestBJ]
title = "Create Task"
description = "Create a ${Quest Type} task, title: ${text} Task description: ${text} Task icon: ${Icon Path}"
comment = ""
category = TC_QUEST
[[.args]]
type = questtypeoption
default = "QuestTypeReqDiscovered"
[[.args]]
type = StringExt
max = 24
[[.args]]
type = StringExt
[[.args]]
type = imagefile
default = "\"ReplaceableTextures\\CommandButtons\\BTNAmbush.blp\""

[DestroyQuestBJ]
title = "Delete task"
description = "Delete ${Quest}"
comment = "The deleted task will no longer be displayed in the task list."
script_name = DestroyQuest
category = TC_QUEST
[[.args]]
type = quest
default = "GetLastCreatedQuestBJ"

[QuestSetEnabled]
title = "Enable/Disable Task [R]"
description = "Set ${Quest} ${Enable/Disable}"
comment = "Disabled tasks will not be displayed in the task list."
category = TC_QUEST
[[.args]]
type = quest
default = "bj_lastCreatedQuest"
[[.args]]
type = enabledisableoption
default = "EnableDisableDisable"

[QuestSetEnabledBJ]
title = "Enable/Disable Task"
description = "${Enable/Disable} ${Quest}"
comment = "Disabled tasks will not be displayed in the task list."
category = TC_QUEST
[[.args]]
type = enabledisableoption
default = "EnableDisableDisable"
[[.args]]
type = quest
default = "GetLastCreatedQuestBJ"

[QuestSetCompletedBJ]
title = "Setup task completed"
description = "Settings ${Quest} ${Completed/Incomplete}"
comment = ""
script_name = QuestSetCompleted
category = TC_QUEST
[[.args]]
type = quest
default = "GetLastCreatedQuestBJ"
[[.args]]
type = completionoption
default = "CompletionOptionCompleted"

[QuestSetFailedBJ]
title = "Failed to set task"
description = "Settings ${Quest} ${Failed/Not Failed}"
comment = ""
script_name = QuestSetFailed
category = TC_QUEST
[[.args]]
type = quest
default = "GetLastCreatedQuestBJ"
[[.args]]
type = failureoption
default = "FailureOptionFailed"

[QuestSetDiscoveredBJ]
title = "Setup task was found"
description = "Settings ${Quest} ${Discovered/Undiscovered}"
comment = ""
script_name = QuestSetDiscovered
category = TC_QUEST
[[.args]]
type = quest
default = "GetLastCreatedQuestBJ"
[[.args]]
type = discoveredoption
default = "DiscoveredOptionDiscovered"

[QuestSetTitleBJ]
title = "Set task title"
description = "Set the title of ${Quest} to ${text}"
comment = ""
script_name = QuestSetTitle
category = TC_QUEST
[[.args]]
type = quest
default = "GetLastCreatedQuestBJ"
[[.args]]
type = StringExt

[QuestSetDescriptionBJ]
title = "Set task description"
description = "Set the task description for ${Quest} as: ${text}"
comment = ""
script_name = QuestSetDescription
category = TC_QUEST
[[.args]]
type = quest
default = "GetLastCreatedQuestBJ"
[[.args]]
type = StringExt

[CreateQuestItemBJ]
title = "Create Task Project"
description = "Create a task item for ${Quest}: ${text}"
comment = ""
category = TC_QUEST
[[.args]]
type = quest
default = "GetLastCreatedQuestBJ"
[[.args]]
type = StringExt

[QuestItemSetCompletedBJ]
title = "Set task project completed"
description = "Set ${Quest Requirement} ${Completed/Incomplete}"
comment = ""
script_name = QuestItemSetCompleted
category = TC_QUEST
[[.args]]
type = questitem
default = "GetLastCreatedQuestItemBJ"
[[.args]]
type = completionoption
default = "CompletionOptionCompleted"

[QuestItemSetDescriptionBJ]
title = "Change task item description"
description = "Change the description of ${Quest Requirement} to: ${text}"
comment = ""
script_name = QuestItemSetDescription
category = TC_QUEST
[[.args]]
type = questitem
default = "GetLastCreatedQuestItemBJ"
[[.args]]
type = StringExt

[CreateDefeatConditionBJ]
title = "Create failed condition"
description = "Create failed condition: ${text}"
comment = "Failure conditions will be displayed in each task."
category = TC_QUEST
[[.args]]
type = StringExt

[DestroyDefeatConditionBJ]
title = "Delete failure condition"
description = "Delete ${Defeat Condition}"
comment = "The deleted failure condition will be removed from each task."
script_name = DestroyDefeatCondition
category = TC_QUEST
[[.args]]
type = defeatcondition
default = "GetLastCreatedDefeatConditionBJ"

[DefeatConditionSetDescriptionBJ]
title = "Change failed condition description"
description = "Change the description of ${Defeat Condition} to: ${text}"
comment = ""
script_name = DefeatConditionSetDescription
category = TC_QUEST
[[.args]]
type = defeatcondition
default = "GetLastCreatedDefeatConditionBJ"
[[.args]]
type = StringExt

[FlashQuestDialogButtonBJ]
title = "Flashing task button"
description = "Flashing task button"
comment = ""
script_name = FlashQuestDialogButton
category = TC_QUEST
[[.args]]
type = nothing

[AddLightningLoc]
title = "Create lightning effect"
description = "Create a ${Type} lightning effect, from ${dot} to ${dot}"
comment = ""
category = TC_LIGHTNING
[[.args]]
type = lightningtype
default = "LightningTypeCLPB"
[[.args]]
type = location
[[.args]]
type = location

[DestroyLightningBJ]
title = "Delete Lightning Effect"
description = "Delete ${Lightning}"
comment = ""
script_name = DestroyLightning
category = TC_LIGHTNING
[[.args]]
type = lightning
default = "GetLastCreatedLightningBJ"

[YDWETimerDestroyLightning]
title = "Timer System-Remove Lightning Effect [YDWE]"
description = "Delete ${lightning effect} after ${time} seconds"
comment = "Start the central timer and delete the lightning effect after the specified time."
category = TC_LIGHTNING
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = lightning
default = "GetLastCreatedLightningBJ"

[MoveLightningEx]
title = "Move lightning effect (specify coordinates) [R]"
description = "Move ${Lightning} to a new location, (${Boolean} check visibility) New starting point: (${X},${Y},${Z}) New ending point: (${X} ,${Y},${Z})"
comment = "The Z coordinate can be specified. If visibility is allowed, the lightning effect will not be moved when the specified start point and end point are not visible."
category = TC_LIGHTNING
[[.args]]
type = lightning
default = "bj_lastCreatedLightning"
[[.args]]
type = allowdontoption
default = "AllowDontDont"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"

[MoveLightningLoc]
title = "Move lightning effect (specified point)"
description = "Move ${Lightning} to connect ${dot} to ${dot}"
comment = ""
category = TC_LIGHTNING
[[.args]]
type = lightning
default = "GetLastCreatedLightningBJ"
[[.args]]
type = location
[[.args]]
type = location

[SetLightningColorBJ]
title = "Change the color of the lightning effect"
description = "Change the color value of ${Lightning} to (${Red} ${Green} ${Blue}) Alpha channel value to ${Alpha}"
comment = "The color format is (red, green, blue). The color and Alpha channel values range from 0-1. The Alpha channel value is 0, which means it is completely transparent."
script_name = SetLightningColor
category = TC_LIGHTNING
[[.args]]
type = lightning
default = "GetLastCreatedLightningBJ"
[[.args]]
type = real
default = "1"
[[.args]]
type = real
default = "1"
[[.args]]
type = real
default = "1"
[[.args]]
type = real
default = "1"

[PlaySoundBJ]
title = "Play sound effects"
description = "Play ${sound effect}"
comment = "Sound effects cannot be played when the map is initialized. Note that 3D sound effects must be played at a designated location."
category = TC_SOUND
[[.args]]
type = sound

[PlaySoundAtPointBJ]
title = "Play 3D sound effects (specified point)"
description = "Play ${3D sound effect}, volume: ${Volume}% Play position: ${specified point} Z axis height: ${Z}"
comment = "Sound effects cannot be played when the map is initialized. This action can only be used to play 3D sound effects."
category = TC_SOUND
[[.args]]
type = sound
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = location
[[.args]]
type = real
default = "0"

[PlaySoundOnUnitBJ]
title = "Play 3D sound effects (follow the unit)"
description = "Play ${3D sound effect}, volume: ${Volume}%, follow unit: ${target unit}"
comment = "Sound effects cannot be played when the map is initialized. This action can only be used to play 3D sound effects."
category = TC_SOUND
[[.args]]
type = sound
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = unit

[PlaySoundFromOffsetBJ]
title = "Skip broadcast sound effect"
description = "Play ${sound effect}, volume: ${Volume}%, skip the first ${Offset} seconds"
comment = "Sound effects cannot be played when the map is initialized. This action cannot be used for 3D sound effects."
category = TC_SOUND
[[.args]]
type = sound
[[.args]]
type = real
default = "100"
min = 0
max = 100
[[.args]]
type = real
default = "0"
min = 0

[StopSoundBJ]
title = "Stop sound effect"
description = "Stop playing ${sound effect} ${After Fading/Immediately}"
comment = ""
category = TC_SOUND
[[.args]]
type = sound
[[.args]]
type = fadedontoption
default = "FadeDontFade"

[KillSoundWhenDoneBJ]
title = "Delete sound effects"
description = "Delete ${sound effect}"
comment = "If the sound effect is playing, it will be deleted at the end of the playback."
script_name = KillSoundWhenDone
category = TC_SOUND
[[.args]]
type = sound

[SetSoundVolume]
title = "Set sound effect volume [R]"
description = "Set the volume of ${sound effect} to ${Volume}"
comment = "Volume range is 0-127."
category = TC_SOUND
[[.args]]
type = sound
[[.args]]
type = integer
default = "127"
min = 0
max = 127

[SetSoundVolumeBJ]
title = "Set sound effect volume"
description = "Set the volume of ${sound effect} to ${Volume}%"
comment = ""
category = TC_SOUND
[[.args]]
type = sound
[[.args]]
type = real
default = "100"
min = 0
max = 100

[SetSoundPlayPosition]
title = "Set the sound effect playback time point [R]"
description = "Set the playback time of ${sound effect} to ${Offset} milliseconds"
comment = "The sound effect must be playing. It cannot be used for 3D sound effects."
category = TC_SOUND
[[.args]]
type = sound
[[.args]]
type = integer
default = "0"
min = 0

[SetSoundOffsetBJ]
title = "Set the sound effect playback time point"
description = "Set the playback time to ${Offset} seconds to ${sound effect}"
comment = "The sound effect must be playing. It cannot be used for 3D sound effects."
category = TC_SOUND
[[.args]]
type = real
default = "0"
min = 0
[[.args]]
type = sound

[SetSoundDistanceCutoffBJ]
title = "Set the sound cutoff distance"
description = "Set the cutoff distance of ${sound effect} to ${value}"
comment = "Map distance, the player will cut off the sound if the distance from the camera to the sound source exceeds this range."
script_name = SetSoundDistanceCutoff
category = TC_SOUND
[[.args]]
type = sound
[[.args]]
type = real

[SetSoundPitchBJ]
title = "Set the sound rate"
description = "Set the rate of ${sound effect} to ${value}"
comment = "Indicates a multiple of the normal rate."
script_name = SetSoundPitch
category = TC_SOUND
[[.args]]
type = sound
[[.args]]
type = real

[AttachSoundToUnitBJ]
title = "Binding Unit"
description = "Bind ${3D sound effect} to ${unit}"
comment = "This action is only used for 3D sound effects."
script_name = AttachSoundToUnit
category = TC_SOUND
[[.args]]
type = sound
[[.args]]
type = unit

[SetSoundPosition]
title = "Set 3D sound effect position (specify coordinates) [R]"
description = "Set the playback position of ${3D sound effect} to (${X},${Y}), and the Z axis height to ${Z}"
comment = "This action is only used for 3D sound effects."
category = TC_SOUND
[[.args]]
type = sound
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"

[SetSoundPositionLocBJ]
title = "Set the 3D sound effect position (specified point)"
description = "Set the playback position of ${3D sound effect} to ${specified point} Z axis height to ${Z}"
comment = "This action is only used for 3D sound effects."
category = TC_SOUND
[[.args]]
type = sound
[[.args]]
type = location
[[.args]]
type = real
default = "0"

[SetSoundDistances]
title = "Set 3D sound effect attenuation range"
description = "Set the minimum attenuation range of ${3D sound effect}: ${Value} Maximum range: ${Value}"
comment = "This action is only used for 3D sound effects. Note that it does not have to reach the maximum range, and the volume will disappear if it is attenuated to a certain extent."
category = TC_SOUND
[[.args]]
type = sound
[[.args]]
type = real
min = 0
[[.args]]
type = real
min = 0

[SetStackedSoundBJ]
title = "Add/remove regional sound effects"
description = "${Add/Remove} ${3D sound effect} to ${region}"
comment = "This action is only used for 3D sound effects."
category = TC_SOUND
[[.args]]
type = addremoveoption
default = "AddRemoveAdd"
[[.args]]
type = sound
[[.args]]
type = rect

[SetAmbientDaySound]
title = "Use daytime environment sound effects"
description = "Use ${Theme} daytime environmental sound effects"
comment = ""
category = TC_SOUND
[[.args]]
type = ambientthemeday
default = "AmbientThemeDayL"

[SetAmbientNightSound]
title = "Use night environment sound effects"
description = "Use ${Theme} night environment sound effects"
comment = ""
category = TC_SOUND
[[.args]]
type = ambientthemenight
default = "AmbientThemeNightL"

[EnableDawnDusk]
title = "Allow/prohibit alternate day and night sound effects"
description = "${Enable/Disable} alternate day and night sound effect"
comment = ""
category = TC_SOUND
[[.args]]
type = enabledisableoption
default = "EnableDisableEnable"

[SetMapMusic]
title = "Set background music list [R]"
description = "Set the background music list to: ${Music}, ${Allow/Prohibit} Random play, start playing sequence number is ${Index}"
comment = "You can specify the play file or play directory."
category = TC_SOUND
[[.args]]
type = musicfile
default = "MusicFileMusic"
[[.args]]
type = enabledisableoption
default = "EnableDisableEnable"
[[.args]]
type = integer
default = "0"

[SetMapMusicIndexedBJ]
title = "Set background music list (specify playback)"
description = "Set the background music list to: ${Music}, play sequence number: ${Index}"
comment = "You can specify the play file or play directory."
category = TC_SOUND
[[.args]]
type = musicfile
default = "MusicFileMusic"
[[.args]]
type = integer
default = "0"

[SetMapMusicRandomBJ]
title = "Set background music list (random play)"
description = "Set the background music list to: ${Music}, random play"
comment = "You can specify the play file or play directory."
category = TC_SOUND
[[.args]]
type = musicfile
default = "MusicFileMusic"

[ClearMapMusicBJ]
title = "Clear the background music list"
description = "Clear the background music list"
comment = ""
script_name = ClearMapMusic
category = TC_SOUND
[[.args]]
type = nothing

[PlayMusicBJ]
title = "Play background music"
description = "Play ${background music}"
comment = ""
category = TC_SOUND
[[.args]]
type = musicfile

[PlayMusicExBJ]
title = "Skip background music"
description = "Play ${background music}, skip the first ${Offset} seconds, fade in time: ${Fade Time} seconds"
comment = ""
category = TC_SOUND
[[.args]]
type = musicfile
[[.args]]
type = real
default = "0"
min = 0
[[.args]]
type = real
default = "0"
min = 0

[StopMusicBJ]
title = "Stop background music"
description = "Stop background music ${After Fading/Immediately}"
comment = ""
script_name = StopMusic
category = TC_SOUND
[[.args]]
type = fadedontoption
default = "FadeDontFade"

[ResumeMusicBJ]
title = "Restore background music"
description = "Restore background music"
comment = ""
script_name = ResumeMusic
category = TC_SOUND
[[.args]]
type = nothing

[SetMusicVolume]
title = "Set background music volume [R]"
description = "Set the background music volume to ${Volume}"
comment = "The volume range is 0-127."
category = TC_SOUND
[[.args]]
type = integer
default = "127"
min = 0
max = 127

[SetMusicVolumeBJ]
title = "Set background music volume"
description = "Set the background music volume to ${Volume}%"
comment = ""
category = TC_SOUND
[[.args]]
type = real
default = "100"
min = 0
max = 100

[SetMusicPlayPosition]
title = "Set background music playback time point [R]"
description = "Set the playing time of the current background music to ${Offset} milliseconds"
category = TC_SOUND
[[.args]]
type = integer
default = "0"
min = 0

[SetMusicOffsetBJ]
title = "Set background music playback time point"
description = "Set the playing time of the current background music to ${Offset} seconds"
comment = ""
category = TC_SOUND
[[.args]]
type = real
default = "0"
min = 0

[PlayThematicMusic]
title = "Play theme music [C]"
description = "Play ${Music Theme} theme music"
comment = "Play the theme music once, then restore the original music."
script_name = PlayThematicMusic
category = TC_SOUND
[[.args]]
type = musictheme
default = "MusicThemeHeroicVictory"

[PlayThematicMusicBJ]
title = "Play theme music"
description = "Play ${Music Theme} theme music"
comment = "Play the theme music once, then restore the original music."
script_name = PlayThematicMusic
category = TC_SOUND
[[.args]]
type = musictheme
default = "MusicThemeHeroicVictory"

[PlayThematicMusicEx]
title = "Skip the theme music [R]"
description = "Play ${Music Theme} theme music, skip the beginning ${Offset} milliseconds"
category = TC_SOUND
[[.args]]
type = musictheme
default = "MusicThemeHeroicVictory"
[[.args]]
type = integer
default = "0"
min = 0

[PlayThematicMusicExBJ]
title = "Skip theme music"
description = "Play ${Music Theme} theme music, skip the first ${Offset} seconds"
comment = "Play the theme music once, then restore the original music."
category = TC_SOUND
[[.args]]
type = musictheme
default = "MusicThemeHeroicVictory"
[[.args]]
type = real
default = "0"
min = 0

[EndThematicMusic]
title = "Stop theme music [C]"
description = "Stop the theme music being played"
comment = ""
script_name = EndThematicMusic
category = TC_SOUND
[[.args]]
type = nothing

[EndThematicMusicBJ]
title = "Stop theme music"
description = "Stop the theme music being played"
comment = ""
script_name = EndThematicMusic
category = TC_SOUND
[[.args]]
type = nothing

[SetThematicMusicPlayPosition]
title = "Set the theme music playback time point [R]"
description = "Set the current theme music playback time to ${Offset} milliseconds"
comment = ""
category = TC_SOUND
[[.args]]
type = integer
default = "0"
min = 0

[SetThematicMusicOffsetBJ]
title = "Set the theme music playback time point"
description = "Set the current theme music playback time to ${Offset} seconds"
comment = ""
category = TC_SOUND
[[.args]]
type = real
default = "0"
min = 0

[VolumeGroupSetVolume]
title = "Set multi-channel volume [R]"
description = "Set the volume of ${Volume Channel} to ${Volume}"
comment = "Volume range is 0-1."
category = TC_SOUND
[[.args]]
type = volumegroup
default = "VolumeGroupMusic"
[[.args]]
type = real
default = "1"
min = 0
max = 1

[VolumeGroupSetVolumeBJ]
title = "Set multi-channel volume"
description = "Set the volume of ${Volume Channel} to ${Volume}%"
comment = ""
category = TC_SOUND
[[.args]]
type = volumegroup
default = "VolumeGroupMusic"
[[.args]]
type = real
default = "100"
min = 0
max = 100

[SetCineModeVolumeGroupsBJ]
title = "Set movie multi-channel volume environment"
description = "Set multi-channel volume to movie mode"
comment = ""
category = TC_SOUND
[[.args]]
type = nothing

[SetSpeechVolumeGroupsBJ]
title = "Set voice multi-channel volume environment"
description = "Set multi-channel volume to voice mode"
comment = "The voice mode is the message function of the broadcasting unit of the movie."
category = TC_SOUND
[[.args]]
type = nothing

[VolumeGroupResetBJ]
title = "Reset multi-channel volume"
description = "Reset the volume of all channels to the preset value."
category = TC_SOUND
[[.args]]
type = nothing

[AddSpecialEffectLocBJ]
title = "Create special effects (specify points)"
description = "Create special effects at ${specified point}: ${Model File}"
comment = ""
category = TC_SPECIALEFFECT
[[.args]]
type = location
[[.args]]
type = modelfile
default = "\"Abilities\\Spells\\Human\\ThunderClap\\ThunderClapCaster.mdl\""

[AddSpecialEffectTargetUnitBJ]
title = "Create special effects (binding units)"
description = "Create and bind special effects to ${Attachment Point} to ${unit}, use model: ${Model File}"
comment = ""
category = TC_SPECIALEFFECT
[[.args]]
type = string
default = "\"overhead\""
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = modelfile
default = "\"Abilities\\Spells\\Other\\TalkToMe\\TalkToMe.mdl\""

[DestroyEffectBJ]
title = "Delete special effects"
description = "Delete ${Special Effect}"
comment = ""
script_name = DestroyEffect
category = TC_SPECIALEFFECT
[[.args]]
type = effect
default = "GetLastCreatedEffectBJ"

[YDWETimerDestroyEffect]
title = "Timer system-delete special effects [YDWE]"
description = "Delete ${special effect} after ${time} seconds"
comment = "Start the central timer and delete the special effect after the specified time."
category = TC_SPECIALEFFECT
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = effect
default = "bj_lastCreatedEffect"

[CreateImageBJ]
title = "Create"
description = "Use image: ${Image} Size: ${Size} Create point: ${specify point} Z axis offset: ${Z} Image type: ${Type}"
comment = "Use'Image-Set Permanent Rendering Status' to display the image. Create a point as the lower left corner of the image. This feature has a bug, which will add 256 pixels on the image and on the right. So an image that supports the Alpha channel and The pixels on the top and the last row on the right are transparent for perfect display."
category = TC_IMAGE
[[.args]]
type = string
default = "\"ReplaceableTextures\\Splats\\AuraRune9b.blp\""
[[.args]]
type = real
default = "256"
[[.args]]
type = location
[[.args]]
type = real
default = "0"
[[.args]]
type = imagetype
default = "ImageTypeIndicator"

[DestroyImage]
title = "Delete"
description = "Delete ${image}"
comment = ""
category = TC_IMAGE
[[.args]]
type = image

[ShowImage]
title = "Show/Hide [R]"
description = "Settings ${Image} ${Show/Hide}"
comment = ""
category = TC_IMAGE
[[.args]]
type = image
default = "bj_lastCreatedImage"
[[.args]]
type = showhideoption
default = "ShowHideShow"

[ShowImageBJ]
title = "Show/Hide Image"
description = "${Show/Hide} ${Image}"
comment = ""
category = TC_IMAGE
[[.args]]
type = showhideoption
default = "ShowHideShow"
[[.args]]
type = image
default = "GetLastCreatedImage"

[SetImageConstantHeight]
title = "Set image height"
description = "Set ${Image} ${Enable/Disable} Z axis display and set the height to ${Height}"
comment = "The actual display height is the image height + Z axis offset. Only valid when the Z axis is allowed."
category = TC_IMAGE
[[.args]]
type = image
[[.args]]
type = enabledisableoption
default = "EnableDisableEnable"
[[.args]]
type = real
default = "0"

[SetImagePosition]
title = "Change image position (specify coordinates) [R]"
description = "Change the position of ${Image} to (${X},${Y}), and the Z axis offset to ${Z}"
comment = "Refers to the lower left corner of the image."
category = TC_IMAGE
[[.args]]
type = image
default = "bj_lastCreatedImage"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"

[SetImagePositionBJ]
title = "Change image position (specify point)"
description = "Change the position of ${Image} to ${Position} and the Z axis offset to ${Z}"
comment = "Refers to the lower left corner of the image."
category = TC_IMAGE
[[.args]]
type = image
default = "GetLastCreatedImage"
[[.args]]
type = location
[[.args]]
type = real
default = "0"

[SetImageColor]
title = "Change image color [R]"
description = "Set the color value of ${Image} to (${Red},${Green},${Blue}) Alpha value to ${Alpha}"
comment = "The color format is (red, green, blue). Alpha value 0 is invisible. The color value and Alpha value range from 0-255."
category = TC_IMAGE
[[.args]]
type = image
default = "bj_lastCreatedImage"
[[.args]]
type = integer
default = "255"
min = 0
max = 255
[[.args]]
type = integer
default = "255"
min = 0
max = 255
[[.args]]
type = integer
default = "255"
min = 0
max = 255
[[.args]]
type = integer
default = "255"
min = 0
max = 255

[SetImageColorBJ]
title = "Change image color"
description = "Set the color value of ${Image} to (${Red}%, ${Green}%, ${Blue}%) and the transparency to ${Transparency}%"
comment = "The color format is (red, green, blue). 100% transparency is invisible."
category = TC_IMAGE
[[.args]]
type = image
default = "GetLastCreatedImage"
[[.args]]
type = real
default = "100.0"
min = 0.0
max = 100.0
[[.args]]
type = real
default = "100.0"
min = 0.0
max = 100.0
[[.args]]
type = real
default = "100.0"
min = 0.0
max = 100.0
[[.args]]
type = real
default = "0.0"
min = 0.0
max = 100.0

[SetImageRender]
title = "Set image rendering state"
description = "Set ${Image}: ${Enable/Disable} display status"
comment = "No effect was found."
category = TC_IMAGE
[[.args]]
type = image
default = "GetLastCreatedImage"
[[.args]]
type = enabledisableoption
default = "EnableDisableEnable"

[SetImageRenderAlways]
title = "Set image permanent rendering state"
description = "Set ${Image}: ${Enable/Disable} permanent display status"
comment = "To display the image, you must enable this item."
category = TC_IMAGE
[[.args]]
type = image
default = "GetLastCreatedImage"
[[.args]]
type = enabledisableoption
default = "EnableDisableEnable"

[SetImageAboveWater]
title = "Image water surface display status"
description = "Set ${Image}: ${Enable/Disable} water surface display, ${Enable/Disable} Alpha channel of water"
comment = "The former sets the image to be displayed on the water surface or the bottom. The latter sets whether the image is affected by the alpha channel of the water. "
category = TC_IMAGE
[[.args]]
type = image
default = "GetLastCreatedImage"
[[.args]]
type = enabledisableoption
default = "EnableDisableEnable"
[[.args]]
type = enabledisableoption
default = "EnableDisableEnable"

[SetImageType]
title = "Change image type"
description = "Set ${Image} type to ${Type}"
comment = ""
category = TC_IMAGE
[[.args]]
type = image
default = "GetLastCreatedImage"
[[.args]]
type = imagetype
default = "ImageTypeIndicator"

[SetPlayerState]
title = "Set attributes"
description = "Set ${Player}'s ${Property} to ${Value}"
comment = ""
script_name = SetPlayerStateBJ
category = TC_PLAYER
[[.args]]
type = player
default = "Player00"
[[.args]]
type = playerstate
default = "PlayerStateGold"
[[.args]]
type = integer
default = "750"

[AdjustPlayerStateBJ]
title = "Add attributes"
description = "Add ${Value} ${Player} to ${Property}"
comment = "Use negative numbers to reduce."
category = TC_PLAYER
[[.args]]
type = integer
default = "1000"
[[.args]]
type = player
default = "Player00"
[[.args]]
type = playerstate
default = "PlayerStateGold"

[SetPlayerFlag]
title = "Turn on/off player parameters [R]"
description = "Set ${Player} properties: ${Player Flag} ${On/Off}"
comment = "Enable player 12's 'Give reward' means that killing player 12 units will get a monetary reward."
script_name = SetPlayerState
category = TC_PLAYER
[[.args]]
type = player
default = "PlayerNA"
[[.args]]
type = playerflag
default = "PlayerFlagGivesBounty"
[[.args]]
type = onoffintoption
default = "OnOffIntOff"

[SetPlayerFlagBJ]
title = "Turn on/off player parameters"
description = "Set ${Player Flag} ${On/Off} to ${Player}"
comment = "Enable player 12's 'Give reward' means that killing player 12 units will get a monetary reward."
category = TC_PLAYER
[[.args]]
type = playerflag
default = "PlayerFlagGivesBounty"
[[.args]]
type = onoffoption
default = "OnOffOff"
[[.args]]
type = player
default = "PlayerNA"

[SetPlayerTaxRate]
title = "Set Tax Rate [R]"
description = "Set the income tax of ${Resource} paid by ${Player} to ${Player} as ${Rate} %"
comment = "Resources lost by paying income tax can be obtained through the'Tax Loss Gold/Timber' of the'Player Score'. The maximum income tax is 100%. And Player 1 pays 80% income tax to Player 2 and Player 3. Then the player 1 When collecting gold, player 2 8 gold will be given, player 3 2 gold."
category = TC_PLAYER
[[.args]]
type = player
default = "Player00"
[[.args]]
type = player
default = "Player01"
[[.args]]
type = playerresource
default = "PlayerResourceGold"
[[.args]]
type = integer
default = "0"
min = 0
max = 100

[SetPlayerTaxRateBJ]
title = "Set tax rate"
description = "Set ${Rate}% of ${Resource} income tax, ${Player} pays to ${Player}"
comment = "Resources lost by paying income tax can be obtained through the'Tax Loss Gold/Timber' of the'Player Score'. The maximum income tax is 100%. And Player 1 pays 80% income tax to Player 2 and Player 3. Then the player 1 When collecting gold, player 2 8 gold will be given, player 3 2 gold."
category = TC_PLAYER
[[.args]]
type = integer
default = "0"
min = 0
max = 100
[[.args]]
type = playerresource
default = "PlayerResourceGold"
[[.args]]
type = player
default = "Player00"
[[.args]]
type = player
default = "Player01"

[SetPlayerTeam]
title = "Set Player Team"
description = "Set the team of ${Player} to ${team ID}"
comment = ""
category = TC_PLAYER
[[.args]]
type = player
default = "Player00"
[[.args]]
type = integer
default = "0"

[EnableCreepSleepBJ]
title = "Allow/Prohibit Neutral Creatures from Sleeping"
description = "${Enable/Disable} Neutral creature sleep"
comment = "Only affects sleep at night. Does not affect hypnotic magic."
category = TC_PLAYER
[[.args]]
type = enabledisableoption
default = "EnableDisableDisable"

[SetPlayerAllianceStateBJ]
title = "Set Alliance Status"
description = "Command ${Player} sets the alliance status of ${Player} to ${Alliance Setting}"
comment = ""
category = TC_PLAYER
[[.args]]
type = player
default = "Player00"
[[.args]]
type = player
default = "Player01"
[[.args]]
type = alliancesetting
default = "AllianceSettingAlliedVision"

[SetPlayerAlliance]
title = "Set alliance status (specified item) [R]"
description = "Command ${Player} to ${Player} to set ${Alliance Type} ${On/Off}"
comment = "Note: You can set the alliance status for the player. It can be used to achieve some special effects."
category = TC_PLAYER
[[.args]]
type = player
default = "Player00"
[[.args]]
type = player
default = "Player01"
[[.args]]
type = alliancetype
default = "AllianceTypePassive"
[[.args]]
type = onoffoption
default = "OnOffOn"

[SetPlayerAllianceBJ]
title = "Set alliance status (specify project)"
description = "Command ${Player} to set ${Alliance Type} ${On/Off} to ${Player}"
comment = ""
category = TC_PLAYER
[[.args]]
type = player
default = "Player00"
[[.args]]
type = alliancetype
default = "AllianceTypePassive"
[[.args]]
type = onoffoption
default = "OnOffOn"
[[.args]]
type = player
default = "Player01"

[SetPlayerAbilityAvailable]
title = "Allow/Disable Skill [R]"
description = "Set the ${Skills} of ${Player} to ${Enable/Disable}"
comment = "Set whether the player can use this skill."
category = TC_PLAYER
[[.args]]
type = player
default = "Player00"
[[.args]]
type = abilcode
[[.args]]
type = enabledisableoption
default = "EnableDisableDisable"

[SetPlayerAbilityAvailableBJ]
title = "Allow/Disable Skills"
description = "${Enable/Disable} ${Skills} to ${Player}"
comment = "Set whether the player can use this skill."
category = TC_PLAYER
[[.args]]
type = enabledisableoption
default = "EnableDisableDisable"
[[.args]]
type = abilcode
[[.args]]
type = player
default = "Player00"

[SetPlayerUnitAvailableBJ]
title = "Set unit availability"
description = "Set ${unit type} ${Available/Unavailable} to ${Player}"
comment = "Set whether the player can build this unit."
category = TC_PLAYER
[[.args]]
type = unitcode
default = "hfoo"
[[.args]]
type = availabilityoption
default = "AvailabilityOptionAvailable"
[[.args]]
type = player
default = "Player00"

[SetPlayerUnitMaxAllowed]
title = "Limit the number of units that can be built"
description = "Limit the buildable quantity of ${unit type} to ${Limit} versus ${Player}"
comment = "-1 means unlimited, 0 means unable to produce."
script_name = SetPlayerTechMaxAllowedSwap
category = TC_PLAYER
[[.args]]
type = unitcode
default = "hfoo"
[[.args]]
type = integer
default = "1"
min = -1
[[.args]]
type = player
default = "Player00"

[SetPlayerMaxHeroesAllowed]
title = "Limit the number of heroes"
description = "Limit the number of heroes to ${Limit} vs. ${Player}"
comment = "-1 means unlimited, 0 means unable to produce."
category = TC_PLAYER
[[.args]]
type = integer
default = "3"
min = -1
[[.args]]
type = player
default = "Player00"

[AddPlayerTechResearched]
title = "Increase technology level"
description = "Add ${player}'s ${technology} technology ${integer} level"
comment = "The technology level cannot be regressed."
category = TC_PLAYER
[[.args]]
type = player
default = "Player00"
[[.args]]
type = techcode
[[.args]]
type = integer
default = "0"
min = 0

[SetPlayerTechResearchedSwap]
title = "Set Technology Level"
description = "Set the level of ${Technology} to ${Level} for ${Player}"
comment = "Technology level cannot be reversed."
category = TC_PLAYER
[[.args]]
type = techcode
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = player
default = "Player00"

[SetPlayerTechMaxAllowedSwap]
title = "Set maximum technology level"
description = "Set the level of ${Technology} to ${Level} for ${Player}"
comment = "Technology level cannot be reversed."
category = TC_PLAYER
[[.args]]
type = techcode
[[.args]]
type = integer
default = "0"
min = 0
[[.args]]
type = player
default = "Player00"

[SetPlayerColor]
title = "Change player color [R]"
description = "Change the player color of ${Player} to ${Color}"
comment = "Do not change the color of existing units."
category = TC_PLAYER
[[.args]]
type = player
default = "Player00"
[[.args]]
type = playercolor
default = "Color00"

[SetPlayerColorBJ]
title = "Change player color"
description = "Change the player color of ${Player} to ${Color} and the color of the player unit of ${Changing/Retaining color}"
comment = ""
category = TC_PLAYER
[[.args]]
type = player
default = "Player00"
[[.args]]
type = playercolor
default = "Color00"
[[.args]]
type = playerchangecoloroption
default = "PlayerChangeColorChange"

[SetPlayerHandicap]
title = "Set Health Limit [R]"
description = "Set the life barrier of ${Player} to be ${Percent} times normal"
comment = "The maximum Health limit affects the maximum Health of the player's unit. The Book of Health is not limited by the maximum Health limit, so there may be deviations in the hero's HP."
category = TC_PLAYER
[[.args]]
type = player
default = "Player00"
[[.args]]
type = real
default = "1"
min = 0.01
max = 10000

[SetPlayerHandicapBJ]
title = "Set Health limit"
description = "Set the Health barrier of ${Player} to normal ${Percent}%"
comment = "The maximum Health limit affects the maximum Health of the player's unit. The Book of Life is not limited by the maximum Health limit, so there may be deviations in the hero's HP."
category = TC_PLAYER
[[.args]]
type = player
default = "Player00"
[[.args]]
type = real
default = "100"
min = 1
max = 10000

[SetPlayerOnScoreScreen]
title = "Show/hide scoring screen display [R]"
description = "Set the display of ${Player} ${Show/Hide} on the score screen."
comment = ""
category = TC_PLAYER
[[.args]]
type = player
default = "Player00"
[[.args]]
type = showhideoption
default = "ShowHideHide"

[SetPlayerOnScoreScreenBJ]
title = "Show/hide scoring screen display"
description = "${Show/Hide} ${Player} displayed on the score screen."
comment = ""
category = TC_PLAYER
[[.args]]
type = showhideoption
default = "ShowHideHide"
[[.args]]
type = player
default = "Player00"

[SetPlayerName]
title = "Change name"
description = "Change the name of ${Player} to ${text}"
comment = ""
category = TC_PLAYER
[[.args]]
type = player
default = "Player00"
[[.args]]
type = StringExt

[RemovePlayer]
title = "Kick the player"
description = "Kick off ${Player} and the player's game result is ${text}"
comment = ""
category = TC_PLAYER
[[.args]]
type = player
default = "Player00"
[[.args]]
type = playergameresult
default = "GameResultLose"

[ForForceMultiple]
title = "Select players in the player group to perform actions (multiple actions)"
description = "Select all players in ${player group} to do actions"
comment = "In the player group action, you can use'select player' to get the corresponding player. Waiting cannot be run in a group action."
script_name = ForForce
category = TC_PLAYERGROUP
[[.args]]
type = force
default = "GetPlayersAll"

[ForForce]
title = "Select players in the player group to perform actions"
description = "Select all players in ${player group} ${do actions}"
comment = "In the player group action, you can use'select player' to get the corresponding player. Waiting cannot be run in a group action."
category = TC_PLAYERGROUP
[[.args]]
type = force
default = "GetPlayersAll"
[[.args]]
type = code
default = "DoNothing"

[ForceAddPlayer]
title = "Add Player [R]"
description = "${player group} add ${player}"
comment = "Does not affect the player itself."
category = TC_PLAYERGROUP
[[.args]]
type = force
[[.args]]
type = player
default = "Player00"

[ForceAddPlayerSimple]
title = "Add player"
description = "Add ${Player} to ${player group}"
comment = "Does not affect the player itself."
category = TC_PLAYERGROUP
[[.args]]
type = player
default = "Player00"
[[.args]]
type = force

[ForceRemovePlayer]
title = "Remove player [R]"
description = "Remove ${player} from ${player group}"
comment = "Does not affect the player itself."
category = TC_PLAYERGROUP
[[.args]]
type = force
[[.args]]
type = player
default = "Player00"

[ForceRemovePlayerSimple]
title = "Remove player"
description = "Remove ${Player} from ${player group}"
comment = "Does not affect the player itself."
category = TC_PLAYERGROUP
[[.args]]
type = player
default = "Player00"
[[.args]]
type = force

[ForceClear]
title = "Clear player group"
description = "Clear all players in ${player group}"
comment = "Does not affect the player itself."
category = TC_PLAYERGROUP
[[.args]]
type = force

[SetForceAllianceStateBJ]
title = "Set Alliance"
description = "Command ${Player} sets the alliance status of ${Player} to ${Alliance Setting}"
comment = ""
category = TC_PLAYERGROUP
[[.args]]
type = force
default = "GetPlayersAll"
[[.args]]
type = force
default = "GetPlayersAll"
[[.args]]
type = alliancesetting
default = "AllianceSettingAlliedVision"

[DestroyForce]
title = "Delete player group [R]"
description = "Delete ${player group}"
comment = "Note: Do not delete the player group preset by the system."
category = TC_PLAYERGROUP
[[.args]]
type = force

[CreateItemLoc]
title = "Create"
description = "Create ${item} at ${specified point}"
comment = ""
category = TC_ITEM
[[.args]]
type = itemcode
default = "texp"
[[.args]]
type = location

[CreateItem]
title = "Create"
description = "Create a new ${item} in (${X},${Y})"
comment = ""
category = TC_ITEM
[[.args]]
type = itemcode
default = "texp"
[[.args]]
type = real
[[.args]]
type = real

[RemoveItem]
title = "Delete"
description = "Delete ${item}"
comment = ""
category = TC_ITEM
[[.args]]
type = item
default = "GetLastCreatedItem"

[YDWETimerRemoveItem]
title = "Timer System-Delete Item [YDWE]"
description = "Delete ${item} in ${time} seconds"
comment = "Start the central timer and delete the item after the specified time."
category = TC_ITEM
[[.args]]
type = real
default = "2"
min = 0
[[.args]]
type = item
default = "GetLastCreatedItem"

[YDWEItemAbilityStorage]
title = "Item attribute system-add skills to items [YDWE]"
description = "Add ${Skills} to ${Item Type}"
comment = "Add skills to the item. After the hero gets the item, he will get additional skills; these skills will appear on the unit, so try not to add skills with icons."
category = TC_ITEM
[[.args]]
type = itemcode
default = "spsh"
[[.args]]
type = abilcode
default = "AIfg"

[SetItemVisible]
title = "Show/Hide [R]"
description = "Set the status of ${Item} to: ${Show/Hide}"
comment = "Only valid for items on the ground, and will not affect items in the inventory. When a unit gets a hidden item through the trigger, it will automatically display the item."
category = TC_ITEM
[[.args]]
type = item
default = "bj_lastCreatedItem"
[[.args]]
type = showhideoption
default = "ShowHideHide"

[SetItemVisibleBJ]
title = "Show/Hide"
description = "${Show/Hide} ${Item}"
comment = "Only valid for items on the ground, and will not affect items in the inventory. When a unit gets a hidden item through the trigger, it will automatically display the item."
category = TC_ITEM
[[.args]]
type = showhideoption
default = "ShowHideHide"
[[.args]]
type = item
default = "GetLastCreatedItem"

[SetItemPosition]
title = "Move items to coordinates (immediately) (specify coordinates) [R]"
description = "Move ${Item} to (${X},${Y})"
comment = ""
category = TC_ITEM
[[.args]]
type = item
default = "bj_lastCreatedItem"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"

[SetItemPositionLoc]
title = "Move the item to the designated point (immediately) (designated point)"
description = "Move ${item} to ${specified point}"
comment = ""
category = TC_ITEM
[[.args]]
type = item
default = "GetLastCreatedItem"
[[.args]]
type = location

[SetItemLifeBJ]
title = "Set item health value"
description = "Set the health value of ${Item} to ${Value}"
comment = ""
script_name = SetWidgetLife
category = TC_ITEM
[[.args]]
type = item
default = "GetLastCreatedItem"
[[.args]]
type = real
default = "50"
min = 0

[SetItemCharges]
title = "Set the item used times"
description = "Set the number of uses of ${Item} to ${Charges}"
comment = "Set to 0 to enable the item to be used unlimited times."
category = TC_ITEM
[[.args]]
type = item
default = "GetLastCreatedItem"
[[.args]]
type = integer
default = "1"
min = 0

[SetItemInvulnerableBJ]
title = "Set item invincible/attackable"
description = "Set ${Item} ${Invulnerable/Vulnerable}"
comment = ""
script_name = SetItemInvulnerable
category = TC_ITEM
[[.args]]
type = item
default = "GetLastCreatedItem"
[[.args]]
type = invulnerableoption
default = "InvulnerabilityInvulnerable"

[SetItemPawnable]
title = "Set whether the item can be mortgaged"
description = "Set ${Item} ${Pawnable/Unpawnable}"
comment = "Uncollateralized items cannot be sold to the store."
category = TC_ITEM
[[.args]]
type = item
default = "GetLastCreatedItem"
[[.args]]
type = pawnableoption
default = "PawnableOptionPawnable"

[SetItemDroppableBJ]
title = "Set whether items can be discarded"
description = "Set ${Item} ${Droppable/Undroppable}"
comment = "Undropable items cannot be moved or discarded after being picked up. (But it can be achieved by triggering)"
script_name = SetItemDroppable
category = TC_ITEM
[[.args]]
type = item
default = "GetLastCreatedItem"
[[.args]]
type = dropnodropoption
default = "DropNoDropOptionNoDrop"

[SetItemDropID]
title = "Set the unit type of the rebirth rune"
description = "Set ${Item} to generate ${Unit Type}"
comment = "After setting the unit type corresponding to the rebirth rune, when the hero eats the rebirth rune, the specified type of unit will be generated."
category = TC_ITEM
[[.args]]
type = item
default = "GetLastCreatedItem"
[[.args]]
type = unitcode
default = "hfoo"

[SetItemDropOnDeathBJ]
title = "Set whether the item will drop after death"
description = "Set ${Item} ${Drop from/Stay with} when the holder dies"
comment = ""
script_name = SetItemDropOnDeath
category = TC_ITEM
[[.args]]
type = item
default = "GetLastCreatedItem"
[[.args]]
type = droppableoption
default = "DroppableOptionDrop"

[SetItemPlayerBJ]
title = "Change the player the item belongs to"
description = "Change the player belonging to ${Item} to: ${Player} and ${Change/Retain Color}"
comment = "Not all items can change the color. The owning player has nothing to do with the holder, the default is a neutral passive player."
script_name = SetItemPlayer
category = TC_ITEM
[[.args]]
type = item
default = "GetLastCreatedItem"
[[.args]]
type = player
default = "Player00"
[[.args]]
type = colorchangeoption
default = "ChangeColorTrue"

[SetItemUserData]
title = "Set item custom value"
description = "Set the custom value of ${item} to ${Index}"
comment = "Item custom value is only used for triggers. It can be used to bind an integer data to the item."
category = TC_ITEM
[[.args]]
type = item
[[.args]]
type = integer
default = "0"

[EnumItemsInRectBJMultiple]
title = "Select items in the rectangular area to perform actions (multiple actions)"
description = "Select all items in ${rectangular area} to perform actions"
comment = "In the group action, you can use the'select item' to obtain the corresponding item. Each item in the area will run an action (including hidden items, excluding items in the inventory). Waiting cannot be run in a group action."
script_name = EnumItemsInRectBJ
category = TC_ITEM
[[.args]]
type = rect
default = "GetPlayableMapRect"

[EnumItemsInRectBJ]
title = "Select items in the rectangular area to perform actions"
description = "Select all items in ${rectangular area} ${do action}"
comment = "In the group action, you can use the'select item' to obtain the corresponding item. Each item in the area will run an action (including hidden items, excluding items on the unit). Waiting cannot be run in a group action."
category = TC_ITEM
[[.args]]
type = rect
default = "GetPlayableMapRect"
[[.args]]
type = code
default = "DoNothing"

[YDWECreateItemPool]
title = "Create Item Pool [YDWE]"
description = "Create a new item pool"
comment = "Create a new item pool, which can be obtained by <the last created item pool>."
category = TC_ITEMPOOL
[[.args]]
type = nothing

[ItemPoolAddItemType]
title = "Add Item Type [R]"
description = "Add a ${item} to ${item pool} with a proportion of ${value}"
comment = "The higher the proportion has the greater the chance of being selected."
category = TC_ITEMPOOL
[[.args]]
type = itempool
[[.args]]
type = itemcode
default = "texp"
[[.args]]
type = real
default = "1"

[ItemPoolRemoveItemType]
title = "Delete item type [R]"
description = "Remove ${item} from ${item pool}"
comment = ""
category = TC_ITEMPOOL
[[.args]]
type = itempool
[[.args]]
type = itemcode
default = "texp"

[PlaceRandomItem]
title = "Choose to place item [R]"
description = "Choose an item from ${item pool} and place it at (${X}, ${Y}) point"
comment = ""
category = TC_ITEMPOOL
[[.args]]
type = itempool
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"

[YDWEPlaceRandomItem]
title = "Choose to place item [YDWE]"
description = "Select an item from ${item pool} and place it at the point (${X}, ${Y}) "
comment = "This item can be obtained by <the last item taken from the item pool>."
category = TC_ITEMPOOL
[[.args]]
type = itempool
default = "bj_lastCreatedItemPool"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"

[DestroyItemPool]
title = "Delete Item Pool [R]"
description = "Delete ${Item Pool}"
comment = ""
category = TC_ITEMPOOL
[[.args]]
type = itempool

[ClearSelectionForPlayer]
title = "Clear selection (specify player)"
description = "Clear the selection of ${Player}"
comment = "Make the player deselect all selected units."
category = TC_UNITSEL
[[.args]]
type = player
default = "Player00"

[SelectGroupForPlayerBJ]
title = "Select unit group (specify player)"
description = "Select ${unit group} versus ${Player}"
comment = "Make the player deselect all units and select up to 12 units in the unit group."
category = TC_UNITSEL
[[.args]]
type = group
[[.args]]
type = player
default = "Player00"

[SelectUnitForPlayerSingle]
title = "Select unit (specify player)"
description = "Select ${unit} to ${Player}"
comment = "Make the player deselect all units and select the unit."
category = TC_UNITSEL
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = player
default = "Player00"

[SelectUnitAddForPlayer]
title = "Add selected unit (specified player)"
description = "Add selection ${unit} to ${Player}"
comment = "Make the player to add and select this unit."
category = TC_UNITSEL
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = player
default = "Player00"

[SelectUnitRemoveForPlayer]
title = "Unselect unit (specify player)"
description = "Deselect ${unit} to ${Player}"
comment = "Make the player deselect the unit."
category = TC_UNITSEL
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = player
default = "Player00"

[ClearSelection]
title = "Clear selection (all players)"
description = "Clear all player choices"
comment = "Make the player deselect all selected units."
category = TC_UNITSEL
[[.args]]
type = nothing

[SelectGroupBJ]
title = "Select unit group (all players)"
description = "Command all players to select ${unit group}"
comment = "Make all players deselect all units and select up to 12 units in the unit group."
category = TC_UNITSEL
[[.args]]
type = group

[SelectUnitSingle]
title = "Select unit (all players)"
description = "Command all players to choose ${unit}"
comment = "Make the player deselect all selected units and select the unit."
category = TC_UNITSEL
[[.args]]
type = unit
default = "GetTriggerUnit"

[SelectUnitAdd]
title = "Add selected unit (all players)"
description = "Command all players to add selection ${unit}"
comment = ""
category = TC_UNITSEL
[[.args]]
type = unit
default = "GetTriggerUnit"

[SelectUnitRemove]
title = "Unselect unit (all players)"
description = "Command all players to deselect ${unit}"
comment = ""
category = TC_UNITSEL
[[.args]]
type = unit
default = "GetTriggerUnit"

[SelectHeroSkill]
title = "Learning Skills"
description = "Command ${Hero} to learn skills ${Skill}"
comment = "Only valid when the hero has remaining skill points."
category = TC_HERO
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = heroskillcode
default = "HeroSkillBlizzard"

[SetHeroLevelNT]
title = "Upgrade level [R]"
description = "Upgrade the hero level of ${Hero} to ${Level}, ${Show/Hide} upgrade animation"
comment = "The level can only be increased. Hero experience will be reset to the initial value of that level."
script_name = SetHeroLevel
category = TC_HERO
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = integer
default = "2"
min = 1
[[.args]]
type = showhideoption
default = "ShowHideHide"

[UnitStripHeroLevel]
title = "Decrease level [R]"
description = "Decrease ${Hero} ${Level} levels"
comment = "The level can only be lowered. Hero experience will be reset to the initial value of that level."
category = TC_HERO
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = integer
default = "1"
min = 1

[SetHeroLevel]
title = "Set Level"
description = "Set the hero level of ${Hero} to ${Level}, ${Show/Hide} upgrade animation"
comment = "If the level changes, the hero experience will be reset to the initial value of that level."
script_name = SetHeroLevelBJ
category = TC_HERO
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = integer
default = "2"
min = 1
[[.args]]
type = showhideoption
default = "ShowHideHide"

[SetHeroXP]
title = "Set experience value"
description = "Set the experience value of ${Hero} to ${Quantity}, ${Show/Hide} upgrade animation"
comment = "Experience cannot be reversed."
category = TC_HERO
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = integer
default = "4000"
min = 0
[[.args]]
type = showhideoption
default = "ShowHideHide"

[AddHeroXP]
title = "Increase experience points [R]"
description = "Add ${Hero} ${Quantity} experience points, ${Show/Hide} upgrade animation"
comment = "Experience cannot be reversed."
category = TC_HERO
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = integer
default = "1000"
[[.args]]
type = showhideoption
default = "ShowHideHide"

[AddHeroXPSwapped]
title = "Increase experience points"
description = "Add ${Quantity} experience points to ${Hero}, ${Show/Hide} upgrade animation"
comment = "Experience cannot be reversed."
category = TC_HERO
[[.args]]
type = integer
default = "1000"
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = showhideoption
default = "ShowHideHide"

[SuspendHeroXP]
title = "Allow/Prohibit Experience Acquisition [R]"
description = "${Enable/Disable} ${Hero} experience gain"
comment = ""
category = TC_HERO
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = suspendresumeoption_R
default = "SuspendResumeSuspend_R"

[SuspendHeroXPBJ]
title = "Allow/Prohibit Experience Acquisition"
description = "${Enable/Disable} ${Hero} experience gain"
comment = ""
category = TC_HERO
[[.args]]
type = enabledisableoption
default = "EnableDisableDisable"
[[.args]]
type = unit
default = "GetTriggerUnit"

[SetPlayerHandicapXP]
title = "Set experience gain rate [R]"
description = "Set the experience gain rate of ${Player} to be ${Value} times the normal"
comment = ""
category = TC_HERO
[[.args]]
type = player
default = "Player00"
[[.args]]
type = real
default = "1"
min = 0

[SetPlayerHandicapXPBJ]
title = "Set experience gain rate"
description = "Set the experience gain rate of ${Player} to ${Percent}%"
comment = ""
category = TC_HERO
[[.args]]
type = player
default = "Player00"
[[.args]]
type = real
default = "100"
min = 0

[ReviveHero]
title = "Resurrect immediately (specify coordinates) [R]"
description = "Immediately resurrect ${hero} in (${X},${Y}), ${Show/Hide} resurrection animation"
comment = "If the hero is resurrecting at the altar, part of the cost will be refunded (100% by default)."
category = TC_HERO
[[.args]]
type = unit
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = showhideoption
default = "ShowHideHide"

[ReviveHeroLoc]
title = "Resurrection immediately (specified point)"
description = "Immediately resurrect ${hero} at ${specified point}, ${Show/Hide} resurrection animation"
comment = "If the hero is resurrecting at the altar, part of the cost will be refunded (100% by default)."
category = TC_HERO
[[.args]]
type = unit
[[.args]]
type = location
[[.args]]
type = showhideoption
default = "ShowHideHide"

[SetHeroStr]
title = "Set Hero Power [R]"
description = "Set the power of ${Hero} to ${Value}, (${Permanent} permanent reward)"
comment = "Permanent rewards seem to be invalid, so don't care about it."
category = TC_HERO
[[.args]]
type = unit
[[.args]]
type = integer
default = "10"
[[.args]]
type = enabledisableoption
default = "EnableDisableEnable"

[SetHeroAgi]
title = "Set Hero Agility [R]"
description = "Set the agility of ${Hero} to ${Value}, (${Permanent} permanent reward)"
comment = "Permanent rewards seem to be invalid, so don't care about it."
category = TC_HERO
[[.args]]
type = unit
[[.args]]
type = integer
default = "10"
[[.args]]
type = enabledisableoption
default = "EnableDisableEnable"

[SetHeroInt]
title = "Set Hero Intelligence [R]"
description = "Set the intelligence of ${Hero} to ${Value}, (${Permanent} permanent reward)"
comment = "Permanent rewards seem to be invalid, so don't care about it."
category = TC_HERO
[[.args]]
type = unit
[[.args]]
type = integer
default = "10"
[[.args]]
type = enabledisableoption
default = "EnableDisableEnable"

[ModifyHeroStat]
title = "Modify hero attributes"
description = "Modify ${Attribute} to ${Hero}: ${Modify} ${Value} point"
comment = ""
category = TC_HERO
[[.args]]
type = herostat
default = "HeroStatStr"
[[.args]]
type = unit
[[.args]]
type = modifymethod
default = "ModifyMethodAdd"
[[.args]]
type = integer
default = "10"

[UnitModifySkillPoints]
title = "Add remaining skill points [R]"
description = "Add ${Hero} ${Value} remaining skill points"
comment = ""
category = TC_HERO
[[.args]]
type = unit
[[.args]]
type = integer
default = "1"

[ModifyHeroSkillPoints]
title = "Modify remaining skill points"
description = "Modify the remaining skill points of ${hero}: ${Modify} ${Value} points"
comment = ""
category = TC_HERO
[[.args]]
type = unit
[[.args]]
type = modifymethod
default = "ModifyMethodAdd"
[[.args]]
type = integer
default = "1"

[SetReservedLocalHeroButtons]
title = "Keep the hero icon"
description = "Reserve ${Number} top left hero icons for players."
comment = "The icons of other player heroes controlled by the shared unit will start to display after the reserved position."
category = TC_HERO
[[.args]]
type = integer
default = "3"
min = 0
max = 6

[UnitAddItem]
title = "Give Item [R]"
description = "Give ${unit} ${item}"
comment = ""
category = TC_HERO
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = item
default = "GetLastCreatedItem"

[UnitAddItemSwapped]
title = "Give items"
description = "Give ${Item} to ${Unit}"
comment = ""
category = TC_HERO
[[.args]]
type = item
default = "GetLastCreatedItem"
[[.args]]
type = unit
default = "GetTriggerUnit"

[UnitAddItemByIdSwapped]
title = "Create items for heroes"
description = "Create ${item type} for ${unit}"
comment = ""
category = TC_HERO
[[.args]]
type = itemcode
default = "texp"
[[.args]]
type = unit
default = "GetTriggerUnit"

[UnitAddItemToSlotById]
title = "New item to the specified inventory [R]"
description = "Give ${unit} ${item type} and put it in the inventory # ${value}"
comment = "Note: The inventory number is from 0-5, not 1-6. The items created by this action are not recorded by the'last created item'."
category = TC_HERO
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = itemcode
default = "texp"
[[.args]]
type = integer
default = "0"

[UnitRemoveItemSwapped]
title = "Discard items (specified items)"
description = "Discard ${item} from ${unit}"
comment = "The item will be discarded at the feet of the hero."
category = TC_HERO
[[.args]]
type = item
[[.args]]
type = unit

[UnitRemoveItemFromSlotSwapped]
title = "Discard items (specify inventory)"
description = "Discard the item in the ${Index} grid from the inventory, from ${unit}"
comment = "If the item exists, it will be discarded at the feet of the hero."
category = TC_HERO
[[.args]]
type = integer
default = "1"
min = 1
max = 6
[[.args]]
type = unit

[UnitUseItem]
title = "Use item (no target)"
description = "Command ${unit} use ${item}"
comment = ""
category = TC_HERO
[[.args]]
type = unit
[[.args]]
type = item
default = "GetLastCreatedItem"

[UnitUseItemPoint]
title = "Use items (specify coordinates)"
description = "Command ${unit} uses ${item}, target coordinates: (${X},${Y})"
comment = ""
category = TC_HERO
[[.args]]
type = unit
[[.args]]
type = item
default = "GetLastCreatedItem"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"

[UnitUseItemPointLoc]
title = "Use item (specify point)"
description = "Command ${unit} uses ${item}, target point: ${specified point}"
comment = ""
category = TC_HERO
[[.args]]
type = unit
[[.args]]
type = item
default = "GetLastCreatedItem"
[[.args]]
type = location

[UnitUseItemTarget]
title = "Use item (for unit)"
description = "Command ${unit} uses ${item}, target: ${unit}"
comment = ""
category = TC_HERO
[[.args]]
type = unit
[[.args]]
type = item
default = "GetLastCreatedItem"
[[.args]]
type = unit

[UnitUseItemDestructable]
title = "Use items (for destructible objects)"
description = "Command ${unit} uses ${item}, target: ${destructible object}"
comment = ""
script_name = UnitUseItemTarget
category = TC_HERO
[[.args]]
type = unit
[[.args]]
type = item
default = "GetLastCreatedItem"
[[.args]]
type = destructable

[DisplayTextToPlayer]
title = "Display a text message to the player (automatically limited time) [R]"
description = "For ${player}, display text at the screen displacement (${X},${Y}): ${text}"
comment = "The display time depends on the length of the text. The value of the displacement is between 0-1. You can use the'local player' to send messages to all players."
category = TC_GAME
[[.args]]
type = player
default = "Player00"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = StringExt

[DisplayTimedTextToPlayer]
title = "Display a text message to the player (specified time) [R]"
description = "For ${player}, display a text message of ${time} seconds at the screen displacement (${X},${Y}): ${text}"
comment = "The value of the displacement is between 0-1. You can use'local player [R]' to send messages to all players."
category = TC_GAME
[[.args]]
type = player
default = "Player00"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "30"
[[.args]]
type = StringExt

[DisplayTextToForce]
title = "Display a text message to the player group (automatically limited time)"
description = "Send text message to ${player group}: ${text}"
comment = "The display time depends on the length of the text."
category = TC_GAME
[[.args]]
type = force
default = "GetPlayersAll"
[[.args]]
type = StringExt

[DisplayTimedTextToForce]
title = "Display a text message to the player group (specified time)"
description = "Send a text message showing ${Time} seconds to ${player group}: ${text}"
comment = ""
category = TC_GAME
[[.args]]
type = force
default = "GetPlayersAll"
[[.args]]
type = real
default = "30"
min = 0
[[.args]]
type = StringExt

[BJDebugMsg]
title = "Display Debug message [C]"
description = "Display Debug information: ${text}"
comment = "Send a message lasting 60 seconds to the player. Generally used for map debugging."
category = TC_GAME
[[.args]]
type = StringExt

[ClearTextMessagesBJ]
title = "Clear text information (specify player group)"
description = "Clear the text information on the ${player group} screen"
comment = ""
category = TC_GAME
[[.args]]
type = force
default = "GetPlayersAll"

[ClearTextMessages]
title = "Clear text information (all players) [R]"
description = "Clear the text information on the player's screen"
comment = ""
category = TC_GAME
[[.args]]
type = nothing

[PauseGame]
title = "Pause/Resume Game [R]"
description = "${Pause/Resume} Game"
comment = ""
category = TC_GAME
[[.args]]
type = pauseresumeoption
default = "PauseResumePause"

[PauseGameOn]
title = "Pause the game"
description = "Pause the game"
comment = ""
category = TC_GAME
[[.args]]
type = nothing

[PauseGameOff]
title = "Resume game"
description = "Resume game"
comment = ""
category = TC_GAME
[[.args]]
type = nothing

[SetGameSpeed]
title = "Set game speed"
description = "Set the game speed to ${Speed}"
comment = "You can lock the game speed through the'Game-Lock Game Speed' action."
category = TC_GAME
[[.args]]
type = gamespeed
default = "GameSpeedNormal"

[LockGameSpeedBJ]
title = "Lock the game speed"
description = "Lock the game speed"
comment = "You cannot change the game speed after using this action."
category = TC_GAME
[[.args]]
type = nothing

[UnlockGameSpeedBJ]
title = "Unlock game speed"
description = "Unlock game speed"
comment = "remove'game - Lock game speed' lock on game speed."
category = TC_GAME
[[.args]]
type = nothing

[SetMapFlag]
title = "Set map parameters"
description = "Set ${Map Flag} to ${On/Off}"
comment = ""
category = TC_GAME
[[.args]]
type = mapflag
default = "MapFlagUseHandicaps"
[[.args]]
type = onoffoption
default = "OnOffOn"

[SetGameDifficulty]
title = "Set game difficulty [R]"
description = "Set the current game difficulty to ${GameDifficulty}"
comment = "Game difficulty is only used as a reference value for running AI, this function is useless without AI maps."
category = TC_GAME
[[.args]]
type = gamedifficulty
default = "GameDifficultyNormal"

[SetTimeOfDay]
title = "Set game time"
description = "Set the game time to ${Time}"
comment = "The game time uses a 24-hour clock."
category = TC_GAME
[[.args]]
type = real
default = "12"
min = 0
max = 24

[SetTimeOfDayScale]
title = "Set the speed of day and night time [R]"
description = "Set the elapsed speed of day and night time to ${Value} times the default value"
comment = "Set 100% to restore the normal value. This value does not affect the game speed."
category = TC_GAME
[[.args]]
type = real
default = "0"
min = 0

[SetTimeOfDayScalePercentBJ]
title = "Set the speed of day and night time"
description = "Set the elapsed speed of day and night time to the default value of ${Percent}%"
comment = "Set 100% to restore the normal value. This value does not affect the game speed."
category = TC_GAME
[[.args]]
type = real
default = "0"
min = 0

[UseTimeOfDayBJ]
title = "Turn on/off alternate day and night"
description = "${On/Off} alternate day and night"
comment = ""
category = TC_GAME
[[.args]]
type = onoffoption
default = "OnOffOff"

[DoNotSaveReplay]
title = "Turn off game recording function [R]"
description = "Turn off game recording function"
comment = "The game video will not be saved when the game ends."
category = TC_GAME

[Cheat]
title = "Enter cheat code [R]"
description = "Enter cheat code: ${String}"
comment = "The cheat code is only valid on a single machine."
category = TC_GAME
[[.args]]
type = string
default = "\"greedisgood 999999\""

[ShareEverythingWithTeam]
title = "Shared vision and full control"
description = "Set ${Player} to share vision and full control with allies"
comment = "Only effective when the players are allies with each other. At the same time, the players will also gain unit control of their allies."
category = TC_GAME
[[.args]]
type = player
default = "Player00"

[MakeUnitsPassiveForPlayer]
title = "Set the player unit as a neutral victim unit"
description = "Change all units of ${Player} to neutral victimized units"
comment = "The default state is neutral and victimized by all players but not resisted."
category = TC_GAME
[[.args]]
type = player
default = "Player00"

[CustomVictoryBJ]
title = "Game victory"
description = "Set ${Player} victory (${Show/Skip} victory dialog, ${Show/Skip} scoring screen)"
comment = ""
category = TC_GAME
[[.args]]
type = player
default = "Player00"
[[.args]]
type = useskipoption
default = "UseSkipOptionUse"
[[.args]]
type = useskipoption
default = "UseSkipOptionUse"

[CustomDefeatBJ]
title = "Game failed"
description = "Set ${Player} failed with failure message: ${text}"
comment = ""
category = TC_GAME
[[.args]]
type = player
default = "Player00"
[[.args]]
type = StringExt
default = "WESTRING_PEVENT_DEFEAT_MSG"

[SetNextLevelBJ]
title = "Set the next checkpoint"
description = "Set the next checkpoint to ${Level}"
comment = "Set the next checkpoint after the game is over."
category = TC_GAME
[[.args]]
type = string
default = "\"Maps\\MapName.w3m\""

[ChangeLevel]
title = "Switch checkpoint [R]"
description = "Switch to checkpoint: ${Filename} (${Show/Skip} scoring screen)"
comment = ""
category = TC_GAME
[[.args]]
type = anyfile
default = "\"LoadFile.w3z\""
[[.args]]
type = useskipoption
default = "UseSkipOptionSkip"

[SaveGame]
title = "Save progress [R]"
description = "Save game progress as: ${Filename}"
comment = ""
category = TC_GAME
[[.args]]
type = anyfile
default = "\"SaveFile.w3z\""

[LoadGameBJ]
title = "Reading progress"
description = "Read the game progress ${Filename} (${Show/Skip} scoring screen)"
comment = ""
script_name = LoadGame
category = TC_GAME
[[.args]]
type = anyfile
default = "\"LoadFile.w3z\""
[[.args]]
type = useskipoption
default = "UseSkipOptionSkip"

[SaveAndLoadGameBJ]
title = "Save and read progress"
description = "Save the game progress as: ${Filename} and read the progress: ${Filename} (${Show/Skip} scoring screen)"
comment = ""
category = TC_GAME
[[.args]]
type = anyfile
default = "\"SaveFile.w3z\""
[[.args]]
type = anyfile
default = "\"LoadFile.w3z\""
[[.args]]
type = useskipoption
default = "UseSkipOptionSkip"

[SaveAndChangeLevelBJ]
title = "Save and switch checkpoint"
description = "Save the game progress as: ${Filename} and switch to the checkpoint: ${Filename} (${Show/Skip} scoring screen)"
comment = ""
category = TC_GAME
[[.args]]
type = anyfile
default = "\"SaveFile.w3z\""
[[.args]]
type = anyfile
default = "\"Maps\\MapName.w3x\""
[[.args]]
type = useskipoption
default = "UseSkipOptionSkip"

[RenameSaveDirectoryBJ]
title = "Rename archive folder"
description = "Change the name of ${source folder} to ${target folder}"
comment = ""
script_name = RenameSaveDirectory
category = TC_GAME
[[.args]]
type = anyfile
[[.args]]
type = anyfile

[RemoveSaveDirectoryBJ]
title = "Delete archive folder"
description = "Delete ${folder}"
comment = "The contents of the folder will be deleted."
script_name = RemoveSaveDirectory
category = TC_GAME
[[.args]]
type = anyfile

[CopySaveGameBJ]
title = "Copy archive file"
description = "Copy ${source file} and save as ${target file}"
comment = "This action is only valid in response to'save/read progress', and can be used up to 16 times in each event."
script_name = CopySaveGame
category = TC_GAME
[[.args]]
type = anyfile
[[.args]]
type = anyfile

[SetCampaignMenuRaceBJ]
title = "Set the background of the campaign"
description = "Set the background of the campaign to ${Campaign}"
comment = ""
category = TC_GAME
[[.args]]
type = campaignindex
default = "CampaignIndexH"

[SetMissionAvailableBJ]
title = "Allow/Prohibit checkpoint"
description = "${Enable/Disable} ${Mission}"
comment = ""
category = TC_GAME
[[.args]]
type = enabledisableoption
default = "EnableDisableEnable"
[[.args]]
type = missionindex
default = "MissionIndexH01"

[SetCampaignAvailableBJ]
title = "Allow/Prohibit Campaign"
description = "${Enable/Disable}  ${Campaign}"
comment = ""
category = TC_GAME
[[.args]]
type = enabledisableoption
default = "EnableDisableEnable"
[[.args]]
type = campaignindex
default = "CampaignIndexH"

[SetCinematicAvailableBJ]
title = "Allow/Prohibit Opening Movie"
description = "${Enable/Disable} ${Cinematic}"
comment = ""
category = TC_GAME
[[.args]]
type = enabledisableoption
default = "EnableDisableEnable"
[[.args]]
type = cinematicindex
default = "CinematicIndexHED"

[ShowCustomCampaignButton]
title = "Show/Hide Custom Campaign Button"
description = "${Show/Hide} custom campaign button #${Number}"
comment = ""
category = TC_GAME
[[.args]]
type = showhideoption
default = "ShowHideShow"
[[.args]]
type = integer
default = "1"
min = 1

[DisableRestartMission]
title = "Disable the restart task button"
description = "Set the restart task button to click as ${}"
comment = "When playing a single player, you can set whether the restart task button can be clicked."
category = TC_GAME
[[.args]]
type = boolean
default = "false"

[SetAllyColorFilterState]
title = "Set alliance color display"
description = "Set the alliance color display state to ${State}"
comment = "0 means not open. 1 means the minimap is displayed. 2 means both the minimap and the game are displayed. It is equivalent to the Alt+A function in the game."
category = TC_GAME
[[.args]]
type = integer
default = "0"
min = 0
max = 2

[SetCreepCampFilterState]
title = "Set the display of neutral creatures on the minimap"
description = "Minimap ${Show/Hide} neutral creature"
comment = "Equivalent to the Alt+R function in the game."
category = TC_GAME
[[.args]]
type = showhideoption
default = "ShowHideHide"

[EnableMinimapFilterButtons]
title = "Allow/disable the minimap button"
description = "${Enable/Disable} Alliance color display button, ${Enable/Disable} Neutral creature display button"
comment = ""
category = TC_GAME
[[.args]]
type = enabledisableoption
default = "EnableDisableDisable"
[[.args]]
type = enabledisableoption
default = "EnableDisableDisable"

[EnableSelect]
title = "Allow/Disable Selection"
description = "${Enable/Disable} select and deselect functions (${Enable/Disable} show selection circle)"
comment = "After the selection is disabled, you can still select objects by triggering. The selection circle will only be displayed when the selection function is allowed."
category = TC_GAME
[[.args]]
type = enabledisableoption
default = "EnableDisableEnable"
[[.args]]
type = enabledisableoption
default = "EnableDisableEnable"

[EnableDragSelect]
title = "Allow/disable box selection"
description = "${Enable/Disable} check box function (${Enable/Disable} show check box)"
comment = ""
category = TC_GAME
[[.args]]
type = enabledisableoption
default = "EnableDisableEnable"
[[.args]]
type = enabledisableoption
default = "EnableDisableEnable"

[EnablePreSelect]
title = "Allow/disable preselection"
description = "${Enable/Disable} preselection function (${Enable/Disable} displays preselection circle, life slot, object information)"
comment = ""
category = TC_GAME
[[.args]]
type = enabledisableoption
default = "EnableDisableEnable"
[[.args]]
type = enabledisableoption
default = "EnableDisableEnable"

[ForceUIKeyBJ]
title = "Force button"
description = "Command ${Player} press ${Key} key"
comment = ""
category = TC_GAME
[[.args]]
type = player
default = "Player00"
[[.args]]
type = string
default = "\"A\""

[ForceUICancelBJ]
title = "Force Press Esc"
description = "Command ${Player} press Esc key"
comment = ""
category = TC_GAME
[[.args]]
type = player
default = "Player00"

[Preload]
title = "Preload file"
description = "Preload ${file}"
comment = "You can load the file in advance and load it into the game memory to speed up the game."
category = TC_GAME
[[.args]]
type = anyfile

[PreloadEnd]
title = "Start preloading"
description = "Start preload, set timeout for ${Time} seconds"
comment = "Load the file into the game memory."
category = TC_GAME
[[.args]]
type = real
default = "0.5"

[Preloader]
title = "Batch preload"
description = "Preload all files listed in ${file}"
comment = ""
category = TC_GAME
[[.args]]
type = preloadfile

[InitGameCacheBJ]
title = "Create game cache"
description = "Create game cache, use file name: ${Filename}"
comment = ""
category = TC_GAMECACHE
[[.args]]
type = string
default = "\"MapName.w3v\""

[SaveGameCacheBJ]
title = "Save game cache locally"
description = "Save ${Game Cache} to local hard drive"
comment = "Only valid for stand-alone games, save cached data to the local hard disk, mainly used to realize data transfer between battle checkpoint."
script_name = SaveGameCache
category = TC_GAMECACHE
[[.args]]
type = gamecache
default = "GetLastCreatedGameCacheBJ"

[StoreUnitBJ]
title = "Record Unit"
description = "Record ${unit}, use name: ${text} Category name: ${Category} Cache: ${Game Cache}"
comment = "Use'Game Cache-Read Unit' to read the value. The name and category name cannot contain spaces."
category = TC_GAMECACHE
[[.args]]
type = unit
[[.args]]
type = string
[[.args]]
type = string
default = "\"Category\""
[[.args]]
type = gamecache
default = "GetLastCreatedGameCacheBJ"

[StoreReal]
title = "Record real number"
description = "Cache: ${Game Cache} Category name: ${Category} Use name: ${text} Record: ${real number}"
comment = "Use'Game Cache-Read Real Number' to read the value. The name and category name cannot contain spaces."
category = TC_GAMECACHE
[[.args]]
type = gamecache
default = "GetLastCreatedGameCacheBJ"
[[.args]]
type = string
default = "\"Category\""
[[.args]]
type = string
[[.args]]
type = real

[StoreInteger]
title = "Record Integer"
description = "Cache: ${Game Cache} Category name: ${Category} Use name: ${Text} Record: ${Integer}"
comment = "Use'Game Cache-Read Integer' to read the value. The name and category name cannot contain spaces."
category = TC_GAMECACHE
[[.args]]
type = gamecache
default = "GetLastCreatedGameCacheBJ"
[[.args]]
type = string
[[.args]]
type = string
[[.args]]
type = integer

[StoreBoolean]
title = "Record Boolean"
description = "Cache: ${Game Cache} Category name: ${Category} Use name: ${text} Record: ${Boolean value}"
comment = "Use'Game Cache-Read Boolean' to read the value. The name and category name cannot contain spaces."
category = TC_GAMECACHE
[[.args]]
type = gamecache
default = "GetLastCreatedGameCacheBJ"
[[.args]]
type = string
default = "\"Category\""
[[.args]]
type = string
[[.args]]
type = boolean

[StoreString]
title = "Record string"
description = "Cache: ${Game Cache} Category Name: ${Category} Use Name: ${Text} Record: ${String}"
comment = "Use'Game Cache-Read String' to read the value. The name and category name cannot contain spaces."
category = TC_GAMECACHE
[[.args]]
type = gamecache
default = "GetLastCreatedGameCacheBJ"
[[.args]]
type = string
default = "\"Category\""
[[.args]]
type = string
[[.args]]
type = string

[RestoreUnitLocFacingAngleBJ]
title = "Reading unit (face angle)"
description = "Read the unit from the cache, name: ${text} Category name: ${Category} Cache: ${Game Cache}, player: ${Player} Creation point: ${point} Orientation angle: ${Angle }"
comment = "Use the'last read unit' to get the unit. If the cache data does not exist, the'last read unit' will be set to null."
category = TC_GAMECACHE
[[.args]]
type = string
[[.args]]
type = string
default = "\"Category\""
[[.args]]
type = gamecache
default = "GetLastCreatedGameCacheBJ"
[[.args]]
type = player
default = "Player00"
[[.args]]
type = location
[[.args]]
type = degree
default = "0"

[RestoreUnitLocFacingPointBJ]
title = "Reading unit (point-oriented)"
description = "Read the unit from the cache, name: ${text} Category name: ${Category} Cache: ${Game Cache}, player: ${Player} Creation point: ${point} Orientation: ${specified point }"
comment = "Use the'last read unit' to get the unit. If the cache data does not exist, the'last read unit' will be set to null."
category = TC_GAMECACHE
[[.args]]
type = string
[[.args]]
type = string
default = "\"Category\""
[[.args]]
type = gamecache
default = "GetLastCreatedGameCacheBJ"
[[.args]]
type = player
default = "Player00"
[[.args]]
type = location
[[.args]]
type = location

[ReloadGameCachesFromDisk]
title = "Read local cache data"
description = "Read cache data from local hard drive"
comment = "Only valid for stand-alone games, read cached data from the local hard disk, mainly used to realize data transfer between battle checkpoint."
category = TC_GAMECACHE
[[.args]]
type = nothing

[FlushGameCacheBJ]
title = "Delete cache"
description = "Delete ${GameCache}"
comment = "Delete and clear all data in this cache."
script_name = FlushGameCache
category = TC_GAMECACHE
[[.args]]
type = gamecache
default = "GetLastCreatedGameCacheBJ"

[FlushStoredMission]
title = "Delete category"
description = "Delete the ${Category} category in the cache ${GameCache}"
comment = "Clear all cached data under this category."
category = TC_GAMECACHE
[[.args]]
type = gamecache
default = "GetLastCreatedGameCacheBJ"
[[.args]]
type = string
default = "\"Category\""

[InitHashtableBJ]
title = "<1.24> New Hash Table"
description = "Create a new hash table"
comment = "You can use a hash table to store temporary data"
category = TC_HASHTABLE

[InitHashtable]
title = "<1.24> New Hash Table [C]"
description = "Create a new hash table"
comment = "You can use a hash table to store temporary data"
category = TC_HASHTABLE

[SaveRealBJ]
title = "<1.24> Save real numbers"
description = "Save the real number ${Value} in the sub-index ${Value} and the main index ${Value} is located in ${Hashtable}"
comment = "Use'Hash Table-Extract Real Numbers from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = real
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveReal]
title = "<1.24> Save real number [C]"
description = "Save the real number ${Value} in the main index ${Value} sub-index ${Value} of ${Hashtable}"
comment = "Use'Hash Table-Extract Real Numbers from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = real

[SaveIntegerBJ]
title = "<1.24> save integer"
description = "Save the integer ${Value} in the sub-index ${Value} and the main index ${Value} is within ${Hashtable}"
comment = "Use'Hash Table-Extract Integer from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveInteger]
title = "<1.24> save integer [C]"
description = "Save the integer ${Value} in the main index ${Value} of ${Hashtable} and the sub index ${Value}"
comment = "Use'Hash Table-Extract Integer from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = integer

[SaveBooleanBJ]
title = "<1.24> Save Boolean"
description = "Save the boolean ${Value} in the sub-index ${Value} and the main index ${Value} is within ${Hashtable}"
comment = "Use'Hash Table-Extract Boolean from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = boolean
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveBoolean]
title = "<1.24> Save Boolean [C]"
description = "Save the boolean ${Value} in the main index ${Value} of ${Hashtable} and the sub index ${Value}"
comment = "Use'Hash Table-Extract Boolean from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = boolean

[SaveStringBJ]
title = "<1.24> save string"
description = "Save the string ${Value} in the sub-index ${Value} and the main index ${Value} is located in ${Hashtable}"
comment = "Use'Hash Table-Extract String from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = string
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveStr]
title = "<1.24> Save string [C]"
description = "Save the string ${Value} in the main index ${Value} sub-index ${Value} of ${Hashtable}"
comment = "Use'Hash Table-Extract String from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = string

[SaveAgentHandle]
title = "<1.24> Save Entity Object [C]"
description = "Save the object ${Value} in the main index ${Value} sub-index ${Value} of ${Hashtable}"
comment = "Entity objects are all objects that need to calculate the number of variable connections"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = agent

[SavePlayerHandleBJ]
title = "<1.24> Save player"
description = "Save player ${Player} in sub-index ${Value} and main index ${Value} is in ${Hashtable}"
comment = "Use'Hash Table-Extract Player from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = player
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SavePlayerHandle]
title = "<1.24> Save player [C]"
description = "Save the player ${Value} in the main index ${Value} sub-index ${Value} of ${Hashtable}"
comment = "Use'Hash Table-Extract Player from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = player

[SaveDestructableHandleBJ]
title = "<1.24> Save Destructible Objects"
description = "Save the destructable ${Destructable} in the sub-index ${Value}, the main index ${Value} is located in ${Hashtable}"
comment = "Use'Hash Table-Extract Destructibles from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = destructable
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveDestructableHandle]
title = "<1.24> Save Destructible Object [C]"
description = "Save the destructible ${Value} in the main index ${Value} of ${Hashtable} and the sub index ${Value}"
comment = "Use'Hash Table-Extract Destructibles from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = destructable

[SaveItemHandleBJ]
title = "<1.24> Save item"
description = "Save the item ${Item} in the sub-index ${Value} and the main index ${Value} is located in ${Hashtable}"
comment = "Use'Hash Table-Extract Item from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = item
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveItemHandle]
title = "<1.24> Save Item [C]"
description = "Save the item ${Value} in the main index ${Value} sub-index ${Value} of ${Hashtable}"
comment = "Use'Hash Table-Extract Item from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = item

[SaveUnitHandleBJ]
title = "<1.24> Save unit"
description = "Save the unit ${Unit} in the sub-index ${Value}, the main index ${Value} is located in ${Hashtable}"
comment = "Use'Hash Table-Extract Unit from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = unit
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveUnitHandle]
title = "<1.24> Save Unit [C]"
description = "Save the unit ${Value} in the main index ${Value} sub-index ${Value} of ${Hashtable}"
comment = "Use'Hash Table-Extract Unit from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = unit

[YDWESaveAbilityHandleBJ]
title = "<1.24> Save skills"
description = "Save skill ${Ability} in sub-index ${Value} main index ${Value} is located in ${Hashtable}"
comment = "Use'Hash Table-Extract Skill from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = abilcode
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[YDWESaveAbilityHandle]
title = "<1.24> Save Skill [C]"
description = "Save the skill ${Value} in the main index ${Value} sub-index ${Value} of ${Hashtable}"
comment = "Use'Hash Table-Extract Skill from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
default = "1"
[[.args]]
type = integer
default = "1"
[[.args]]
type = abilcode

[SaveTimerHandleBJ]
title = "<1.24> Save timer"
description = "Save the timer ${Timer} in the sub-index ${Value} and the main index ${Value} is in ${Hashtable}"
comment = "Use'Hash Table-Extract Timer from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = timer
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveTimerHandle]
title = "<1.24> Save timer [C]"
description = "Save the timer ${Value} in the main index ${Value} sub-index ${Value} of ${Hashtable}"
comment = "Use'Hash Table-Extract Timer from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = timer

[SaveTriggerHandleBJ]
title = "<1.24> Save Trigger"
description = "Save trigger ${Trigger} in sub index ${Value} main index ${Value} is located in ${Hashtable}"
comment = "Use'Hash Table-Extract Trigger from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = trigger
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveTriggerHandle]
title = "<1.24> Save trigger [C]"
description = "Save trigger ${Value} in the main index ${Value} of ${Hashtable} and the sub index ${Value}"
comment = "Use'Hash Table-Extract Trigger from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = trigger

[SaveTriggerConditionHandleBJ]
title = "<1.24> Save trigger conditions"
description = "Save the trigger condition ${Triggercondition} in the sub-index ${Value} of ${Value} within ${Hashtable}"
comment = "Use'Hash Table-Extract Trigger Condition from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = triggercondition
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveTriggerConditionHandle]
title = "<1.24> Save trigger condition [C]"
description = "Save the trigger condition ${Value} in the main index ${Value} of ${Hashtable} and the sub index ${Value}"
comment = "Use'Hash Table-Extract Trigger Condition from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = triggercondition

[SaveTriggerActionHandleBJ]
title = "<1.24> Save the trigger action"
description = "Save the trigger action ${Triggeraction} in the sub-index ${Value}, the main index ${Value} is located in ${Hashtable}"
comment = "Use'Hash Table-Extract Triggered Action from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = triggeraction
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveTriggerActionHandle]
title = "<1.24> Save the trigger action [C]"
description = "Save the trigger action ${Value} in the main index ${Value} sub-index ${Value} of ${Hashtable}"
comment = "Use'Hash Table-Extract Triggered Action from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = triggeraction

[SaveTriggerEventHandleBJ]
title = "<1.24> Save trigger event"
description = "Save the trigger event ${Event} in the sub-index ${Value} and the main index ${Value} is located in ${Hashtable}"
comment = "Use'hash table-extract trigger event from hash table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = event
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveTriggerEventHandle]
title = "<1.24> Save trigger event [C]"
description = "Save the trigger event ${Value} in the main index ${Value} of ${Hashtable} and the sub index ${Value}"
comment = "Use'hash table-extract trigger event from hash table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = event

[SaveForceHandleBJ]
title = "<1.24> Save player group"
description = "Save the player group ${Force} in the sub-index ${Value}, the main index ${Value} is located in ${Hashtable}"
comment = "Use'Hash Table-Extract Player Group from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = force
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveForceHandle]
title = "<1.24> Save player group [C]"
description = "Save the player group ${Value} in the main index ${Value} sub-index ${Value} of ${Hashtable}"
comment = "Use'Hash Table-Extract Player Group from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = force

[SaveGroupHandleBJ]
title = "<1.24> Save unit group"
description = "Save the unit group ${Group} in the sub-index ${Value} and the main index ${Value} is located in ${Hashtable}"
comment = "Use'Hash Table-Extract Unit Group from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = group
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveGroupHandle]
title = "<1.24> Save unit group [C]"
description = "Save the unit group ${Value} in the main index ${Value} of ${Hashtable} and the sub index ${Value}"
comment = "Use'Hash Table-Extract Unit Group from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = group

[SaveLocationHandleBJ]
title = "<1.24> save point"
description = "The save point ${Location} is in the sub-index ${Value} and the main index ${Value} is located in ${Hashtable}"
comment = "Use'Hash Table-Extract Point from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = location
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveLocationHandle]
title = "<1.24> Save Point [C]"
description = "Save the point ${Value} in the main index ${Value} sub-index ${Value} of ${Hashtable}"
comment = "Use'Hash Table-Extract Point from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = location

[SaveRegionHandleBJ]
title = "<1.24> Save area (irregular)"
description = "Save area (irregular) ${Region} in sub-index ${Value} main index ${Value} is located in ${Hashtable}"
comment = "Use'Hash table-Extract area from hash table (irregular)' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = region
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveRegionHandle]
title = "<1.24> Save area (irregular) [C]"
description = "Save area (irregular) ${Value} in the main index ${Value} of ${Hashtable} and the sub index ${Value}"
comment = "Use'Hash table-Extract area from hash table (irregular)' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = region

[SaveRectHandleBJ]
title = "<1.24> Save area (rectangle)"
description = "Save area (rectangular) ${Rect} is in sub-index ${Value} and main index ${Value} is located in ${Hashtable}"
comment = "Use'Hash Table-Extract Area from Hash Table (Rectangle)' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = rect
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveRectHandle]
title = "<1.24> Save area (rectangular) [C]"
description = "Save area (rectangular) ${Value} in the main index ${Value} of ${Hashtable} and the sub index ${Value}"
comment = "Use'Hash Table-Extract Area from Hash Table (Rectangle)' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = rect

[SaveBooleanExprHandleBJ]
title = "<1.24> Save Boolean expression"
description = "Save the boolean expression ${Boolexpr} in the sub-index ${Value} and the main index ${Value} is located within ${Hashtable}"
comment = "Use'Hash Table-Extract Boolean Expression from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = boolexpr
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveBooleanExprHandle]
title = "<1.24> Save Boolean expression [C]"
description = "Save the boolean expression ${Value} in the main index ${Value} of ${Hashtable} and the sub index ${Value}"
comment = "Use'Hash Table-Extract Boolean Expression from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = boolexpr

[SaveSoundHandleBJ]
title = "<1.24> Save sound effects"
description = "Save sound effect ${Sound} in sub-index ${Value} main index ${Value} is located in ${Hashtable}"
comment = "Use'Hash Table-Extract Sound Effects from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = sound
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveSoundHandle]
title = "<1.24> Save sound effect [C]"
description = "Save the sound effect ${Value} in the main index ${Value} sub-index ${Value} of ${Hashtable}"
comment = "Use'Hash Table-Extract Sound Effects from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = sound

[SaveEffectHandleBJ]
title = "<1.24> Save special effects"
description = "Save the special effect ${Effect} in the sub-index ${Value} and the main index ${Value} is located in ${Hashtable}"
comment = "Use'Hash Table-Extract Special Effects from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = effect
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveEffectHandle]
title = "<1.24> Save Special Effects [C]"
description = "Save the special effect ${Value} in the main index ${Value} of ${Hashtable} and the sub index ${Value}"
comment = "Use'Hash Table-Extract Special Effects from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = effect

[SaveUnitPoolHandleBJ]
title = "<1.24> Save Unit Pool"
description = "Save the unit pool ${Unitpool} in the sub-index ${Value} and the main index ${Value} is located in ${Hashtable}"
comment = "Use'Hash Table-Extract Unit Pool from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = unitpool
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveUnitPoolHandle]
title = "<1.24> Save Unit Pool [C]"
description = "Save the unit pool ${Value} in the main index ${Value} sub-index ${Value} of ${Hashtable}"
comment = "Use'Hash Table-Extract Unit Pool from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = unitpool

[SaveItemPoolHandleBJ]
title = "<1.24> Save Item Pool"
description = "Save the item pool ${Itempool} in the sub-index ${Value} and the main index ${Value} is located in ${Hashtable}"
comment = "Use'Hash Table-Extract Item Pool from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = itempool
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveItemPoolHandle]
title = "<1.24> Save Item Pool [C]"
description = "Save the item pool ${Value} in the main index ${Value} sub-index ${Value} of ${Hashtable}"
comment = "Use'Hash Table-Extract Item Pool from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = itempool

[SaveQuestHandleBJ]
title = "<1.24> Save task"
description = "Save the task ${Quest} in the sub-index ${Value} and the main index ${Value} is located in ${Hashtable}"
comment = "Use'Hash Table-Extract Task from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = quest
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveQuestHandle]
title = "<1.24> Save task [C]"
description = "Save the task ${Value} in the main index ${Value} sub-index ${Value} of ${Hashtable}"
comment = "Use'Hash Table-Extract Task from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = quest

[SaveQuestItemHandleBJ]
title = "<1.24> Save task requirements"
description = "The saving task requires ${Questitem} in the sub-index ${Value} and the main index ${Value} is located in ${Hashtable}"
comment = "Use'Hash Table-Extract Task Requirements from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = questitem
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveQuestItemHandle]
title = "<1.24> Save task request [C]"
description = "Save the task requirement ${Value} in the main index ${Value} of ${Hashtable} and the sub index ${Value}"
comment = "Use'Hash Table-Extract Task Requirements from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = questitem

[SaveDefeatConditionHandleBJ]
title = "<1.24> Save failure condition"
description = "The saving failure condition ${Defeatcondition} is in the sub-index ${Value} and the main index ${Value} is in ${Hashtable}"
comment = "Use'hash table-extraction failure condition from hash table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = defeatcondition
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveDefeatConditionHandle]
title = "<1.24> Save failed condition [C]"
description = "Save the failure condition ${Value} in the main index ${Value} sub-index ${Value} of ${Hashtable}"
comment = "Use'hash table-extraction failure condition from hash table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = defeatcondition

[SaveTimerDialogHandleBJ]
title = "<1.24> Save the timer window"
description = "Save the timer window ${Timerdialog} in the sub-index ${Value} and the main index ${Value} is located in ${Hashtable}"
comment = "Use'Hash Table-Extract Timer Window from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = timerdialog
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveTimerDialogHandle]
title = "<1.24> Save timer window [C]"
description = "Save the timer window ${Value} in the main index ${Value} sub-index ${Value} of ${Hashtable}"
comment = "Use'Hash Table-Extract Timer Window from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = timerdialog

[SaveLeaderboardHandleBJ]
title = "<1.24> Save the leaderboard"
description = "Save the leaderboard ${Leaderboard} in the sub-index ${Value} and the main index ${Value} is within ${Hashtable}"
comment = "Use'Hash Table-Extract Leaderboard from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = leaderboard
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveLeaderboardHandle]
title = "<1.24> Save leaderboard [C]"
description = "Save the leaderboard ${Value} in the main index ${Value} sub-index ${Value} of ${Hashtable}"
comment = "Use'Hash Table-Extract Leaderboard from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = leaderboard

[SaveMultiboardHandleBJ]
title = "<1.24> Save multiple panels"
description = "Save multi-board ${Multiboard} in sub-index ${Value} main index ${Value} is located in ${Hashtable}"
comment = "Use'Hash Table-Extract Multiple Panels from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = multiboard
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveMultiboardHandle]
title = "<1.24> Save Multi Panel [C]"
description = "Save multi-panel ${Value} in the main index ${Value} sub-index ${Value} of ${Hashtable}"
comment = "Use'Hash Table-Extract Multiple Panels from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = multiboard

[SaveMultiboardItemHandleBJ]
title = "<1.24> Save multi-panel project"
description = "Save the multi-board item ${Multiboarditem} in the sub-index ${Value} and the main index ${Value} is located in ${Hashtable}"
comment = "Use'Hash Table-Extract Multi Panel Items from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = multiboarditem
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveMultiboardItemHandle]
title = "<1.24> Save multi-panel project [C]"
description = "Save the multi-panel project ${Value} in the main index ${Value} of ${Hashtable} and the sub index ${Value}"
comment = "Use'Hash Table-Extract Multi Panel Items from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = multiboarditem

[SaveTrackableHandleBJ]
title = "<1.24> Save traceable objects"
description = "Save the trackable ${Trackable} in the sub-index ${Value} and the main index ${Value} is located in ${Hashtable}"
comment = "Use'Hash Table-Extract Traceable from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = trackable
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveTrackableHandle]
title = "<1.24> Save Traceable Object [C]"
description = "Store traceable objects ${Value} in the main index ${Value} of ${Hashtable} and sub-index ${Value}"
comment = "Use'Hash Table-Extract Traceable from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = trackable

[SaveDialogHandleBJ]
title = "<1.24> Save Dialog box"
description = "Save the dialog ${Dialog} in the sub-index ${Value} and the main index ${Value} is located in ${Hashtable}"
comment = "Use the'Hash Table-Extract from Hash Table dialog box' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = dialog
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveDialogHandle]
title = "<1.24> Save dialog box [C]"
description = "Save the dialog box ${Value} in the main index ${Value} sub-index ${Value} of ${Hashtable}"
comment = "Use the'Hash Table-Extract from Hash Table dialog box' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = dialog

[SaveButtonHandleBJ]
title = "<1.24> Save dialog button"
description = "Save the dialog button ${Button} in the sub-index ${Value} and the main index ${Value} is located in ${Hashtable}"
comment = "Use'Hash Table-Extract from Hash Table dialog button' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = button
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveButtonHandle]
title = "<1.24> Save dialog button [C]"
description = "Save the dialog button ${Value} in the main index ${Value} sub-index ${Value} of ${Hashtable}"
comment = "Use'Hash Table-Extract from Hash Table dialog button' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = button

[SaveTextTagHandleBJ]
title = "<1.24> Save floating text"
description = "Save floating text ${Texttag} in sub-index ${Value} main index ${Value} is located in ${Hashtable}"
comment = "Use'Hash Table-Extract Floating Text from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = texttag
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveTextTagHandle]
title = "<1.24> Save floating text [C]"
description = "Save floating text ${Value} in the main index ${Value} of ${Hashtable} and sub index ${Value}"
comment = "Use'Hash Table-Extract Floating Text from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = texttag

[SaveLightningHandleBJ]
title = "<1.24> Save lightning effect"
description = "Save the lightning effect ${Lightning} in the sub-index ${Value}, the main index ${Value} is located in ${Hashtable}"
comment = "Use'Hash Table-Extract Lightning Effect from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = lightning
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveLightningHandle]
title = "<1.24> Save lightning effect [C]"
description = "Save the lightning effect ${Value} in the main index ${Value} of ${Hashtable} and the sub index ${Value}"
comment = "Use'Hash Table-Extract Lightning Effect from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = lightning

[SaveImageHandleBJ]
title = "<1.24> Save image"
description = "Save image ${Image} in sub-index ${Value} main index ${Value} is located in ${Hashtable}"
comment = "Use'Hash Table-Extract Image from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = image
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveImageHandle]
title = "<1.24> Save image [C]"
description = "Save image ${Value} in main index ${Value} of ${Hashtable} and sub index ${Value}"
comment = "Use'Hash Table-Extract Image from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = image

[SaveUbersplatHandleBJ]
title = "<1.24> Save ground texture changes"
description = "Save ground texture changes ${Ubersplat} in sub-index ${Value} main index ${Value} is located in ${Hashtable}"
comment = "Use'Hash Table-Extract Ground Texture Changes from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = ubersplat
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveUbersplatHandle]
title = "<1.24> Save ground texture changes [C]"
description = "Save the ground texture change ${Value} in the main index ${Value} of ${Hashtable} and the sub index ${Value}"
comment = "Use'Hash Table-Extract Ground Texture Changes from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = ubersplat

[SaveFogStateHandleBJ]
title = "<1.24> Save the fog state"
description = "Save the fog state ${Fogstate} in the sub-index ${Value} and the main index ${Value} is located in ${Hashtable}"
comment = "Use'Hash table-extract fog state from hash table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = fogstate
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveFogStateHandle]
title = "<1.24> Save the fog state [C]"
description = "Save the fog state ${Value} in the main index ${Value} sub-index ${Value} of ${Hashtable}"
comment = "Use'Hash table-extract fog state from hash table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = fogstate

[SaveFogModifierHandleBJ]
title = "<1.24> Save the visibility modifier"
description = "Save visibility modifier ${Fogmodifier} in sub-index ${Value} main index ${Value} is located in ${Hashtable}"
comment = "Use'Hash Table-Extract Visibility modifier from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = fogmodifier
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[SaveFogModifierHandle]
title = "<1.24> Save Visibility modifier [C]"
description = "Save the visibility modifier ${Value} in the main index ${Value} of ${Hashtable} and the sub index ${Value}"
comment = "Use'Hash Table-Extract Visibility modifier from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = fogmodifier

[SaveHashtableHandle]
title = "<1.24> Save hash table [C]"
description = "Save the hash table ${Value} in the main index ${Value} of ${Hashtable} and the sub index ${Value}"
comment = "Use'Hash Table-Extract Hash Table from Hash Table' to retrieve the saved value"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "bj_lastCreatedHashtable"

[FlushParentHashtableBJ]
title = "<1.24> Clear the hash table"
description = "<1.24> Clear ${Hashtable}"
comment = "Clear all data in the hash table"
script_name = FlushParentHashtable
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[FlushParentHashtable]
title = "<1.24> Clear the hash table [C]"
description = "Clear ${Hashtable}"
comment = "Clear all data in the hash table"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[FlushChildHashtableBJ]
title = "<1.24> Clear the main index of the hash table"
description = "<1.24> Clear ${Value} is within ${Hashtable}"
comment = "Clear all data under the main index of the hash table"
category = TC_HASHTABLE
[[.args]]
type = integer
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"

[FlushChildHashtable]
title = "<1.24> Clear the main index of the hash table [C]"
description = "Clear all data in ${Hashtable} located in the main index ${Value}"
comment = "Clear all data under the main index of the hash table"
category = TC_HASHTABLE
[[.args]]
type = hashtable
default = "GetLastCreatedHashtableBJ"
[[.args]]
type = integer

[AddResourceAmountBJ]
title = "Increase gold reserves"
description = "Add ${Quantity} gold reserves to ${gold mine}"
comment = "Use negative numbers to reduce gold reserves."
category = TC_NEUTRALBUILDING
[[.args]]
type = integer
default = "5000"
[[.args]]
type = unit

[SetResourceAmount]
title = "Set up gold reserves"
description = "Set the gold reserves of ${Gold Mine} to ${Quantity}"
comment = ""
category = TC_NEUTRALBUILDING
[[.args]]
type = unit
[[.args]]
type = integer
default = "12500"
min = 0

[BlightGoldMineForPlayer]
title = "Create an undead gold mine (immediately)"
description = "Turning ${Gold Mine} into the Undead Gold Mine of ${Player}"
comment = "The gold reserves of the gold mine will not change."
category = TC_NEUTRALBUILDING
[[.args]]
type = unit
[[.args]]
type = player
default = "Player00"

[WaygateActivateBJ]
title = "Enable/Disable Portal"
description = "${Enable/Disable} ${Portal}"
comment = ""
category = TC_NEUTRALBUILDING
[[.args]]
type = enabledisableoption
default = "EnableDisableEnable"
[[.args]]
type = unit

[WaygateSetDestination]
title = "Set the coordinates of the portal [R]"
description = "Set the destination of ${portal} to (${X},${Y})"
comment = ""
category = TC_NEUTRALBUILDING
[[.args]]
type = unit
[[.args]]
type = real
default = "0"
[[.args]]
type = real
default = "0"

[WaygateSetDestinationLocBJ]
title = "Set the destination of the portal"
description = "Set the destination of ${Portal} to ${Target}"
comment = ""
category = TC_NEUTRALBUILDING
[[.args]]
type = unit
[[.args]]
type = location

[SetAltMinimapIcon]
title = "Set special logo for minimap"
description = "Set the special flag of the minimap to ${Image}"
comment = "A 16x16 image must be used."
category = TC_NEUTRALBUILDING
[[.args]]
type = imagefile
default = "\"UI\\Minimap\\Minimap-Tower\""

[UnitSetUsesAltIconBJ]
title = "Turn on/off the special logo of the minimap"
description = "${On/Off} ${Unit} special logo on the minimap"
comment = "Use the action of'Neutral Building-Set Small Map Special Logo' to set the displayed logo. The default is the neutral building logo."
category = TC_NEUTRALBUILDING
[[.args]]
type = onoffoption
default = "OnOffOn"
[[.args]]
type = unit

[AddItemToStockBJ]
title = "Add item (specified market)"
description = "Add ${item type} to ${Marketplace} and set inventory: ${Count} Maximum inventory: ${Max}"
comment = "Only affect units with the'Sell Items' skill."
category = TC_NEUTRALBUILDING
[[.args]]
type = itemcode
default = "texp"
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = integer
default = "0"
[[.args]]
type = integer
default = "1"

[AddItemToAllStock]
title = "Add item (all markets)"
description = "Add ${item type} to all markets and set inventory: ${Count} Maximum inventory: ${Max}"
comment = "Affects all units with the'Sell Items' skill."
category = TC_NEUTRALBUILDING
[[.args]]
type = itemcode
default = "texp"
[[.args]]
type = integer
default = "0"
[[.args]]
type = integer
default = "1"

[AddUnitToStockBJ]
title = "Add unit (specify market)"
description = "Add ${unit type} to ${Marketplace} and set inventory: ${Count} Maximum inventory: ${Max}"
comment = "Only affect units with the'Sell Units' skill."
category = TC_NEUTRALBUILDING
[[.args]]
type = unitcode
default = "hfoo"
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = integer
default = "0"
[[.args]]
type = integer
default = "1"

[AddUnitToAllStock]
title = "Add unit (all markets)"
description = "Add ${unit type} to all markets and set inventory: ${Count} Maximum inventory: ${Max}"
comment = "Affects all units with the'Sell Units' skill."
category = TC_NEUTRALBUILDING
[[.args]]
type = unitcode
default = "hfoo"
[[.args]]
type = integer
default = "0"
[[.args]]
type = integer
default = "1"

[RemoveItemFromStockBJ]
title = "Delete item (designated market)"
description = "Delete ${item type} from ${Marketplace}"
comment = "Only affect units with the'Sell Items' skill"
category = TC_NEUTRALBUILDING
[[.args]]
type = itemcode
default = "texp"
[[.args]]
type = unit
default = "GetTriggerUnit"

[RemoveItemFromAllStock]
title = "Delete item (all markets)"
description = "Delete ${item type} from all markets"
comment = "Affects all units with the'Sell Items' skill."
category = TC_NEUTRALBUILDING
[[.args]]
type = itemcode
default = "texp"

[RemoveUnitFromStockBJ]
title = "Delete unit (specify market)"
description = "Remove ${unit type} from ${Marketplace}"
comment = "Only affect units with the'Sell Units' skill."
category = TC_NEUTRALBUILDING
[[.args]]
type = unitcode
default = "hfoo"
[[.args]]
type = unit
default = "GetTriggerUnit"

[RemoveUnitFromAllStock]
title = "Delete unit (all markets)"
description = "Remove ${unit type} from all markets"
comment = "Affects all units with the'Sell Units' skill."
category = TC_NEUTRALBUILDING
[[.args]]
type = unitcode
default = "hfoo"

[SetItemTypeSlots]
title = "Limit item types (designated markets)"
description = "Limit the number of saleable items in ${Marketplace} to ${Quantity}"
comment = "Only affect units with the'Sell Items' skill."
category = TC_NEUTRALBUILDING
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = integer
default = "6"

[SetAllItemTypeSlots]
title = "Limit item types (all markets)"
description = "Limit the number of items available for sale in all markets to ${Quantity}"
comment = "Affects all units with the'Sell Items' skill."
category = TC_NEUTRALBUILDING
[[.args]]
type = integer
default = "6"

[SetUnitTypeSlots]
title = "Limit Unit Type (Specified Market)"
description = "Limit the number of saleable units for ${Marketplace} to ${Quantity}"
comment = "Only affect units with the'Sell Units' skill."
category = TC_NEUTRALBUILDING
[[.args]]
type = unit
default = "GetTriggerUnit"
[[.args]]
type = integer
default = "6"

[SetAllUnitTypeSlots]
title = "Limit unit types (all markets)"
description = "Limit the number of sellable units in all markets to ${Quantity}"
comment = "Affects all units with the'Sell Units' skill."
category = TC_NEUTRALBUILDING
[[.args]]
type = integer
default = "6"

[YDWEMemoryLeakHelperMapIsOpenMemoryLeakHelper]
title = "Automatic excretion system-turn on the system's automatic excretion function <Mr.Malte production>"
description = "Set the system automatic excretion function to open ${false}"
comment = "The automatic drainage system is not ideal from the feedback collected, please try not to use it."
category = TC_YDHIDE
[[.args]]
type = boolean
default = "false"

[YDWEMemoryLeakHelperDisplayLeaks]
title = "Automatic Drainage System-Display Leaked <Mr.Malte Production>"
description = "Display the number of points, unit groups and special effects leaked"
comment = "The automatic drainage system is not ideal from the feedback collected, please try not to use it."
category = TC_YDHIDE
[[.args]]
type = nothing

[YDWEMemoryLeakHelperProtectLastCaughtHandle]
title = "Automatic drainage system-protect the last generated handle <Mr.Malte made>"
description = "Protect the last generated points, unit groups and special effect handles so that they will not be automatically cleared by the system"
comment = "The automatic drainage system is not ideal from the feedback collected, please try not to use it."
category = TC_YDHIDE
[[.args]]
type = nothing

[YDWEMemoryLeakHelperProtectLocation]
title = "Automatic drainage system-protection-point <Mr.Malte production>"
description = "Protect the point ${dot} so that it will not be automatically cleared by the system"
comment = "The automatic drainage system is not ideal from the feedback collected, please try not to use it."
category = TC_YDHIDE
[[.args]]
type = location

[YDWEMemoryLeakHelperProtectGroup]
title = "Automatic drainage system-protection-unit group <Mr.Malte production>"
description = "Protect the unit group ${unit group} so that it will not be automatically cleared by the system"
comment = "The automatic drainage system is not ideal from the feedback collected, please try not to use it."
category = TC_YDHIDE
[[.args]]
type = group

[YDWEMemoryLeakHelperProtectEffect]
title = "Automatic Drainage System-Protection-Special Effects <Mr.Malte Production>"
description = "Protect the special effect ${special effect} so that it will not be automatically cleared by the system"
comment = "The automatic drainage system is not ideal from the feedback collected, please try not to use it."
category = TC_YDHIDE
[[.args]]
type = effect
default = "GetLastCreatedEffectBJ"

[StoreRealBJ]
title = "Record real number"
description = "Record ${real number}, use name: ${text} Category name: ${Category} Cache: ${Game Cache}"
comment = "The relationship between the original version of the UI and the English word order. In order to make the UI read more smoothly, a layer of encapsulation is added, but this is superfluous for Chinese."
category = TC_YDHIDE
[[.args]]
type = real
[[.args]]
type = string
[[.args]]
type = string
default = "\"Category\""
[[.args]]
type = gamecache
default = "GetLastCreatedGameCacheBJ"

[StoreIntegerBJ]
title = "Record Integer"
description = "Record ${integer}, use name: ${text} Category name: ${Category} Cache: ${Game Cache}"
comment = "The relationship between the original version of the UI and the English word order. In order to make the UI read more smoothly, a layer of encapsulation is added, but this is superfluous for Chinese."
category = TC_YDHIDE
[[.args]]
type = integer
[[.args]]
type = string
[[.args]]
type = string
default = "\"Category\""
[[.args]]
type = gamecache
default = "GetLastCreatedGameCacheBJ"

[StoreBooleanBJ]
title = "Record Boolean"
description = "Record ${Boolean value}, use name: ${text} Category name: ${Category} Cache: ${Game Cache}"
comment = "The relationship between the original version of the UI and the English word order. In order to make the UI read more smoothly, a layer of encapsulation is added, but this is superfluous for Chinese."
category = TC_YDHIDE
[[.args]]
type = boolean
[[.args]]
type = string
[[.args]]
type = string
default = "\"Category\""
[[.args]]
type = gamecache
default = "GetLastCreatedGameCacheBJ"

[StoreStringBJ]
title = "Record string"
description = "Record ${string}, use name: ${text} Category name: ${Category} Cache: ${Game Cache}"
comment = "The relationship between the original version of the UI and the English word order. In order to make the UI read more smoothly, a layer of encapsulation is added, but this is superfluous for Chinese."
category = TC_YDHIDE
[[.args]]
type = string
[[.args]]
type = string
[[.args]]
type = string
default = "\"Category\""
[[.args]]
type = gamecache
default = "GetLastCreatedGameCacheBJ"

[FlushGameCache]
title = "Delete cache [C]"
description = "Delete ${GameCache}"
comment = "Delete and clear all the data in the cache. It is exactly the same as the original UI, but it is not compatible with the original UI. Its existence is completely messing up."
script_name = FlushGameCache
category = TC_YDHIDE
[[.args]]
type = gamecache
default = "GetLastCreatedGameCacheBJ"

[FlushStoredMissionBJ]
title = "Delete category"
description = "Delete category ${Category} in cache ${GameCache}"
comment = "The relationship between the original version of the UI and the English word order. In order to make the UI read more smoothly, a layer of encapsulation is added, but this is superfluous for Chinese."
category = TC_YDHIDE
[[.args]]
type = string
default = "\"Category\""
[[.args]]
type = gamecache
default = "GetLastCreatedGameCacheBJ"

[YDWESetAttackDamageWeaponType]
title = "Set Default Attack|Damage|Weapon Type [YDWE]"
description = "Set the default attack type to ${attack type}, damage type to ${damage type}, and weapon type to ${weapon type}"
comment = "Set the attack|damage|weapon type that some skills (such as hook, lunar arrow) need to use, the system will damage the target according to the set attack|damage|weapon type."
category = TC_UNIT
[[.args]]
type = attacktype
default = "AttackTypeNormal"
[[.args]]
type = damagetype
default = "DamageTypeNormal"
[[.args]]
type = weapontype
default = "WEAPON_TYPE_WHOKNOWS"
