AddModule
Behavior = AIUpdateInterface ModuleTag_Turret
Turret
ControlledWeaponSlots = PRIMARY
TurretTurnRate = 720
FiresWhileTurning = Yes
End
AutoAcquireEnemiesWhenIdle = Yes
MoodAttackCheckRate = 250
End
End
Originally Posted by: Unknown Editor
SkyMix_RMT You are a genius ; I had tried Everything Instead of these , How Didn't I even Think about AIUpdateInterface Yet ?
By the Way , Now Everything is Ready and Prepared ; Just they Look not Auto Attack ! The Code:
Weapon BunkerCannonWeapon
PrimaryDamage = 20.0
PrimaryDamageRadius = 0.0
AttackRange = 200.0
MinimumAttackRange = 10.0
DamageType = Small_Arms
DeathType = NORMAL
WeaponSpeed = 999999.0
ProjectileObject = NONE
FireSound = ComancheWeaponMachineGun
FireFX = WeaponFX_HeroicComanche20mmCannonFire
RadiusDamageAffects = ALLIES ENEMIES NEUTRALS
DelayBetweenShots = 50
ClipSize = 10
ClipReloadTime = 3000
AutoReloadsClip = Yes
AntiAirborneVehicle = No
AntiAirborneInfantry = Yes
End
Object CivilianBunker01
KindOf = +CAN_ATTACK +ATTACK_NEEDS_LINE_OF_SIGHT
WeaponSet
Conditions = None
Weapon = PRIMARY BunkerCannonWeapon
End
AddModule
Behavior = AIUpdateInterface ModuleTag_AttackAI
Turret
ControlledWeaponSlots = PRIMARY
TurretTurnRate = 360
FiresWhileTurning = Yes
End
AutoAcquireEnemiesWhenIdle = Yes
MoodAttackCheckRate = 240
End
End
End
Also a MAP :
Originally Posted by: SkyMix_RMT