OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started 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
-
Try
hint format ["%1",typeOf _zombie]
or alternatively open up the config.cpp of the addon and have a look
-
most good addons will have that info in the readme as well
-
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)
-
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)