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

Public Member Functions

Void MapTurrets_Reset ()
 
CModeTurret Turret_Create (Ident ModelId, Vec3 Position, Vec3 Direction, Integer Clan, CPlayer OwnerPlayer)
 
CModeTurret Turret_CreateWithOwner (Ident ModelId, Vec3 Position, Vec3 Direction, Vec3 Up, Integer Clan, Ident OwnerId)
 
CModeTurret Turret_CreateWithOwner (Ident ModelId, Vec3 Position, Vec3 Direction, Vec3 Up, Integer Clan, Ident OwnerId, Boolean AutoAimOn, Boolean AutoTriggerOn)
 
Vec3 Turret_GetPosition (CModeTurret Turret)
 
Void Turret_Destroy (CModeTurret Turret)
 
Void Turret_DestroyAll ()
 
Void Turret_Activate (CModeTurret Turret)
 
Void Turret_Deactivate (CModeTurret Turret)
 
Void Turret_SetIsAutomatic (CModeTurret Turret, Boolean IsAuto)
 
Void Turret_Auto_SetAimAnticipation (CModeTurret Turret, Real AimAnticipationMs)
 
Void Turret_Auto_SetFirePeriod (CModeTurret Turret, Integer FirePeriodMs)
 
Void Turret_Auto_SetTargetDetectionFov (CModeTurret Turret, Real DectectionFOVDeg)
 
Void Turret_Auto_SetTargetDetectionRadius (CModeTurret Turret, Real DetectionRadius)
 
CEntity Turret_Auto_GetTarget (CModeTurret Turret)
 
Void Turret_Manual_SetTargetPos (CModeTurret Turret, Vec3 TargetPos)
 
Void Turret_Manual_Fire (CModeTurret Turret)
 

Public Attributes

CModeTurret [] Turrets
 
- Public Attributes inherited from CNod
const Ident Id
 

Member Function Documentation

◆ MapTurrets_Reset()

Void CModeTurretManager::MapTurrets_Reset ( )

◆ Turret_Activate()

Void CModeTurretManager::Turret_Activate ( CModeTurret  Turret)

◆ Turret_Auto_GetTarget()

CEntity CModeTurretManager::Turret_Auto_GetTarget ( CModeTurret  Turret)

◆ Turret_Auto_SetAimAnticipation()

Void CModeTurretManager::Turret_Auto_SetAimAnticipation ( CModeTurret  Turret,
Real  AimAnticipationMs 
)

◆ Turret_Auto_SetFirePeriod()

Void CModeTurretManager::Turret_Auto_SetFirePeriod ( CModeTurret  Turret,
Integer  FirePeriodMs 
)

◆ Turret_Auto_SetTargetDetectionFov()

Void CModeTurretManager::Turret_Auto_SetTargetDetectionFov ( CModeTurret  Turret,
Real  DectectionFOVDeg 
)

◆ Turret_Auto_SetTargetDetectionRadius()

Void CModeTurretManager::Turret_Auto_SetTargetDetectionRadius ( CModeTurret  Turret,
Real  DetectionRadius 
)

◆ Turret_Create()

CModeTurret CModeTurretManager::Turret_Create ( Ident  ModelId,
Vec3  Position,
Vec3  Direction,
Integer  Clan,
CPlayer  OwnerPlayer 
)

◆ Turret_CreateWithOwner() [1/2]

CModeTurret CModeTurretManager::Turret_CreateWithOwner ( Ident  ModelId,
Vec3  Position,
Vec3  Direction,
Vec3  Up,
Integer  Clan,
Ident  OwnerId 
)

◆ Turret_CreateWithOwner() [2/2]

CModeTurret CModeTurretManager::Turret_CreateWithOwner ( Ident  ModelId,
Vec3  Position,
Vec3  Direction,
Vec3  Up,
Integer  Clan,
Ident  OwnerId,
Boolean  AutoAimOn,
Boolean  AutoTriggerOn 
)

◆ Turret_Deactivate()

Void CModeTurretManager::Turret_Deactivate ( CModeTurret  Turret)

◆ Turret_Destroy()

Void CModeTurretManager::Turret_Destroy ( CModeTurret  Turret)

◆ Turret_DestroyAll()

Void CModeTurretManager::Turret_DestroyAll ( )

◆ Turret_GetPosition()

Vec3 CModeTurretManager::Turret_GetPosition ( CModeTurret  Turret)

◆ Turret_Manual_Fire()

Void CModeTurretManager::Turret_Manual_Fire ( CModeTurret  Turret)

◆ Turret_Manual_SetTargetPos()

Void CModeTurretManager::Turret_Manual_SetTargetPos ( CModeTurret  Turret,
Vec3  TargetPos 
)

◆ Turret_SetIsAutomatic()

Void CModeTurretManager::Turret_SetIsAutomatic ( CModeTurret  Turret,
Boolean  IsAuto 
)

Member Data Documentation

◆ Turrets

CModeTurret [] CModeTurretManager::Turrets