From 8cdf8677c1ec746f3f5f312adb3098cc81e67197 Mon Sep 17 00:00:00 2001 From: Applevangelist Date: Thu, 20 Jun 2024 18:08:24 +0200 Subject: [PATCH] #UTILS Added AH64 and Kiowa Callsign enumerators --- Moose Development/Moose/Utilities/Utils.lua | 53 ++++++++++++++++++++- 1 file changed, 52 insertions(+), 1 deletion(-) diff --git a/Moose Development/Moose/Utilities/Utils.lua b/Moose Development/Moose/Utilities/Utils.lua index 9c4b6bd50..360fc9c99 100644 --- a/Moose Development/Moose/Utilities/Utils.lua +++ b/Moose Development/Moose/Utilities/Utils.lua @@ -197,6 +197,45 @@ CALLSIGN={ Cargo=11, Ascot=12, }, + AH64={ + Army_Air = 9, + Apache = 10, + Crow = 11, + Sioux = 12, + Gatling = 13, + Gunslinger = 14, + Hammerhead = 15, + Bootleg = 16, + Palehorse = 17, + Carnivor = 18, + Saber = 19, + }, + Kiowa = { + Anvil = 1, + Azrael = 2, + BamBam = 3, + Blackjack = 4, + Bootleg = 5, + BurninStogie = 6, + Chaos = 7, + CrazyHorse = 8, + Crusader = 9, + Darkhorse = 10, + Eagle = 11, + Lighthorse = 12, + Mustang = 13, + Outcast = 14, + Palehorse = 15, + Pegasus = 16, + Pistol = 17, + Roughneck = 18, + Saber = 19, + Shamus = 20, + Spur = 21, + Stetson = 22, + Wrath = 23, + }, + } --#CALLSIGN --- Utilities static class. @@ -1923,7 +1962,19 @@ function UTILS.GetCallsignName(Callsign) return name end end - + + for name, value in pairs(CALLSIGN.AH64) do + if value==Callsign then + return name + end + end + + for name, value in pairs(CALLSIGN.Kiowa) do + if value==Callsign then + return name + end + end + return "Ghostrider" end