"Raven 21 is Down" bug in USMC arrival script
Posted: Tue Mar 10, 2026 11:00 pm
I've decided to give "Raven 21 is Down" a try recently and found a bug in the US_USMCReachesCrashSite script. Specifically in line 4.
The main issue is that there is no equal sign between the variable "theMessage" and the function "GenerateRadioMessageBody" so "theMessage" remains unassigned leading to a null reference error when the message is actually sent.
Code: Select all
local theUnit = ScenEdit_UnitX()
if theUnit.dbid == 1346 or theUnit.dbid == 1696 then
local theMessage GenerateRadioMessageBody(
"We're at the crash site and ready to provide security until the helos can come in for extraction.",
theUnit.name
)
RadioMessage(
"VHF",
"132.25MHz ENCRYPTED",
theMessage,
{latitude = theUnit.latitude, longitude = theUnit.longitude}
)
ChangeScore('United States',100,'USMC ground forces reached the crash site to provide security for extraction.')
ScenEdit_SetEvent('US_USMCReachesCrashSite',{isactive=false})
end