unitSetProperties

Last-modified: 2018-03-07 (水) 01:51:10

# [添付]

トリガーの説明

おそらく使用頻度はwaitunitAttackTargetの次に多い。
設定できる項目数はきわめて多岐にわたる。

使用例

/ / [添付] でBLKも添付できます

トリガーのコントロール

object

対象を指定

object_type

unit_type_ex

useForTriggerFiltered

Controls

ai_skill

thrust_mult

aggressiveWingman

kamikaze

silence

task

target

targetDeviation

weaponTriggers

Unit status params

army

targetableByAi

AIのターゲットにされるかどうかを指定

isImmortal

無敵状態かどうかを指定

useAuxWeapon

destroyRIByCollision

engineFire

エンジンが炎上しているかどうかを指定
falseにしても炎上しないというわけではない

hideProb

igonoreRotation

aimPriorities

Visiblity params

isDelayed

delayForObjects

stealthRadius

アイコンが表示される距離を指定

calmDetection

delayedTimeAfterDeath

forceVisibleOnMap

Attack params

attack_type

targetAir

targetGnd

accuracy

AIの攻撃の精度を0~1の間で指定

checkVisiblityTarget

effShootingRate

airEffShootingRate

effshootingRateByPlayer

cannotShoot

発砲できるかどうかを指定
AIの場合よくわからない

gunnersCanTargetGroundUnits

ignoresEnemy

AIが敵を無視するかどうかを指定

Movement params

move_type

speed

速度を指定
マイナスも可

lockSpeed

speedで指定した速度で固定するかどうかを指定

waypointReachedDist

recalculateFollowPathDistance

shipTurnRadius

enableShipCollisionAvoidance

trivalCourseAngleThreshold

advancedCollisionAvoidance

moveSpeedKAtShooting

slowWhenEnemyNear

AIが敵に近づいた場合減速するかどうかを指定

slowWhenEnemyNearDistance

slowWhenEnemyNearがtrueの時、敵を検知する距離を指定

minDistBetween

ignoreCollisions

ignoresObstaclesAfterTime

bomberSpecialAttack

movable

Imfantry params

usePosAsCover

dontUseCovers

followWaypoints

allowRun

infantryが走るかどうかを指定

Ai params

aiEnabled

realisticAI

enemyFireEvasion

takeoffPermission

AI航空機が飛行場に駐機しているとき離陸しようとするかどうかを指定
falseにするとエンジンを停止する

Aircraft params

isWinchable

AI戦車/艦艇をプレイヤーが牽引できるかどうかを指定
戦車で艦艇を牽引することはできない

isWinchableALL

fuel

stabInfluenceEnabled

stayOnGround

Visual params

hasExhaust

disableFallUnderGroundAtDestroyed

aerobaticSmoke

AI航空機がエアロバチックスモークを炊くかどうかを指定
0・・・エアロバチックスモークを炊かない
1・・・ウィング・白
2・・・ウィング・レッド
3・・・ウィング・オレンジ
4・・・ウィング・イエロー
5・・・ウィング・グリーン
6・・・ウィング・ブルー
7・・・ウィング・マゼンタ
8・・・センター・白
9・・・センター・レッド
10・・・センター・オレンジ
11・・・センター・イエロー
12・・・センター・グリーン
13・・・センター・ブルー
14・・・センター・マゼンタ
15以降・・・未確認(3色スモークが割り振られている可能性)

persistentAerobaticSmoke