CoverManager

Documents the CoverManager class and its functions.

triangle-exclamation

Invoking CoverManager

To invoke the cover manager, use the following Global function:

cm = Game.GetCoverManager()

Sub-functions

GetCoverActionType

GetCoverActionType(occupant : ref:GameObject) : AIUninterruptibleActionType;

GetCoverHeight

GetCoverHeight(coverId : Uint64) : gameCoverHeight;

GetCoverPosition

GetCoverPosition(coverId : Uint64) : Vector4;

GetCoverRemainingHealthPercentage

GetCoverWorldForward

GetCoverWorldUp

GetCurrentCover

GetDemandCoverHolder

GetThreatsNotProtectedFrom

GetUsableExposureSpotsForCover

GetUsableExposureSpotsForCoverOccupant

GetUsableExposureSpotsForCoverTolerance

IsCoverAvailable

IsCoverRegular

IsCoverValid

IsEnteringOrLeavingCover

IsProtectingHorizontallyAgainstObject

IsShootingSpot

LeaveCoverImmediately

NodeRefToObjectId

NotifyBehaviourCoverArgumentChanged

NotifyGotDamageInCover

RegisterCoverOccupant

SetMaxAllowedActionHalfAngleDeg

UnregisterCoverOccupant

Last updated