Jump to content
Sign in to follow this  
=242= CPT. Helios

Wheeled APC have strange KindOf

Recommended Posts

The AMV-7 Marshall of NATO and Marid of CSAT are classified as cars. I have determined this by placing one into the editor and using vehicle player isKindof "Car" and seeing if the result returns true, which it does.

This, however, brings up some issues. These are clearly not hunters, they are Infantry Fighting Vehicles. I have some scripts which try to regulate which vehicles can be used by which classes. Crewmen are allowed to use tanks, IFVs, and APCs, where infantry are not. This is not a problem if we use the other APC for NATO, but we lose the capabilities of the Marshall. It would be much better if we could have the marshall and marid reclassified from Car to wheeled APC.

Share this post


Link to post
Share on other sites

Instead of just "car", you could use a more narrow classname like   vehicle player isKindOf "Wheeled_APC_F".

  • Like 1

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  

×