ManiaScript Reference  2019-05
CModeVehicleManager Struct Reference
Inheritance diagram for CModeVehicleManager:
CNod

Public Types

enum  EArmorUse {
  Self, Group, Owner, Children,
  Mine
}
 
enum  ESlotType { Driver, Passenger }
 

Public Member Functions

Void MapVehicles_Reset ()
 
Void DestroyAllVehicles ()
 
CModeVehicle Vehicle_Create (Ident ModelId, Integer Clan, Integer Armor, EArmorUse ArmorUse, CMapSpawn Spawn)
 
CModeVehicle Vehicle_Create (Ident ModelId, Vec3 Offset, Integer Armor, EArmorUse ArmorUse, CModeVehicle Owner)
 
Void Vehicle_Destroy (CModeVehicle Vehicle)
 
Void Vehicle_Assign_AutoPilot (CModeVehicle Vehicle, Text ModelName)
 
Void Vehicle_Assign_AutoPilot (CModeVehicle Vehicle, Text ModelName, Boolean LoopPath)
 
Void Vehicle_SetTrailVisible (CModeVehicle Vehicle, Boolean IsVisible)
 
Void Vehicle_SetShieldVisible (CModeVehicle Vehicle, Boolean IsVisible)
 
Integer VehicleModel_GetSlotsCount (Ident ModelId, ESlotType SlotType)
 

Public Attributes

CModeVehicle [] Vehicles
 
- Public Attributes inherited from CNod
const Ident Id
 

Member Enumeration Documentation

◆ EArmorUse

Enumerator
Self 
Group 
Owner 
Children 
Mine 

◆ ESlotType

Enumerator
Driver 
Passenger 

Member Function Documentation

◆ DestroyAllVehicles()

Void CModeVehicleManager::DestroyAllVehicles ( )

◆ MapVehicles_Reset()

Void CModeVehicleManager::MapVehicles_Reset ( )

◆ Vehicle_Assign_AutoPilot() [1/2]

Void CModeVehicleManager::Vehicle_Assign_AutoPilot ( CModeVehicle  Vehicle,
Text  ModelName 
)

◆ Vehicle_Assign_AutoPilot() [2/2]

Void CModeVehicleManager::Vehicle_Assign_AutoPilot ( CModeVehicle  Vehicle,
Text  ModelName,
Boolean  LoopPath 
)

◆ Vehicle_Create() [1/2]

CModeVehicle CModeVehicleManager::Vehicle_Create ( Ident  ModelId,
Integer  Clan,
Integer  Armor,
EArmorUse  ArmorUse,
CMapSpawn  Spawn 
)

◆ Vehicle_Create() [2/2]

CModeVehicle CModeVehicleManager::Vehicle_Create ( Ident  ModelId,
Vec3  Offset,
Integer  Armor,
EArmorUse  ArmorUse,
CModeVehicle  Owner 
)

◆ Vehicle_Destroy()

Void CModeVehicleManager::Vehicle_Destroy ( CModeVehicle  Vehicle)

◆ Vehicle_SetShieldVisible()

Void CModeVehicleManager::Vehicle_SetShieldVisible ( CModeVehicle  Vehicle,
Boolean  IsVisible 
)

◆ Vehicle_SetTrailVisible()

Void CModeVehicleManager::Vehicle_SetTrailVisible ( CModeVehicle  Vehicle,
Boolean  IsVisible 
)

◆ VehicleModel_GetSlotsCount()

Integer CModeVehicleManager::VehicleModel_GetSlotsCount ( Ident  ModelId,
ESlotType  SlotType 
)

Member Data Documentation

◆ Vehicles

CModeVehicle [] CModeVehicleManager::Vehicles