OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: penguinman on 19 Sep 2005, 02:02:51

Title: figuring out classnames for man type units
Post by: penguinman on 19 Sep 2005, 02:02:51
how do you find out the classnames for man class unit addons.

I have a zombie pack and I want to find out what there class names are so I can createunit them in a script.


thanks
Title: Re:figuring out classnames for man type units
Post by: Fragorl on 19 Sep 2005, 02:13:59
Try
hint format ["%1",typeOf _zombie]
or alternatively open up the config.cpp of the addon and have a look
Title: Re:figuring out classnames for man type units
Post by: Triggerhappy on 19 Sep 2005, 03:50:51
most good addons will have that info in the readme as well
Title: Re:figuring out classnames for man type units
Post by: Kyle Sarnik on 19 Sep 2005, 04:48:04
Ha, I am so happy when people read my readme's, I put at the end something along the lines of "omg you are one of a kind for reading this readme!!!".  8)
Title: Re:figuring out classnames for man type units
Post by: Tyger on 20 Sep 2005, 00:40:42
Quote
Ha, I am so happy when people read my readme's, I put at the end something along the lines of "omg you are one of a kind for reading this readme!!!". 8)

Lol, yes you do  ;D

In case you don't know, the hint trick goes in something like an init line or in a radio trigger (i.e. Radio Alpha in a trigger)