Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
Bellum

Getting engineers to repair other vehicles

Recommended Posts

I am editing Domination West v1.09. I just need one small thing. I need to know how to make the engineers able to repair new vehicles I've added with mods such as the F-16, etc... I've searched in every file and I cannot find out how to do this.

Thanks in advance.

Share this post


Link to post
Share on other sites

Did you already try to see if the engineer can repair it?

x_playerfuncs.sqf Line 7:

x_sfunc = {
	private ["_objs"];
	if ((vehicle player) == player)then{_objs = nearestObjects [player,["LandVehicle","Air"],5];if (count _objs > 0) then {objectID2 = _objs select 0;if (alive objectID2) then {if(damage objectID2 > 0.05 || fuel objectID2<1)then{true}else{false};}else{false};};}else{false};
};

It only checks that the vehicle is within "LandVehicle" or "Air" class. If the F-16 is outside those base classes for some reason, then you could add it.

Share this post


Link to post
Share on other sites

Where would I go to add it?

edit: Nevermind I found it.

Edited by Bellum

Share this post


Link to post
Share on other sites
Sign in to follow this  

×