VehicleCaptured
From Original War Support Wiki
SAIL Events -> VehicleCaptured
Added In: 1.02
Description
This events occurs when a vehicle changes side (when unit from a different side than the manually controlled vehicle goes inside the vehicle or when a Russian scientist hacks a computer controlled vehicle).
Important note
When vehicle changes side, its identifier is changed. That's why the event exports both the old and the new identifier of the vehicle.
Exported Values
VehicleCaptured(new_identifier, old_identifier, old_side, capturing_unit)
new_identifier - new identifier of the vehicle
old_identifier - old identifier of the vehicle
old_side - previous side of the vehicle
capturing_unit - identifier of unit which has changed side of the vehicle