Configuring AI Vehicle Patrols (A better example)

Discussion in 'Support & Release' started by Buttface, Nov 26, 2014.

  1. Buttface

    Buttface OpenDayZ Rockstar!

    Joined:
    Dec 6, 2012
    Messages:
    599
    Likes Received:
    141
    I realized too late that the example given in 2.1.3 and earlier versions isn't very clear about how to add multiple vehicle types. So, here is the better example that is used in DZAI 2.2.0 experimental:

    Air patrols:

    Code:
    DZAI_heliList = [
       ["UH1H_DZ",5],
       ["Mi17_DZ",5]
    ];
    Land patrols:

    Code:
    DZAI_vehList = [
       ["UAZ_Unarmed_TK_EP1",5],
       ["SUV_TK_CIV_EP1",5]
    ];
    As usual with arrays, the last item has no comma at the end. Tip for remembering: when writing lists in plain English, you don't put commas at the end of the list, for example, this would look extremely odd:

    For people familiar with DayZ Epoch's dynamic vehicle list, it's basically the same format.

    Hopefully this solves any confusion about configuring AI patrols.
     

Share This Page