• 注册
  • Mod教程 Mod教程 关注:1179 内容:37

    无赖1

  • 查看作者
  • 打赏作者
  • Lv1
    2023

     [s-5-38] 无赖1

    [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: 意外恢复成功

    请登录之后再进行评论

    登录
    教程分享
  • 今日 0
  • 内容 73
  • 关注 1179
    • 大版主
    • 小版主
  • 安逸
  • 暂没有数据

  • 任务
  • 动态
  • 底部
  • 帖子间隔 侧栏位置:
    关闭窗口
    下载海报