Skip to content

mist.cloneGroup() No Longer Working #100

@rexseattle

Description

@rexseattle

Greetings:

Thanks for all of the years of hard work on this project!

I've been using this function for a couple of years, successfully, but it started failing a couple of months ago and I've not really delved into it in detail yet. I figured I'd first ascertain if it's a known issue. Basically, I can not longer get cloneGroup() to work.

Example:

In one simple mission, Blue and Red Air groups are named "BA" and "RA" respectively, and are numbered sequentially. They are all created in the mission editor as "Late Activation" are are activated as-needed by my script. Since it's a theoretically endless mission, the units are cloned, and then activated, instead of just activated.

The way I've been cloning them is with:

cloned_group_name = mist.cloneGroup("RA-1")

This succeeded for quite awhile, but now I get:

[string "C:/Users/Rex/DCS/Dev/github/MissionScriptingTools/mist.lua"]:1837: attempt to call field 'addGroup' (a nil value)

Is this something that you recognize?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions