Assault Equipment

The assault_equipment container object lists battle_vehicle objects that represent vehicles on the battlefield. An assault_equipment list may be retrieved from the battle object by calling battle:assault_equipment.

Loaded in Battle loaded in battle
Back to top

Functionality

assault_equipment:vehicle_count()

Returns the number of vehicles in the collection.

Returns:

  1. number count

assault_equipment:vehicle_item(number index)

Returns the vehicles at the specified index value in the collection.

Parameters:

1

number

index

Returns:

  1. battle_vehicle vehicle

Vehicle

Vehicle objects represent vehicles on the battlefield, such as battering rams or siege towers. Vehicle objects can be retrieved from the battle_assault_equipment list, which itself is retrieved from the battle object.

Back to top

Functionality

vehicle:position()

Returns the position of the vehicle.

Returns:

  1. battle_vector position
Last updated 07/02/21 06:39:15