Razor77

ATM's

9 posts in this topic

Hi,

Is there any script or any way I could make the ATM's on the maps work like the lockers?  (a bit like they do in wasteland)

Thanks

Share this post


Link to post
Share on other sites

i have not tested this in awhile, but in the past this worked.

in your config.cpp add this within

class CfgInteractionMenus
{

class ATm
    {
	   targetType = 2;
	   target = "Land_Atm_02_F";
        class Actions
           {
        class GetMoney
	        {
				title = "Bank Account";
				condition = "true";
				action = "_this call ExileClient_gui_lockerDialog_show";
			};
        };
    };

 

  • Like 2

Share this post


Link to post
Share on other sites
Advertisement

This is from my CfgInteractionsMenus of config.cpp in the mission pbo:

   class ATM
    {
        targetType = 2;
        target = "Land_Atm_01_F";
        class Actions
        {
            class Locker: ExileAbstractAction
            {
                title = "Deposit/Withdraw Poptabs";
                condition = "true";
                action = "_this call ExileClient_gui_lockerDialog_show";
            };
        };
    };	
	
   class ATM2
    {
        targetType = 2;
        target = "Land_Atm_02_F";
        class Actions
        {
            class Locker: ExileAbstractAction
            {
                title = "Deposit/Withdraw Poptabs";
                condition = "true";
                action = "_this call ExileClient_gui_lockerDialog_show";
            };
        };
    };

I then went around on the Chernarus map and placed ATM's in the grocery stores and in the international hotel.

  • Like 1

Share this post


Link to post
Share on other sites

Thanks guys, we have had a lot of thefts from players bases recently so was think of increasing locker amount and have atm's around the map for them to store tabs.  Thanks

Edited by Razor77

Share this post


Link to post
Share on other sites
On 4/3/2017 at 10:16 AM, BetterDeadThanZed said:

This is from my CfgInteractionsMenus of config.cpp in the mission pbo:


   class ATM
    {
        targetType = 2;
        target = "Land_Atm_01_F";
        class Actions
        {
            class Locker: ExileAbstractAction
            {
                title = "Deposit/Withdraw Poptabs";
                condition = "true";
                action = "_this call ExileClient_gui_lockerDialog_show";
            };
        };
    };	
	
   class ATM2
    {
        targetType = 2;
        target = "Land_Atm_02_F";
        class Actions
        {
            class Locker: ExileAbstractAction
            {
                title = "Deposit/Withdraw Poptabs";
                condition = "true";
                action = "_this call ExileClient_gui_lockerDialog_show";
            };
        };
    };

I then went around on the Chernarus map and placed ATM's in the grocery stores and in the international hotel.

I was wondering what if any other numbers you can use in the targetType parameter. And what they mean.

Any ideas?

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.