• 0
drsmith87

Repairing Tanks Interaction Menu?

Question

Good afternoon all.  The other night I was playing on the server I host (v 1.54 Arma, v 0.9.4 of Exile) and realized that we are still unable to repair tanks.  After looking at the change list, I saw where the Interactions menu was moved to the mission config file.  In looking at mine, I don't see a class that would work for Tanks unless that is supposed to be car.  Is that correct?  All I know is the interaction menu looks similar to 0.9.35 of Exile.   

 

If this is in the wrong area mods, please move it to the correct one.  I just wasn't quite sure where this question would best fit.

 

Thanks,

Daniel

Share this post


Link to post
Share on other sites

5 answers to this question

  • 0

Not a bug. Add this in your cfginteractionmenus

 

Spoiler

class Tank {
        targetType = 2;
        target = "Tank";

        class Actions {

            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 = "call ExileClient_object_vehicle_interaction_show";
                action = "_this call ExileClient_object_vehicle_Repair";
            };

            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";
            };
        };
    };

 

1 person likes this

Share this post


Link to post
Share on other sites
  • 0

The OP is 9 months old. Chances are this is fixed for him or just isn't an issue anymore.

1 person likes this

Share this post


Link to post
Share on other sites
Advertisement
  • 0
On 8/5/2016 at 3:14 PM, BetterDeadThanZed said:

The OP is 9 months old. Chances are this is fixed for him or just isn't an issue anymore.

Possibly but when other people search and run across this it will help them as well.

2 people like this

Share this post


Link to post
Share on other sites
  • 0
On 2016/8/6 at 9:08 PM, Mr Salt said:

Possibly but when other people search and run across this it will help them as well.

It just did, thanks.

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.