Help with Taru Pod Menu

1 post in this topic

Here is the issue I am having: 

I made Taru Pods purchasable. 

That was easy. 

I can move them around not a problem.

Problem is that I want to be able to lock the cargo box.

I put this in config.cpp
class CfgInteractionMenus
    class Land_Pod_Heli_Transport_04_box_F
        targetType = 2;
        target = "Land_Pod_Heli_Transport_04_box_F";

        class Actions 
            // Locks a vehicle
            class Lock : ExileAbstractAction
                title = "Lock";
                condition = "((ExileClientInteractionObject getvariable ['ExileIsLocked',1]) isEqualTo 0)";
                action = "true spawn ExileClient_object_lock_toggle";

            class Unlock : ExileAbstractAction
                title = "Unlock";
                condition = "((ExileClientInteractionObject getvariable ['ExileIsLocked',1]) isEqualTo -1)";
                action = "false spawn ExileClient_object_lock_toggle";
And the menu options don't appear. Just the inventory option. 

I can move stuff in and out of the box
This isn't the first addition like this I've made. I did it with tanks and it worked just fine. 

I am at a loss at this point. Its set up just like a car or safe is, so I would think it would work like a car or safe. 

The only point I can think of that might be an issue is that containers go under the container section of the database and taru pods spawn as vehicles. 

Any ideas? 


Share this post

Link to post
Share on other sites

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.