Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×

cmzeno

Member
  • Content Count

    1
  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

About cmzeno

  • Rank
    Newbie
  1. Hi friends, Planes are indeed "reluctant" when it comes to fire at infantry, so here's a little script meant to solve this issue (nothing fancy I admit, but quite effective). Somewhere on the editor create an enemy plane (plane1), flying at about 100m. You are the player and also the target (name it player1). Paste this into a script and call it from a trigger or wherever you wish. What it does: adds a waypoint with the properties below then selects bomb ordnance for the aircraft to fire at you, the moment it's got a clear shot at the target. wp1 = (group plane1) addWaypoint [(getPos player1), 0]; wp1 setWaypointType "SAD"; wp1 setWaypointBehaviour "COMBAT"; wp1 setWaypointCombatMode "RED"; wp1 setWaypointStatements ["true",""]; wp1 setWaypointSpeed "NO CHANGE"; plane1 doTarget player1; (driver plane1) forceWeaponFire ["Bomb_03_Plane_CAS_02_F", "Bomb_03_Plane_CAS_02_F"]; waitUntil {plane1 aimedAtTarget [player1] > 0}; plane1 fireAtTarget [player1]; It works, but the plane is going to "hesitate" a lot before releasing the bomb, unless it's aligned with the target.
×