1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Is it possible to disable some of the Spy Missions on certain districts?

Discussion in 'Mod Creation Help' started by XG417, Apr 23, 2017.

  1. XG417

    XG417 Chieftain

    Joined:
    Nov 20, 2016
    Messages:
    15
    Gender:
    Male
    For example, disable Recruitment of Partisans in a Neighborhood-type District.

    Is that kind of thing possible?
     
  2. isau

    isau Deity

    Joined:
    Jan 15, 2007
    Messages:
    3,052
    Can you explain what you mean by "disable on certain districts?" Do you mean remove the requirement that the District exists to perform the mission?

    For that you I think you could just do this, tho I admit I have not tested to see what it does in game:

    Code:
    UPDATE unitoperations
       SET targetdistrict = NULL
     WHERE unitoperations.OperationType = 'UNITOPERATION_SPY_RECRUIT_PARTISANS';
    
     

Share This Page