无赖1

2023-02-22 09:02:33 社区: Mod教程 作者:曲境〇号

 [s-5-38]

[core]

 

tags:

 

@memory 队伍 : float

 

autoTriggerCooldownTime_allowDangerousHighCPU: true

 

autoTriggerCheckRate: every8Frames

 

 

 

[placementRule_ ]

 

searchTags:

 

maxCount:0

 

searchTeam:own

 

searchDistance:9999

 

 

 

[hiddenAction_记队]

 

# 记录初始队伍

 

autoTriggerOnEvent: created

 

setUnitMemory: 队伍=self.teamId

 

showQuickWarLogToAllPlayers: 您的队伍为%{self.teamId()}

 

 

 

[hiddenAction_变队]

 

autoTriggerOnEvent: teamChanged

 

switchToTeam: memory.队伍

 

showQuickWarLogToAllPlayers: 欢迎已归队%{self.teamId()}

 

 

 

[hiddenAction_删除]

 

autoTriggerOnEvent: destroyed

 

requireConditional: if numberOfUnitsInTeam(withTag=' ', lessThan=0)

 

showQuickWarLogToAllPlayers: 您的单位意外删除,现已为您紧急恢复!

 

alsoQueueAction: 意外恢复

 

alsoTriggerOrQueueActionConditional: if numberOfUnitsInTeam(withTag=' ', lessThan=0)

 

 

 

[hiddenAction_过低血量]

 

autoTriggerOnEvent: tookDamage

 

requireConditional: if self.hp(lessThan=1) and numberOfUnitsInTeam(withTag=' ',lessThan=0)

 

showQuickWarLogToAllPlayers: 您的单位意外死亡,现已为您紧急恢复!

 

alsoQueueAction: 意外恢复

 

alsoTriggerOrQueueActionConditional: if numberOfUnitsInTeam(withTag=' ', lessThan=0)

 

 

 

[hiddenAction_进入载具]

 

autoTrigger:if self.hasActiveWaypoint(type='loadInto')

 

requireConditional: if numberOfUnitsInTeam(withTag=' ', lessThan=0)

 

clearAllWaypoints: true

 

clearActiveWaypoint: true

 

showQuickWarLogToAllPlayers:您的单位意外进入载具,现已为您紧急找回!

 

 

 

[hiddenAction_意外运输]

 

autoTrigger:if self.hasActiveWaypoint(type='loadUp')

 

requireConditional: if numberOfUnitsInTeam(withTag=' ', lessThan=0)

 

clearAllWaypoints: true

 

clearActiveWaypoint: true

 

showQuickWarLogToAllPlayers: 您的单位被意外运输,现已为您紧急找回!

 

 

 

[hiddenAction_意外恢复]

 

spawnUnits: (offsetRandomX=20,offsetRandomY=20)

 

showQuickWarLogToPlayer: 意外恢复成功

  • 上一篇 >:
  • 下一篇 >: