Home   Help Search Login Register  

Author Topic: How to deleteVehicle the Heli's gunner???  (Read 896 times)

0 Members and 1 Guest are viewing this topic.

gundernak

  • Guest
How to deleteVehicle the Heli's gunner???
« on: 04 Feb 2004, 18:46:57 »
Hi all,

I have a group.

sniper - leader
machinegunner (name: newgunner)
soldier
medic
UH60-MG (name: chopper01)

These are 6 soldiers.

I would like to start the mission with a deleted gunner in the heli, and a machine gunner to replace him.

In a script I tryed :

deleteVehicle gunner chopper01
newgunner moveInGunner chopper01

and I tryed to eject the original gunner as well.

Actually after both methods he reamins in the chopper.

The problem is I can not define the unit which I want to delete. Because 'gunner chopper01' does not represent him.

So how can I 'deleteVehicle' him?

thanks in advance


Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:How to deleteVehicle the Heli's gunner???
« Reply #1 on: 04 Feb 2004, 18:49:38 »
deleteVehicle chopper01g

Vehicle crews are automatically named by the game with the suffixes C for commander, G for gunner and d for driver.
Plenty of reviewed ArmA missions for you to play

Offline myke13021

  • Contributing Member
  • **
  • Myke
Re:How to deleteVehicle the Heli's gunner???
« Reply #2 on: 04 Feb 2004, 18:51:06 »
Unsure if you can do this.

A solution could be to place an Empty Chopper, place a pilot unit and use pilot moveindriver chopper and newgunner moveingunner chopper.

:edit:

lol...as i see it is possible...
« Last Edit: 04 Feb 2004, 18:51:52 by myke13021 »

gundernak

  • Guest
Re:How to deleteVehicle the Heli's gunner???
« Reply #3 on: 04 Feb 2004, 18:58:47 »
sorry Macguba I tryed this as well. Does not work...

anyway thanks

I thought about an empty chopper as well, but they are starting wiith flying above the sea...

That's why I can not use an empty vehicle.

Offline myke13021

  • Contributing Member
  • **
  • Myke
Re:How to deleteVehicle the Heli's gunner???
« Reply #4 on: 04 Feb 2004, 19:09:25 »
hmmm...i used a lot choppers started flying.

try this:
create a empty chopper, make him start "flying", i'll use "chopper" as name for this example
create a pilot and in it's init field put:
this assignasdriver chopper; this moveindriver chopper

this should create a chopper flying at start.

the commands above work also for gunners (assignasgunner, moveingunner) as for cargo (assignascargo, moveincargo).

Not sure if a flyinheight command in the choppers init field would do something

gundernak

  • Guest
Re:How to deleteVehicle the Heli's gunner???
« Reply #5 on: 04 Feb 2004, 19:34:34 »
OK emtpy chopper is working...

I do not know why I thought it will fall down at the beginning of the mission.

I remembered that, but this way something else...

thanks