Usage:
AiSettings.AddVehicleToVehicleGroup
number name
Argument values:
argument 1: | range is 0 to 17; most commonly 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 |
argument 2: | air, all, amphib, any, infantry, land, lcvp, sea, tank; most commonly land |
This property is not a part of any defined type of object.
Used in a total of 16 .con files: Strategicareas.con
Parent directory of these .con files: Bf1942/Levels
Example: (from Bf1942/Levels/GuadalCanal/AI/StrategicAreas.con)
if v_arg1 == host
rem ----- Host
rem ----------------------------------------------------------------------------
rem *** Create vehicle groups ***
AiSettings.CreateVehicleGroup land
AiSettings.CreateVehicleGroup any
AiSettings.CreateVehicleGroup sea
rem * add vehicles to the groups *
AiSettings.AddVehicleToVehicleGroup 0 land
AiSettings.AddVehicleToVehicleGroup 1 any
AiSettings.AddVehicleToVehicleGroup 2 sea
AiSettings.AddVehicleToVehicleGroup 3 land
AiSettings.AddVehicleToVehicleGroup 4 any
AiSettings.AddVehicleToVehicleGroup 5 land
AiSettings.AddVehicleToVehicleGroup 6 land
AiSettings.AddVehicleToVehicleGroup 7 any
AiSettings.AddVehicleToVehicleGroup 8 any
AiSettings.AddVehicleToVehicleGroup 9 any
AiSettings.AddVehicleToVehicleGroup 10 any
AiSettings.AddVehicleToVehicleGroup 11 any
AiSettings.AddVehicleToVehicleGroup 12 sea
AiSettings.AddVehicleToVehicleGroup 13 any
AiSettings.AddVehicleToVehicleGroup 14 land
Go to the AiSettings properties list page, AiSettings page, All Properties list, or Main scripting page.