Jump to content
Sign in to follow this  
Cougar_DK

Clases and countType

Recommended Posts

Hi I'm trying to do this in a script:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_numofveh = "Land" countType _array

_numofmen = "Man" countType _array

_numofair = "Air" countType _array

Putting a BMP2 or the like in the mission gives me 1 vehicle, but putting a soldier gives me 1 vehicle and 1 man. Why?

And using "LandVehicles" also gives 0.

I have been using the following information from the Wicki:

http://community.bistudio.com/wiki/CfgVehicles

It seems that there is something up with the classes or ?

Cheers

Mark

Share this post


Link to post
Share on other sites

Both fixed in biki. It's "Landvehicle" and Man is also inherited from Land. smile_o.gif

Share this post


Link to post
Share on other sites

Thanx raedor. Changed my script and everything works as planned smile_o.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×