Home   Help Search Login Register  

Author Topic: Createvehicle for Addons / Su25 AA  (Read 335 times)

0 Members and 1 Guest are viewing this topic.

onionres

  • Guest
Createvehicle for Addons / Su25 AA
« on: 22 Jun 2004, 06:17:09 »
I'm making a 'Top Gun' style mission of OFP and i need some help with the following:

1. How on earth do you spawn addons using createvehicle?

2. Can i give the Su25 in the game some AA missiles?

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:Createvehicle for Addons / Su25 AA
« Reply #1 on: 22 Jun 2004, 18:09:10 »
find the classname of the addon vehicle by creating a test mission with it in and then scanning the mission.sqm for its entry

and then when you have it, createvehicle in the same way you would for any vehicle

_vclpos = getpos (Gamelogic called whatever)

_vcl = "Vehicleclassname" createVehicle _vclpos

removeallweapons _vcl

_vcl addweapon "WEAPONCLASSNAME"
« Last Edit: 22 Jun 2004, 18:10:00 by Terox »
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123