• 注册
  • Mod教程 Mod教程 关注:1190 内容:48

    无赖1

  • 查看作者
  • 打赏作者
  • Lv2
    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
  • 内容 116
  • 关注 1190
    • 大版主
    • 小版主
  • 安逸
    安逸
    我的名字叫陈xx,今年10岁了
  • 暂没有数据

  • 任务
  • 动态
  • 底部
  • 帖子间隔 侧栏位置: