Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Warfare class names  (Read 1648 times)

0 Members and 1 Guest are viewing this topic.

Offline Cheetah

  • Former Staff
  • ****
Warfare class names
« on: 31 Aug 2008, 17:33:18 »
Hmm, does anyone know where the object class names of Warfare are?

I need that of a crate to spawn it.
Like missions? Help with Beta Testing! or take a look at the OFPEC Missions Depot for reviewed missions!

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re: Warfare class names
« Reply #1 on: 31 Aug 2008, 17:58:20 »
Place down the crate. In the init field of it, write:

Code: [Select]
hint (typeOf this)
?

Profit!

Although we should probably get the cfgVehicles section updated with the new Warfare objects.  :scratch:

Wolfrug out.
"When 900 years YOU reach, look as good you will not!"

Offline Cheetah

  • Former Staff
  • ****
Re: Warfare class names
« Reply #2 on: 31 Aug 2008, 18:44:01 »
Thanks, works like a charm.

By the way,  WarfareBCrate
Like missions? Help with Beta Testing! or take a look at the OFPEC Missions Depot for reviewed missions!

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: Warfare class names
« Reply #3 on: 20 Sep 2008, 11:45:37 »
The Warfare vehicle classnames are all now listed in the Comref cfgVehicles tree, also the weapon details are now listed in the Comref weapons lists.


Planck
I know a little about a lot, and a lot about a little.