Jump to content
Sign in to follow this  
Sgt Smash

Tank repair not working, Any fix?

Recommended Posts

Hi i have the fix where it makes it comes out with flip,refuel,repair, flip and refuel works but when i press repair nothing happens not even the message to say the vehicle looks fine.

Any ideas?

Share this post


Link to post
Share on other sites

In mission config
 

class Tank 
{
	targetType = 2;
	target = "Tank";
	class Actions 
	{
		class ScanLock: ExileAbstractAction
		{
			title = "Scan Lock";
			condition = "('Exile_Item_ThermalScannerPro' in (magazines player)) && !ExilePlayerInSafezone && ((locked ExileClientInteractionObject) != 1)";
			action = "_this call ExileClient_object_lock_scan";
		};
		class Lock: ExileAbstractAction
		{
			title = "Lock";
			condition = "((locked ExileClientInteractionObject) isEqualTo 0) && ((locked ExileClientInteractionObject) != 1)";
			action = "true spawn ExileClient_object_lock_toggle";
		};
		class Unlock: ExileAbstractAction
		{
			title = "Unlock";
			condition = "((locked ExileClientInteractionObject) isEqualTo 2) && ((locked ExileClientInteractionObject) != 1)";
			action = "false spawn ExileClient_object_lock_toggle";
		};
		class Repair: ExileAbstractAction
		{
			title = "Repair";
			condition = "true";
			action = "['RepairVehicle', _this select 0] call ExileClient_action_execute";
		};
		class Hotwire: ExileAbstractAction
		{
			title = "Hotwire";
			condition = "((locked ExileClientInteractionObject) isEqualTo 2) && ((locked ExileClientInteractionObject) != 1)";
			action = "['HotwireVehicle', _this select 0] call ExileClient_action_execute";
		};
		class Flip: ExileAbstractAction
		{
			title = "Flip";
			condition = "call ExileClient_object_vehicle_interaction_show";
			action = "_this call ExileClient_object_vehicle_flip";
		};
		class Refuel: ExileAbstractAction
		{
			title = "Refuel";
			condition = "call ExileClient_object_vehicle_interaction_show";
			action = "_this call ExileClient_object_vehicle_refuel";
		};
		class DrainFuel: ExileAbstractAction
		{
			title = "Drain Fuel";
			condition = "call ExileClient_object_vehicle_interaction_show";
			action = "_this call ExileClient_object_vehicle_drain";
		};
	};
};

 

  • Thanks 1

Share this post


Link to post
Share on other sites
5 hours ago, dave_beastttt said:

In mission config
 


class Tank 
{
	targetType = 2;
	target = "Tank";
	class Actions 
	{
		class ScanLock: ExileAbstractAction
		{
			title = "Scan Lock";
			condition = "('Exile_Item_ThermalScannerPro' in (magazines player)) && !ExilePlayerInSafezone && ((locked ExileClientInteractionObject) != 1)";
			action = "_this call ExileClient_object_lock_scan";
		};
		class Lock: ExileAbstractAction
		{
			title = "Lock";
			condition = "((locked ExileClientInteractionObject) isEqualTo 0) && ((locked ExileClientInteractionObject) != 1)";
			action = "true spawn ExileClient_object_lock_toggle";
		};
		class Unlock: ExileAbstractAction
		{
			title = "Unlock";
			condition = "((locked ExileClientInteractionObject) isEqualTo 2) && ((locked ExileClientInteractionObject) != 1)";
			action = "false spawn ExileClient_object_lock_toggle";
		};
		class Repair: ExileAbstractAction
		{
			title = "Repair";
			condition = "true";
			action = "['RepairVehicle', _this select 0] call ExileClient_action_execute";
		};
		class Hotwire: ExileAbstractAction
		{
			title = "Hotwire";
			condition = "((locked ExileClientInteractionObject) isEqualTo 2) && ((locked ExileClientInteractionObject) != 1)";
			action = "['HotwireVehicle', _this select 0] call ExileClient_action_execute";
		};
		class Flip: ExileAbstractAction
		{
			title = "Flip";
			condition = "call ExileClient_object_vehicle_interaction_show";
			action = "_this call ExileClient_object_vehicle_flip";
		};
		class Refuel: ExileAbstractAction
		{
			title = "Refuel";
			condition = "call ExileClient_object_vehicle_interaction_show";
			action = "_this call ExileClient_object_vehicle_refuel";
		};
		class DrainFuel: ExileAbstractAction
		{
			title = "Drain Fuel";
			condition = "call ExileClient_object_vehicle_interaction_show";
			action = "_this call ExileClient_object_vehicle_drain";
		};
	};
};

 

Thanks dude that works great, my repair had something different in it's tank class i copied from old exile forums

Top man😀

  • Thanks 1

Share this post


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

×