• 0
Sign in to follow this  
SleePyHollow150

Australia ATMs

Question

Hi,

I'm trying to add the australian ATMs as the lockers for my server. I've put this code in my CfgInteractionMenus section in my config.cpp file:

 

Spoiler

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

        class Actions 
        {
            class LockerAccess: ExileAbstractAction
            {
                title = "Locker Access";
                condition = "true";
                action = "call ExileClient_gui_lockerDialog_show;";
            };

        };
    };

It doesn't bring up any menu for the ATMs. I've attached a photo of the item I'm trying to make into a locker.

Cheers for your help.

Mark

 

2.png

Share this post


Link to post
Share on other sites

4 answers to this question

  • 0

have you tried this

    class ATM
    {
        targetType = 2;
        target = "Aus_ATM";

        class Actions 
        {
            class LockerAccess: ExileAbstractAction
            {
                title = "Locker Access";
                condition = "true";
                action = "call ExileClient_gui_lockerDialog_show;";
            };

        };
    };    

Share this post


Link to post
Share on other sites
Advertisement
  • 0

Just tried it and it's not working. I've noticed there are two "CfgInteractionMenus" in the config.cpp file. Do you know if I'm doing it wrong at all? Just tried it now with that code in both the CfgInteractionMenus sections and it still didn't work.

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.