@jtff/miztemplate-lib 3.6.2 → 3.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -107,9 +107,11 @@ function QRATrigger(params)
|
|
|
107
107
|
local QRAIndex = params[3]
|
|
108
108
|
local msgTriggeredGround = ""
|
|
109
109
|
local msgTriggeredOthers = ""
|
|
110
|
+
local triggerPlayerName = ""
|
|
110
111
|
if (objQRA.customconfig.type == JTFF_QRA.Type.TangoAuto) then
|
|
111
112
|
local playerClient = CLIENT:FindByName(trigerringUnitName)
|
|
112
113
|
local playerName = playerClient:GetPlayer()
|
|
114
|
+
triggerPlayerName = playerName
|
|
113
115
|
local playerCoord = playerClient:GetCoordinate()
|
|
114
116
|
QRAArray[QRAIndex].objBogeyGroup = QRALaunchBogey(params)
|
|
115
117
|
local bullsCoord = COORDINATE.GetBullseyeCoordinate(objQRA.customconfig.benefit_coalition)
|
|
@@ -177,6 +179,7 @@ function QRATrigger(params)
|
|
|
177
179
|
playerName = playerClient:GetPlayer()
|
|
178
180
|
playerCoord = playerClient:GetCoordinate()
|
|
179
181
|
end
|
|
182
|
+
triggerPlayerName = playerName
|
|
180
183
|
local formatString = "QRA %s has been triggered by %s !\n" ..
|
|
181
184
|
"Type is : %s\n" ..
|
|
182
185
|
"If you're on Alert," ..
|
|
@@ -212,6 +215,7 @@ function QRATrigger(params)
|
|
|
212
215
|
playerName = playerClient:GetPlayer()
|
|
213
216
|
playerCoord = playerClient:GetCoordinate()
|
|
214
217
|
end
|
|
218
|
+
triggerPlayerName = playerName
|
|
215
219
|
local formatString = "QRA %s has been triggered by %s !\n" ..
|
|
216
220
|
"Type is : %s\n" ..
|
|
217
221
|
"If you're on Alert," ..
|