Sebas

Protection payment

10 posts in this topic

Hello everyone. Sorry for my English. I am looking for a script to be able to pay the protection of the flag with my respect on my XM8 or with the flag please. Thank you

 

EDIT:

I found.
class territoryProtectionMoney
{
title = "Pay Territory Protection Money";
condition = "true";
action = "_this call ExileClient_gui_payTerritoryProtectionMoneyDialog_show";
};

Can you do the same thing to create a family?

Edited by Sebas

Share this post


Link to post
Share on other sites
Advertisement
Quote

I am looking for a script to be able to pay the protection of the flag with my respect on my XM8 or with the flag please. Thank you

to pay protection at your flag replace your flag interactions with the following:

Quote

class Flag
 {
  targetType = 2;
  target = "Exile_Construction_Flag_Static";

  class Actions
  {
   /*
   class Manage : ExileAbstractAction
   {
    title = "Manage";
    condition = "true";
    action = "_this call ExileClient_gui_baseManagement_event_show";
   };
   */
   class StealFlag: ExileAbstractAction
   {
    title = "Steal Flag";
    condition = "((ExileClientInteractionObject getvariable ['ExileFlagStolen',1]) isEqualTo 0)";
    action = "['StealFlag', _this select 0] call ExileClient_action_execute";
   };
   
   class RestoreFlag: ExileAbstractAction
   {
    title = "Restore Flag";
    condition = "((ExileClientInteractionObject getvariable ['ExileFlagStolen',0]) isEqualTo 1)";
    action = "['restoreFlagRequest', [netID ExileClientInteractionObject]] call ExileClient_system_network_send";
   };
   //Pay Protection
   class Payprotection : ExileAbstractAction
   {
    title = "Pay Protection";
    condition = "true";
    action = "_this call ExileClient_gui_payTerritoryProtectionMoneyDialog_show";
   };
  };
 };

it will only use poptabs, NOT respect but at least you will be able to pay at the flag pole.

cheers

Share this post


Link to post
Share on other sites

   class PayprotectionRansom : ExileAbstractAction
   {
    title = "Pay Ransom";
    condition = "true";
    action = "_this call ExileClient_gui_payFlagRansomDialog_show";
   };

 

Edited by WURSTKETTE

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.