Patrol types

In MDT, players are able to create patrol unit. During it's creation, among other things, script will ask them to select patrol type. Patrol types that are listed there, needs to be specified in configuration file.

Below you can find example of how to do that.

  1. Locate Config.PatrolTypes in your config file.

  2. Create new object inside PatrolTypes table.

  3. Each object must have three properties:

    • id - Unique ID to identify patrol type

    • callsign - What you put here, will be used when displaying patrol as short version of name, for example in patrols list

    • label - Name of patrol type that will be displayed during patrol creation

Config.PatrolTypes = {
    {
        id = "adam",
        callsign = "A",
        label = "Adam"
    }
}

Last updated