Home   Help Search Login Register  

Author Topic: Create empty vehicle with name?  (Read 480 times)

0 Members and 1 Guest are viewing this topic.

evil

  • Guest
Create empty vehicle with name?
« on: 14 Mar 2004, 01:02:19 »
Is it possible to use the createvehicle command to create a vehicle with a name?  Just like doing "vehicle1=this" in createunit.  I want to set AI guys as gunners/drivers of vehicles created during the game.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Create empty vehicle with name?
« Reply #1 on: 14 Mar 2004, 01:06:14 »
You  name it when you create it:

FunkyDudeTank = "M1Abrams" createVehicle getmarkerpos "marker1"

FunkyDudeTank is the name of the vehicle.
« Last Edit: 14 Mar 2004, 01:07:39 by macguba »
Plenty of reviewed ArmA missions for you to play

evil

  • Guest
Re:Create empty vehicle with name?
« Reply #2 on: 14 Mar 2004, 04:31:41 »
Wow that's easy.  I saw it in the comref as _tank.  I thought that was just assigned to do anything you wanted to do to it, from within the script.  Anyway, thanks!

BTW, do you know the vehicle name for the M2?  I looked in the unofficial comref, but it only lists older vehicles.
« Last Edit: 14 Mar 2004, 04:32:44 by evil »

Javaman

  • Guest
Re:Create empty vehicle with name?
« Reply #3 on: 01 Apr 2004, 22:32:22 »
M2StaticMG OR M2StaticMGE ...NO?