‪Black Ops 3 Source Code Explorer  0.1
‪An script explorer for Black Ops 3 by ZeRoY
archetype_human_cover.gsc File Reference

Go to the source code of this file.

Macros

#define COVER_AIM_ANGLE_EPSILON   10
 
#define SENSE_DISTANCE   360
 
#define SENSE_DISTANCE_SQ   SQR(SENSE_DISTANCE)
 

Functions

function private canChangeStanceAtCoverCondition (behaviorTreeEntity)
 
function private cleanUpChangeStanceToCrouch (behaviorTreeEntity, asmStateName)
 
function private cleanUpChangeStanceToStand (behaviorTreeEntity, asmStateName)
 
function private coverBlindfireShootActionStart (behaviorTreeEntity, asmStateName)
 
function private coverChangeStanceActionStart (behaviorTreeEntity, asmStateName)
 
function private coverCleanUpToThrowGrenade (behaviorTreeEntity)
 
function private coverPrepareToThrowGrenade (behaviorTreeEntity)
 
function private coverVantageInitialize (behaviorTreeEntity, asmStateName)
 
function private prepareForAdjustToCover (behaviorTreeEntity, asmStateName)
 
function private prepareToChangeStanceToCrouch (behaviorTreeEntity, asmStateName)
 
function private prepareToChangeStanceToStand (behaviorTreeEntity, asmStateName)
 
function autoexec RegisterBehaviorScriptfunctions ()
 
function private senseNearbyPlayers (entity)
 
function private shouldAdjustToCover (behaviorTreeEntity)
 
function private shouldReturnToCoverCondition (behaviorTreeEntity)
 
function private shouldReturnToSuppressedCover (entity)
 
function shouldThrowGrenadeAtCoverCondition (behaviorTreeEntity, throwIfPossible=false)
 
function private shouldVantageAtCoverCondition (behaviorTreeEntity)
 
function private supportsVantageCoverCondition (behaviorTreeEntity)
 
function TEMP_get_arm_offset (behaviorTreeEntity, throwPosition)
 

Macro Definition Documentation

◆ COVER_AIM_ANGLE_EPSILON

#define COVER_AIM_ANGLE_EPSILON   10

Definition at line 498 of file archetype_human_cover.gsc.

◆ SENSE_DISTANCE

#define SENSE_DISTANCE   360

Definition at line 184 of file archetype_human_cover.gsc.

◆ SENSE_DISTANCE_SQ

#define SENSE_DISTANCE_SQ   SQR(SENSE_DISTANCE)

Definition at line 185 of file archetype_human_cover.gsc.

Function Documentation

◆ canChangeStanceAtCoverCondition()

function private canChangeStanceAtCoverCondition ( behaviorTreeEntity  )

◆ cleanUpChangeStanceToCrouch()

function private cleanUpChangeStanceToCrouch ( behaviorTreeEntity  ,
asmStateName   
)

Definition at line 466 of file archetype_human_cover.gsc.

References releaseClaimNode().

Referenced by RegisterBehaviorScriptfunctions().

◆ cleanUpChangeStanceToStand()

function private cleanUpChangeStanceToStand ( behaviorTreeEntity  ,
asmStateName   
)

Definition at line 454 of file archetype_human_cover.gsc.

References releaseClaimNode().

Referenced by RegisterBehaviorScriptfunctions().

◆ coverBlindfireShootActionStart()

function private coverBlindfireShootActionStart ( behaviorTreeEntity  ,
asmStateName   
)

◆ coverChangeStanceActionStart()

function private coverChangeStanceActionStart ( behaviorTreeEntity  ,
asmStateName   
)

◆ coverCleanUpToThrowGrenade()

function private coverCleanUpToThrowGrenade ( behaviorTreeEntity  )

◆ coverPrepareToThrowGrenade()

function private coverPrepareToThrowGrenade ( behaviorTreeEntity  )

◆ coverVantageInitialize()

function private coverVantageInitialize ( behaviorTreeEntity  ,
asmStateName   
)

◆ prepareForAdjustToCover()

function private prepareForAdjustToCover ( behaviorTreeEntity  ,
asmStateName   
)

◆ prepareToChangeStanceToCrouch()

function private prepareToChangeStanceToCrouch ( behaviorTreeEntity  ,
asmStateName   
)

◆ prepareToChangeStanceToStand()

function private prepareToChangeStanceToStand ( behaviorTreeEntity  ,
asmStateName   
)

◆ RegisterBehaviorScriptfunctions()

◆ senseNearbyPlayers()

function private senseNearbyPlayers ( entity  )

Definition at line 186 of file archetype_human_cover.gsc.

References SENSE_DISTANCE, and SENSE_DISTANCE_SQ.

Referenced by RegisterBehaviorScriptfunctions().

◆ shouldAdjustToCover()

function private shouldAdjustToCover ( behaviorTreeEntity  )

◆ shouldReturnToCoverCondition()

function private shouldReturnToCoverCondition ( behaviorTreeEntity  )

◆ shouldReturnToSuppressedCover()

function private shouldReturnToSuppressedCover ( entity  )

Definition at line 282 of file archetype_human_cover.gsc.

Referenced by RegisterBehaviorScriptfunctions().

◆ shouldThrowGrenadeAtCoverCondition()

◆ shouldVantageAtCoverCondition()

function private shouldVantageAtCoverCondition ( behaviorTreeEntity  )

◆ supportsVantageCoverCondition()

function private supportsVantageCoverCondition ( behaviorTreeEntity  )

Definition at line 414 of file archetype_human_cover.gsc.

Referenced by RegisterBehaviorScriptfunctions().

◆ TEMP_get_arm_offset()