StarRiver-EndlessJourney-RW.../星河征途0.9.2.6/星河征途2022/阵营分配(旧日魔龙)/旧日神教/.海军组/鳄鱼战舰/直升机/航载机起飞.ini
2022-08-23 08:37:59 +08:00

41 lines
1.6 KiB
INI

[core]
name: c_helicopter2
copyFrom: 航载机.ini
displayText:直升机2
displayText_zh:helicopter2
[hiddenAction_巡航]
autoTrigger: if self.hasUnitInTeam(withTag='otrezAlive', withinRange=1000) and not self.hasActiveWaypoint(type='follow') and not self.hasParent()
clearAllWaypoints: true
addWaypoint_type: move
addWaypoint_target_nearestUnit_tagged: otrezAlive
addWaypoint_target_nearestUnit_team: own
[hiddenAction_死亡]
autoTrigger: if not self.hasUnitInTeam(withTag='otrezAlive')
[hiddenAction_降落]
autoTrigger: if self.hasParent()
convertTo: c_helicopterR
[hiddenAction_击毁]
autoTriggerOnEvent:destroyed
[hiddenAction_无家可归]
autoTrigger: if not self.hasUnitInTeam(withTag='otrezUnfull') and not self.resource(type='鳄鱼舰载机坠毁数',greaterThan=0)
convertTo:c_helicopter3
[hiddenAction_无家可归2]
autoTrigger: if not self.hasUnitInTeam(withTag='otrezUnfull') and self.resource(type='鳄鱼舰载机坠毁数',greaterThan=0)
convertTo:c_helicopter4
[hiddenAction_起飞]
autoTrigger: if not numberOfUnitsInTeam(withTag='EYR', greaterThan=0)
[hiddenAction_返航]
autoTrigger: if not numberOfUnitsInTeam(withTag='EYR', greaterThan=0)
[hiddenAction_起飞转变]
autoTrigger: if numberOfUnitsInTeam(withTag='EYR', lessThan=0)
[comment_A]
autoTrigger: if self.hasUnitInTeam(withTag='otrezAttacking') and not self.hasActiveWaypoint(type='loadInto') and not self.hasParent() and not numberOfUnitsInEnemyTeam(greaterThan=0, withinRange=1000)
clearAllWaypoints: true
addWaypoint_type: loadInto
addWaypoint_target_nearestUnit_tagged: otrezUnfull
addWaypoint_target_nearestUnit_team: own