Home   Help Search Login Register  

Author Topic: planes fight then resupply back 2 fight  (Read 469 times)

0 Members and 2 Guests are viewing this topic.

Commando

  • Guest
planes fight then resupply back 2 fight
« on: 26 Jan 2004, 11:38:38 »
I got a mission where 2 su-25's are parked at the arifield and when the guards detect the players squad the east pilots run to the planes and take off and fly around a bit untill you get inside a vehicle they maybe fire at you but i would like them to be able to set some patrols and search and destroy infantery and be able to rearm ammo & stuff when they need they would land back at base and then take off and go back to fighting.
is it possible to do it by using triggers and some markers and not more scripts?
got some heavy a.i scripts in the mission already.

StonedSoldier

  • Guest
Re:planes fight then resupply back 2 fight
« Reply #1 on: 26 Jan 2004, 13:15:57 »
one of doing would be to have two triggers, set them both to repeatedly

1.

Condition : planename ammo "su25missles" < 1
On Activation : planename land "land"

2.

Condition : speed planename < 4
On Activation : planename addmagazine "su25missiles"

planename is the name of your su25, and "su25missiles" is the name of the missiles on the su25 which i have forgotten what they are

sorry if this doesnt make much sense i did type in a rush.

Commando

  • Guest
Re:planes fight then resupply back 2 fight
« Reply #2 on: 27 Jan 2004, 02:44:32 »
thx for replying but how do i make them target the players squad?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:planes fight then resupply back 2 fight
« Reply #3 on: 27 Jan 2004, 10:32:32 »
You could use a destroy waypoint, a doTarget command or a reveal command.
Plenty of reviewed ArmA missions for you to play