Toumal Posted February 12, 2022 Posted February 12, 2022 Hi, I have another MOOSE question: I have a DCS unit object "initUnit", and I need to get the corresponding MOOSE UNIT object. However, both of the following return nil: local MooseUnit = UNIT:FindByName(initUnit:getName()) local MooseUnit = UNIT:Find(initUnit) initUnit:getName() returns the unit name as in the mission editor, without a numerical appendix. Does anyone have any hints as to get from the DCS unit to the MOOSE unit?
Death Merchant Posted March 4, 2022 Posted March 4, 2022 (edited) How is "initUnit" being created? Is "initUnit" the Unit Name or Group name in the Mission Editor? Edited March 4, 2022 by Death Merchant [PC] ASUS X570E - Ryzen 9 5950X - RX 6900 XT - 32GB 3600Mhz Hornet, A-4E-C, Huey, Ka-50, Mi-8, F-15E, F-14 Join us on Death Dealers PvE server.
Recommended Posts