You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: