Jump to content

Recommended Posts

Posted

Hi all!

whilst we can use set formations in a waypoint via e.g.

...
["formation_template"]="Ammo Truck Circle"
...

the actual references seem only to exists in the

mission 

file in the miz. The setup is relatively simple

    ["customFormations"] = 
    {
        [1] = 
        {
            ["name"] = "Ammo Truck Circle",
            ["positions"] = 
            {
                [1] = 
                {
                    ["y"] = 0,
                    ["x"] = 0,
                    ["heading"] = 4.4134813168853,
                }, -- end of [1]
                [2] = 
                {
                    ["y"] = 208.17113065999,
                    ["x"] = -24.903908270004,
                    ["heading"] = 4.4134813168853,
                }, -- end of [2]
                [3] = 
                {
                    ["y"] = -74.07316305011,
                    ["x"] = 173.05023437999,
                    ["heading"] = 4.4134813168853,
                }, -- end of [3]
                [4] = 
                {
                    ["y"] = 321.19656048995,
                    ["x"] = 153.25482011,
                    ["heading"] = 4.4134813168853,
                }, -- end of [4]
                [5] = 
                {
                    ["y"] = 27.458155269967,
                    ["x"] = 330.13642498999,
                    ["heading"] = 4.4134813168853,
                }, -- end of [5]
                [6] = 
                {
                    ["y"] = 223.4966126699,
                    ["x"] = 327.58217799,
                    ["heading"] = 4.4134813168853,
                }, -- end of [6]
            }, -- end of ["positions"]
        }, -- end of [1]
    }, -- end of ["customFormations"]

 

Question: Can these be dynamically added and/or altered via the API with LUA scripting? Thanks

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...