unitRemoved hook
Hook payload
---@meta
---@class HookPayload
---@field alertId string
---@field unitId string unitRemoved hook
Called when a unit is removed from an alert.
Example
exports.fd_shops:registerHook('unitRemoved', function(payload)
print(payload.alertId)
print(payload.unitId)
end)