Jump to content
Sign in to follow this  
arthur666

how do i remove healing ability from unit?

Recommended Posts

I'ld like to make it so my seahawks don't have that capability in one mission so they dopn't keek getting called from their waypoints.

Share this post


Link to post
Share on other sites

Since the ability to heal is "hardcoded" in the vehicles config and there is no command to influence this setting (unlike repair, rearm and refuel vehicles), the only way would be to create a new addon for it.

Share this post


Link to post
Share on other sites

Drat! I guess i'll have to use some addons instead, maybe that excellent MH-53E. I try to keep addons out of my missions for compatibility. I tried to load up some old Arma1 missions (in Arma1) but they were so crowded with long-gone random addons, I couldn't open them in the editor

Share this post


Link to post
Share on other sites

Actually, you can change the config of existing vehicles.

config.cpp

class CfgPatches {
class MH60NoHeal {
	units[] = {MH60S};
	weapons[] = {};
	requiredVersion = 0.1;
	requiredAddons[] = {"CAAir"};
};
};
class CfgVehicles {
class UH60_Base;
class MH60S : UH60_Base {
	attendant = false;
};
};

I think you can integrate the config change into a mission, but I haven't done it before.

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  

×