七日殺A20.6 gameevent.xml文檔翻譯
Game Events - These events are each a sequence of actions with Requirements.
游戲事件 (Game Events) - 這些事件是由一系列帶有要求 (Requirements) 的動作構(gòu)成。
Event Requirements:
??? These check values for the player before allowing game events to be fired.
??? 事件要求:
??? 這些要求會在游戲事件被觸發(fā)前檢查玩家的值。
??? FullHealth - Checks if the Target has full health.
??? 滿血量 (Full Health) - 檢查目標(biāo)是否有滿的血量.
??? HasBuff - Checks if the Target has a buff.
??????? buff_name - The name of the buff to check for.
??? 擁有buff (Has Buff) - 檢查目標(biāo)是否有某個buff。
??????? buff名字(buff_name) - 要檢查的buff的名稱。
??? HasSpawnedEntities - Check if there are spawned entities.
??????? entity_tags - The entity tags of the spawned entities.
??????? target_only - If the spawned entities must be spawns of the Target.
??? 出現(xiàn)的實(shí)體 (Has Spawned Entities) - 檢查是否有已經(jīng)生成的實(shí)體,
??????? 實(shí)體標(biāo)簽(entity_tags) - 生成實(shí)體的標(biāo)簽。
??????? 僅限于目標(biāo)的生成實(shí)體(target_only) - 是否只允許目標(biāo)生成實(shí)體。
?? ?
?? ?
??? InQuestZone - Checks if the target is in a quest zone.
??? InSafeZone - Checks if the target is in a safe zone.
??? InVehicle - Checks if the target is in a vehicle.
?? ?
??? NearbyEntities - Check if the Target has nearby entities.
??????? entity_tags - The entity tags of the nearby entities. (If no tag is supplied, defaults to any enemies or animals)
??????? max_distance - The maximum distance to check for nearby entities.
??????? target_is_owner - If the vehicle/turret is owned by the target.
??????? 在任務(wù)區(qū)域內(nèi) (In Quest Zone) - 檢查目標(biāo)是否在任務(wù)區(qū)域中。
??????? 在安全區(qū)內(nèi) (In Safe Zone) - 檢查目標(biāo)是否在安全區(qū)內(nèi)。
?????? ?
??????? 在車輛中 (In Vehicle) - 檢查目標(biāo)是否在車輛中。
?????? ?
??????? 附近的實(shí)體 (Nearby Entities) - 檢查目標(biāo)是否有附近的實(shí)體。
?????? ?
??????????? 實(shí)體標(biāo)簽(entity_tags) - 附近實(shí)體的標(biāo)簽。(如果未提供標(biāo)簽, 將默認(rèn)為任意敵人或動物)
??????????? 最大距離(max_distance) - 檢查附近實(shí)體的最大距離。
??????????? 目標(biāo)是否是車主(target_is_owner) - 車輛/炮塔是否是目標(biāo)的所有物。
?????? ?
?????? ?
Action Requirements:
??? These check values for the player before allowing certain actions in a game event to be activated.
??? Gamestage - Checks the gamestage of the player
??????? operation - Allows for checking common (None, Equals, NotEquals, Less, LessThan, LT, Greater, GreaterThan, GT, LessOrEqual, LessThanOrEqualTo, LTE,?? ?GreaterOrEqual, GreaterThanOrEqualTo, GTE)
??????? game_stage - The gamestage number to check for.
??? IsIndoors - Checks if the player is indoors
??????? invert - can be used to check if they are not indoors.
??? RandomRoll - Checks the value against a random roll.
??????? min_max - The numbers to check between.
??????? operation - Allows for checking common (None, Equals, NotEquals, Less, LessThan, LT, Greater, GreaterThan, GT, LessOrEqual, LessThanOrEqualTo, LTE,?? ?GreaterOrEqual, GreaterThanOrEqualTo, GTE)
??????? value - The value to check the number with.
??????? 動作要求:
??????? 這些要求會在允許某些游戲事件中的動作激活之前檢查玩家的值。
?????? ?
??????????? 游戲階段 (Gamestage) - 檢查玩家的游戲階段
??????????????? 操作(operation) - 允許檢查 常見的(無, 等于, 不等于, 小于, 小于等于, 小于等于,小于等于,大于等于)
??????????????? 游戲階段(game_stage) - 要檢查的游戲階段數(shù)字
?????? ?
??????????? 室內(nèi)環(huán)境 (Is Indoors) - 檢查玩家是否處于室內(nèi)。
??????????????? 反相(invert) - 用于檢查他們是否不在室內(nèi)。
?????? ?
??????????? 隨機(jī)卷軸(Random Roll) - 檢查數(shù)值大小與隨機(jī)判定結(jié)果。
??????????????? 最小和最大值(min_max) - 隨機(jī)取出的區(qū)間范圍。
??????????????? 操作(operation) - 允許檢查 常見的(無, 等于, 不等于, 小于, 小于等于, 小于等于,小于等于,大于等于)
??????????????? 數(shù)值(value) - 與隨機(jī)判定的數(shù)值比較。
?????? ?
Common Properties for all Actions:
??? Phase - This is the phase that the action runs in.
Target Actions:
??? Most actions can be supplied a target_group for the actions. These actions listed below will add entities to those groups.
??? AddClosestEntityToGroup - Adds the closest entity to the group.
??? AddEntitiesToGroup - Adds all entities to the group with the defined criteria.
??????? group_name - The group to add to. This can be any name you want to define.
??????? entity_tags - The entity tags to search for. (If no tag is supplied, defaults to any enemies or animals)
??????? max_distance - The distance from the target.
??????? twitch_negative - This defines if the twitch disabled targets can be added or not. Note: Players are considered twitch disabled when they die.
??????? target_is_owner - If the vehicle/turret is owned by the target.
??????? y_height (AddEntitiesToGroup) - overrides the height used.
??? AddPartyToGroup - Adds the party members of the Target to the group.
??????? group_name - The group to add to. This can be any name you want to define.
??????? twitch_negative - This defines if the twitch disabled targets can be added or not. Note: Players are considered twitch disabled when they die.
??? AddPlayerToGroup - Adds the specified party member to the group. (NOTE: They must be in the target's party.)
??????? player_name - The name of the party member to add.
??????? group_name - The group to add to. This can be any name you want to define.
??????? twitch_negative - This defines if the twitch disabled targets can be added or not. Note: Players are considered twitch disabled when they die.
??? AddSpawnedEntitiesToGroup - Adds all the spawned enemies to the group.
??????? group_name - The group to add to. This can be any name you want to define.
??????? entity_tags - The entity tags to search for.
??????? target_only - If the zombies must be spawned on the target or any zombies that have been spawned.
??? ClearGroup - Clears all the entities in a group.
??????? group_name - The group to clear.
??????? 通用動作屬性:
??????? Phase(階段)- 動作運(yùn)行的階段。
?? ?
??? 目標(biāo)操作:
??? 大多數(shù)操作都可以提供一個target_group來定義操作對象。列出如下操作可以向這些組中添加實(shí)體:
?? ?
??????? AddClosestEntityToGroup - 將最近的實(shí)體添加到該組。
?? ?
??????? AddEntitiesToGroup - 在滿足定義條件的情況下將所有實(shí)體添加到指定組中。
??????????? group_name - 要添加進(jìn)入的組,它可以由你自己定義任何名稱。
??????????? entity_tags - 要搜索的實(shí)體標(biāo)簽。(如果未提供標(biāo)簽, 將默認(rèn)為任意敵人或動物)
??????????? max_distance - 到目標(biāo)的距離。
??????????? twitch_negative - 這定義了twitch失效的目標(biāo)是否可以被添加。請注意:當(dāng)玩家死亡時,他們被視為twitch失效狀態(tài)。
??????????? target_is_owner - 該車輛、炮塔是否為目標(biāo)所擁有的。
??????????? y_height(AddEntitiesToGroup) - 重寫了高度使用。
?? ?
??????? AddPartyToGroup - 將目標(biāo)的團(tuán)隊(duì)成員添加到該組中。
??????????? group_name - 要加入的組名,可以自己定義任何名稱。
??????????? twitch_negative - 定義是否可以將 twitch 失效的目標(biāo)添加到組中。請注意:當(dāng)玩家死亡時,他們被視為 twitch 失效狀態(tài)。
?? ?
??????? AddPlayerToGroup - 將指定的一位團(tuán)隊(duì)成員添加到該組中。(注意:他們必須在目標(biāo)的隊(duì)伍中。)
??????????? player_name - 要添加的團(tuán)隊(duì)成員姓名。
??????????? group_name - 要加入的組名,可以自己定義任何名稱。
??????????? twitch_negative - 定義是否可以將 twitch 失效的目標(biāo)添加到組中。請注意:當(dāng)玩家死亡時,他們被視為 twitch 失效狀態(tài)。
?? ?
??????? AddSpawnedEntitiesToGroup - 將所有的生成的敵對勢力實(shí)體添加到該組中。
??????????? group_name - 要加入的組名,可以自己定義任何名稱。
??????????? entity_tags - 要搜索的實(shí)體標(biāo)簽。
??????????? target_only - 是否只將喪尸對象作為目標(biāo).
?? ?
??????? ClearGroup - 清空該組中的所有實(shí)體。
??????????? group_name - 要清除的組名。
?? ?
?? ?
Player Actions:
??? Common Properties:
??????? target_group - The target group to target for this action.
??? AddBuff - Adds the buff to target or target_group.
??????? buff_name - The buff to add to the target.
??????? removes_buff - If this buff is active, remove it instead of adding the defined buff.
??????? alt_vision_buff_name - If this is defined then if someone has "Allow Vision Effects" set to false, it will apply this buff instead.
??????? check_already_exists - Checks to see if it already exists before allowing the buff to be added.
??? AddItemDurability - Adds durability to items on your player.
??????? items_location - The location that is affected by this. (Toolbelt, Backpack, Both, Equipment, All).
??????? amount - the amount of durability to add.
??????? is_percent - If the amount is a percent.
??? AddItems - Adds items to your player.
??????? added_items - Comma delimited list for items to be added. Must have matching entry in the added_item_counts.
??????? added_item_counts - Comma delimited list for item counts to be added. Must have matching entry in the added_items.
??? AddJournalTip - Adds a journal tip to the player.
??????? tip_name - Name of the journal tip.
??????? show_window - Should it show the pop up tip window.
??? AddQuest - Adds a quest to the player.
??????? quest - Quest added for player.
??? AddXP - Adds x amount of XP to the target or target_group.
??????? xp_amount - The amount of XP to add.
??? AddXPDeficit - Adds an XP deficit to the target player.
??? BeltTooltip - Shows a belt tooltip.
??????? text - Text to show.
??????? text_key - Localization key to show.
??????? sound - Sound that can play with the toolbelt message.
??? CallGameEvent - Calls another game event from this game event.
??????????? NOTE: This could cause an issue if you accidentally cause too many events to be fired. Be very careful when using this.
??????? game_events - The list of game events to pick from. This will pick a single one at random. This can be used like a mystery random event.
??? Delay - Used to put a delay in between actions. Common use is to put this in it's own phase so that phase is delayed until this is done.
??????? time - The time to delay.
??????? 玩家動作:
??????? 通用屬性:
??????? target_group - 要為該動作設(shè)定的目標(biāo)組。
?? ?
??????? AddBuff - 為玩家或玩家目標(biāo)組添加buff。
??????????? buff_name - 添加到玩家的buff名稱。
??????????? removes_buff - 如果該buff已經(jīng)存在,則刪除它而不是添加定義過的buff。
??????????? alt_vision_buff_name - 如果這個被定義了,那么如果有人將“Allow Vision Effects”設(shè)置為false,則會應(yīng)用此buff。
??????????? check_already_exists - 在允許添加buff之前檢查是否已存在buff。
?? ?
??????? AddItemDurability - 為玩家物品添加耐久度。
??????????? items_location - 受此影響的位置。(工具腰帶、背包、兩者、裝備、全部)
??????????? amount - 添加的耐久度量。
??????????? is_percent - 如果數(shù)量是百分比。
?? ?
??????? AddItems - 給你的玩家添加物品。
??????????? added_items - 以逗號分隔的項(xiàng)目列表來進(jìn)行添加。必須與added_item_counts中的記錄相匹配。
??????????? added_item_counts - 以逗號分隔的條目數(shù)量列表。必須與added_items中的記錄相匹配。
?? ?
??????? AddJournalTip - 將提示加入日志中。
??????????? tip_name - 提示名稱。
??????????? show_window - 是否顯示彈出式提示窗口。
?? ?
??????? AddQuest - 將任務(wù)添加到玩家。
??????????? quest - 玩家添加任務(wù)。
?? ?
??????? AddXP - 為目標(biāo)或目標(biāo)組添加一定數(shù)量的XP。
??????????? xp_amount - 要添加的XP數(shù)。
?? ?
??????? AddXPDeficit - 為目標(biāo)玩家添加XP虧欠度。
?? ?
??????? BeltTooltip - 顯示腰帶提示。
??????????? text - 要顯示的文本。
??????????? text_key - 用于顯示的本地化密鑰。
??????????? sound - 可以通過工具欄消息播放聲音。
?? ?
??????? CallGameEvent - 從此游戲事件中調(diào)用另一個游戲事件。
??????? 注意: 如果你無意中導(dǎo)致太多事件被觸發(fā),這可能會導(dǎo)致問題發(fā)生。在使用時非常小心。
??????????? game_events - 可供選擇的游戲事件列表。這將隨機(jī)選擇其中一個??梢韵裆衩仉S機(jī)事件一樣使用。
?? ?
??????? Delay - 用于在動作之間設(shè)置延遲。通常是在它自己的階段中使用,所以該階段將延遲到完成它。
??????????? time - 要延遲的時間量。
?? ?
?? ?
??? DropHeldItem - Drops the held item for the target.
??? EjectFromVehicle - Causes the targets to be ejected from the vehicle.
??? Explode - Causes an explosion on the target.
??????? blast_power - Power of the blast.
??????? block_damage - Amount of damage done to the blocks.
??????? block_radius - The radius of the block damage.
??????? block_tags - The blocks that are affected by the block damage.
??????? entity_damage - Amount of damage done to the entities.
??????? entity_radius - The radius of the entity damage.
??? FlipRotation - Changes the direction the player is facing to behind them.
??? GetNearbyPoint - Sets a target point that can be used for spawning multiple zombies together.
??????? min_distance - The minimum distance from target.
??????? max_distance - The maximum distance fromt target.
??????? safe_spawn - If the point can happen in a safe zone.
??????? air_spawn - This defines if it should complete a ground check to see if the point is valid. Vultures use this to allow spawning in flight.
??????? yOffset - This allows the point to be offset on the y.
?? ?
??? Kill - Kills the target or target_group
??? PlaySound - Play a sound for the target.
??????? sound - Name of the sound to play.
??????? inside_head - If the sound plays in the head of the target.
??????? behind_player - If the sound should pick a spot behind the player. (Does not work with inside_head.)
??????? loop_duration - If it's a looping sound, only play for this many seconds.
??? PrimeEntity - Primes the cop/demo zombie's explosive to explode in the specified seconds.
??????? override_time - The number of seconds from when it starts the beep to when it explodes.
??????? min_override_time - The minimum amount of time for the random explosion time.
??????? max_override_time - The maximum amount of time for the random explosion time.
??? PullEntities - Forces all entities to respawn around the target.
??????? target_group - The group to pull to the Target. (This is different then most uses so the property name may change.)
??????? min_distance - minimum distance they can spawn.
??????? max_distance - maximum distance they can spawn.
??????? pull_sound - sound that is played when an entity is pulled.
??? PushEntity - Pushes the player/zombie in a direction the specified distance.
??????? direction - The direction to push the entity. (Random, Forward, Backward, Right, Left)
??????? distance - The distance to push the entity.
??? Ragdoll - Ragdolls the target? or target_group
??????? stun_duration - The stun duration applied to the target/target_group.
??????? DropHeldItem - 丟棄目標(biāo)手中的物品。
??????? EjectFromVehicle - 導(dǎo)致目標(biāo)從車輛中彈出。
?? ?
??????? Explode - 在目標(biāo)上造成爆炸。
??????????? blast_power - 爆炸的威力。
??????????? block_damage - 對方塊造成的傷害。
??????????? block_radius - 方塊損壞半徑。
??????????? block_tags - 受方塊損害影響的方塊。
??????????? entity_damage - 傷害實(shí)體的數(shù)量。
??????????? entity_radius - 實(shí)體受害半徑。
?? ?
??????? FlipRotation - 將玩家面朝的方向改變?yōu)槠浔澈蟆?br>?? ?
??????? GetNearbyPoint - 設(shè)置一個目標(biāo)點(diǎn),可用于同時生成多個僵尸。
??????????? min_distance - 到目標(biāo)的最小距離。
??????????? max_distance - 到目標(biāo)的最大距離。
??????????? safe_spawn - 如果該點(diǎn)可以在安全區(qū)產(chǎn)生。
??????????? air_spawn - 這定義了是否應(yīng)進(jìn)行地面檢查以查看該點(diǎn)是否有效。禿鷲使用此功能允許在飛行中產(chǎn)生。
??????????? yOffset - 這可以使點(diǎn)在y軸上偏移。
?? ?
??????? Kill - 殺死目標(biāo)或目標(biāo)組。
?? ?
??????? PlaySound - 為目標(biāo)播放聲音。
??????????? sound - 播放的聲音名稱。
??????????? inside_head - 如果聲音在目標(biāo)頭部播放。
??????????? behind_player - 如果聲音應(yīng)在玩家后面播放。(與inside_head不兼容。)
??????????? loop_duration - 如果是一個循環(huán)聲音,則只播放這么多秒鐘。
?? ?
??????? PrimeEntity - 開始執(zhí)行藍(lán)圖,從而定時引爆zombie的爆炸。
??????????? override_time - 從啟動倒計(jì)時到引爆的秒數(shù)。
??????????? min_override_time - 隨機(jī)爆炸的最短時間。
??????????? max_override_time - 隨機(jī)爆炸的最長時間。
?? ?
??????? PullEntities - 強(qiáng)制所有實(shí)體圍繞目標(biāo)重新生成。
??????????? target_group - 拉到目標(biāo)組。(這與大多數(shù)用途不同,因此屬性名稱可能會更改。)
??????????? min_distance - 他們可以產(chǎn)生的最小距離。
??????????? max_distance - 他們可以產(chǎn)生的最大距離。
??????????? pull_sound - 當(dāng)實(shí)體被拉出時播放的聲音。
?? ?
??????? PushEntity - 將玩家/僵尸推向指定方向一定距離。
??????????? direction - 推動實(shí)體的方向。(隨機(jī)、向前、向后、向右、向左)
??????????? distance - 推動實(shí)體的距離。
?? ?
??????? Ragdoll - 讓目標(biāo)或目標(biāo)組進(jìn)入布娃娃狀態(tài)。
??????????? stun_duration - 施加在目標(biāo)/目標(biāo)組上的眩暈持續(xù)時間。
?? ?
?? ?
??? RandomDelay - Delay with a random value.
??????? min_time - minimum amount of time the delay can be.
??????? max_time - maximum amount of time the delay can be.
??? RandomTeleport - Randomly teleports the target/target_group.
??????? min_distance - minimum distance they can teleport.
??????? max_distance - maximum distance they can teleport.
??? RemoveBuff - Removes the specified buff.
??????? buff_name - The name of the buff that should be removed.
??? RemoveEntities - Removes the target_group entities. This will probably throw a huge error if you try it on the Target.
??? RemoveItems - Removes the items from the player.
??????? items_location - The location that is affected by this. (Toolbelt, Backpack, Both, Equipment, All).
??????? remove_item_tag - The tag of the items you want removed.
??? RemoveVehicles - Removes a vehicles/turrets from the world.
??????? return_items - places all items from the vehicle on the ground in a bag.
??????? include_vehicle - includes the vehicle itself in the bag on the ground.
??? ReplaceEntities - Replaces the target_group entities. This will probably throw a huge error if you try it on the Target.
??????? entity_names - The entity to replace the target_group with. If more than one it will choose one at random.
??????? single_choice - If more than one entity is being replaced, only choose the zombie type once and use it for all.
??? ReplaceItems - Replaces the specified items with another item.
??????? items_location - The location that is affected by this. (Toolbelt, Backpack, Both, Equipment, All).
??????? replaced_by_item - The item that you replace the tagged items with.
??????? replace_item_tag - The item tag for the items that should be replaced.
??? ResetPlayerData - Resets the player back to level one and optionally removes all landclaims / bedrolls.
??????? reset_levels - Resets the level back to 1.
??????? remove_landclaims - Removes all land claims.
??????? remove_bedroll - Removes the bedroll for the player.
??? RespawnEntities - Respawns all dead entities from the supplied target_group.
??????? target_group - The group of entities to respawn.
??????? is_multi - Should this run continuously or one time.
??????? respawn_sound - Sound played when an entity is respawned.
??? SetCVar - Sets the value of a CVar.
??????? cvar - The cvar to set.
??????? value - The value to set the CVar to.
??? SetScreenEffect - Sets the screen effect for the local player.
??????? screen_effect - The screen effect to set.
??????? intensity - The intensity of the screen effect.
??????? fade_time - The amount of time it takes to fade to that intensity in seconds.
??????? RandomDelay - 以隨機(jī)值的方式延遲。
??????? min_time - 延遲時間的最小值。
?? ?
??????? max_time - 延遲時間的最大值。
?? ?
??????? RandomTeleport - 隨機(jī)傳送到目標(biāo)或目標(biāo)組。
??????????? min_distance - 可傳送的最短距離。
??????????? max_distance - 可傳送的最長距離。
?? ?
??????? RemoveBuff - 刪除指定的buff。
??????????? buff_name - 應(yīng)刪除的buff的名稱。
?? ?
??????? RemoveEntities - 刪除目標(biāo)組實(shí)體。如果在目標(biāo)上嘗試,可能會產(chǎn)生錯誤。
?? ?
??????? RemoveItems - 移除玩家的物品。
??????????? items_location - 受此影響的位置。(工具欄、背包、兩個位置、設(shè)備、全部)。
??????????? remove_item_tag - 您想要移除的物品的標(biāo)記。
?? ?
??????? RemoveVehicles - 從世界中刪除車輛/炮塔。
??????????? return_items - 將車輛中的所有物品放置在地面上的袋子中。
??????????? include_vehicle - 單獨(dú)的車輛裝在地上的包里。
?? ?
??????? ReplaceEntities - 替換目標(biāo)組實(shí)體。如果在目標(biāo)上嘗試,可能會產(chǎn)生錯誤。
??????????? entity_names - 用于替換目標(biāo)組的實(shí)體。如果不止一個,則隨機(jī)選擇一個。
??????????? single_choice - 如果替換了多個實(shí)體,則僅選擇一次僵尸類型,并將其用于所有實(shí)體。
?? ?
??????? ReplaceItems - 用另一種物品替換指定的物品。
??????????? items_location - 受此影響的位置。(工具欄、背包、兩個位置、設(shè)備、全部)。
??????????? replaced_by_item - 要使用的項(xiàng)目替換標(biāo)記項(xiàng)。
??????????? replace_item_tag - 應(yīng)更換的物品標(biāo)簽。
?? ?
??????? ResetPlayerData - 將玩家重置為第一級,并可選擇刪除所有土地聲明/床單。
??????????? reset_levels - 將等級重置為1。
??????????? remove_landclaims - 刪除所有土地聲明。
??????????? remove_bedroll - 為玩家刪除床單。
?? ?
??????? RespawnEntities - 從提供的目標(biāo)組中重新生成所有死亡實(shí)體。
??????????? target_group - 要重生的實(shí)體組。
??????????? is_multi - 是否持續(xù)運(yùn)行或一次性運(yùn)行。
??????????? respawn_sound - 實(shí)體重生時播放的聲音。
?? ?
??????? SetCVar - 設(shè)置CVar的值。
??????????? cvar - 要設(shè)置的cvar。
??????????? value - 要將CVar設(shè)置為的值。
?? ?
??????? SetScreenEffect - 設(shè)置本地玩家的屏幕效果。
??????????? screen_effect - 要設(shè)置的屏幕效果。
??????????? intensity - 屏幕效果的強(qiáng)度。
??????????? fade_time - 淡入淡出到該強(qiáng)度所需的時間,以秒為單位。
?? ?
?? ?
??? ShuffleContainers - Shuffles the contents of all nearby block containers. NOTE: This could make players very angry. Try to use with caution.
??????? max_distance - maximum distance of the containers.
??? SpawnContainer - Spawns a container on the ground. (Handles the crate sharing code)
??? SpawnEntity - Spawns an entity on the ground.
??????? entity_names - The entities to spawn. If more than one it will choose one at random.
??????? single_choice - If more than one entity is being spawned, only choose the random choice once.
??????? spawn_count - The number of entities to spawn.
??????? min_distance - The minimum distance to spawn.
??????? max_distance - The maximum distance to spawn.
??????? safe_spawn - If the spawn can happen in a safe zone.
??????? target_group - Can be used to spawn on a group of players such as the party.
??????? add_to_group - Adds the spawned entities to the specified group. (Probably should rename this to avoid confusion)
??????? attack_target - If the spawn should immediately attack the target. (Doesn't work for crates or animals that don't attack.)
??????? air_spawn - This defines if it should complete a ground check to see if it should spawn. Vultures use this to allow spawning in flight.
??????? yOffset - This allows the spawn to be offset on the y.
??????? spawn_from_position - This action selects a position then spawns around that position.
??????? clear_position_on_complete - Clears the target position on completion.
??? Teleport - teleports target to defined location or offset.
??????? target_position - The position/offset to teleport the target to.
??????? offset_type - None: teleports to a world position.
????????????????????? Relative: teleports relative to your position.
????????????????????? World: teleports relative to the world based on your position.
??? TeleportToSpecial - teleports the target to special location. (Only works for players.)
??????? special_type - this can be Bedroll, Landclaim, or Backpack.
??? TimeChange - moves time forward or back based on the offset.
??????? min_time - minimum amount of time to move time.
??????? max_time - maximum amount of time to move time.
?????? ?
??? WaitForDead - Similar to the Delay, this doesn't move to the next phase until the specified target_group is all dead.
??????? phase_on_despawn - the phase to go to if one of the targets is despawned.
POI Actions:
??? POISetLightState - Allows setting the state of lights in a POI.
??????? enable_lights - If the lights should be on or off in the POI.
??????? index_block_name - The indexed blocks name set for the lights that need to be turned on/off.
??? POIReset - Resets the POI chunks.
??? ShuffleContainers - 隨機(jī)重排附近的所有容器的內(nèi)容。注意:這可能會引起玩家非常生氣。請謹(jǐn)慎使用。
??? max_distance - 容器的最大距離。
??? SpawnContainer - 在地面上生成一個容器。(處理創(chuàng)建共享代碼)
??? SpawnEntity - 在地面上生成一個實(shí)體。
??????? entity_names - 要生成的實(shí)體。如果不止一個,則隨機(jī)選擇一個。
??????? single_choice - 如果要生成多個實(shí)體,則僅選擇一次隨機(jī)選擇。
??????? spawn_count - 要生成的實(shí)體數(shù)量。
??????? min_distance - 最小生成距離。
??????? max_distance - 最大生成距離。
??????? safe_spawn - 生成是否可以發(fā)生在安全區(qū)域。
??????? target_group - 可用于在一組玩家(如派對)上生成。
??????? add_to_group - 將生成的實(shí)體添加到指定的組中。(可能應(yīng)該重命名以避免混淆)
??????? attack_target - 生成時是否應(yīng)立即攻擊目標(biāo)。(對于不攻擊的板條箱或動物無效。)
??????? air_spawn - 這定義了它是否應(yīng)完成地面檢查以確定是否應(yīng)生成。禿鷲使用此功能允許在飛行中生成。
??????? yOffset - 這允許在y軸上偏移出生。
??????? spawn_from_position - 此操作選擇位置,然后在該位置周圍生成。
??????? clear_position_on_complete - 完成時清除目標(biāo)位置。
??? Teleport - 將目標(biāo)傳送到定義的位置或偏移量。
??????? target_position - 要將目標(biāo)傳送到的位置/偏移量。
??????? offset_type - None:傳送到世界位置。相對:相對于您的位置進(jìn)行傳送。World:基于您的位置相對于世界傳送。
??? TeleportToSpecial - 將目標(biāo)傳送到特殊位置。(僅適用于玩家。)
??????? special_type - 這可以是Bedroll、Landclaim或Backpack。
??? TimeChange - 根據(jù)偏移量向前或向后移動時間。
??????? min_time - 要移動的最小時間量。
??????? max_time - 要移動的最大時間量。
??? WaitForDead - 類似于Delay,直到指定的目標(biāo)組全部死亡才進(jìn)入下一個階段。
??????? phase_on_despawn - 如果其中一個目標(biāo)被刪除,則要轉(zhuǎn)到的階段。
POI操作:
??? POISetLightState - 允許設(shè)置POI中燈光的狀態(tài)。
??????? enable_lights - 是否在POI中點(diǎn)亮或關(guān)閉燈光。
??????? index_block_name - 用于打開/關(guān)閉需要打開/關(guān)閉的燈的索引塊名稱。
??? POIReset - 重置POI塊。