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

Go to the source code of this file.

Macros

#define DONT_MOVE_TIME_MAX   3
 
#define DONT_MOVE_TIME_MIN   1
 
#define VENGEANCE_CHANCE   0.5
 
#define VENGEANCE_DISTANCE_SQ   SQR( 360 )
 

Functions

function private _IsValidNeighbor (entity, neighbor)
 
function private exposedSetDesiredStanceToStand (behaviorTreeEntity, asmStateName)
 
function private hasCloseEnemy (behaviorTreeEntity)
 
function private noCloseEnemyService (behaviorTreeEntity)
 
function private prepareToReactToEnemy (behaviorTreeEntity)
 
function autoexec RegisterBehaviorScriptfunctions ()
 
function private resetReactionToEnemy (behaviorTreeEntity)
 
function private setPathMoveDelayedRandom (behaviorTreeEntity, asmStateName)
 
function private tryReacquireService (behaviorTreeEntity)
 
function private vengeanceService (entity)
 

Macro Definition Documentation

◆ DONT_MOVE_TIME_MAX

#define DONT_MOVE_TIME_MAX   3

Definition at line 101 of file archetype_human_exposed.gsc.

◆ DONT_MOVE_TIME_MIN

#define DONT_MOVE_TIME_MIN   1

Definition at line 100 of file archetype_human_exposed.gsc.

◆ VENGEANCE_CHANCE

#define VENGEANCE_CHANCE   0.5

Definition at line 78 of file archetype_human_exposed.gsc.

◆ VENGEANCE_DISTANCE_SQ

#define VENGEANCE_DISTANCE_SQ   SQR( 360 )

Definition at line 79 of file archetype_human_exposed.gsc.

Function Documentation

◆ _IsValidNeighbor()

function private _IsValidNeighbor ( entity  ,
neighbor   
)

Definition at line 72 of file archetype_human_exposed.gsc.

Referenced by vengeanceService().

◆ exposedSetDesiredStanceToStand()

function private exposedSetDesiredStanceToStand ( behaviorTreeEntity  ,
asmStateName   
)

◆ hasCloseEnemy()

function private hasCloseEnemy ( behaviorTreeEntity  )

Definition at line 61 of file archetype_human_exposed.gsc.

References CLOSE_ENEMY_DISTANCE_SQ.

Referenced by RegisterBehaviorScriptfunctions().

◆ noCloseEnemyService()

function private noCloseEnemyService ( behaviorTreeEntity  )

Definition at line 49 of file archetype_human_exposed.gsc.

References hasCloseEnemyToMelee().

Referenced by RegisterBehaviorScriptfunctions().

◆ prepareToReactToEnemy()

function private prepareToReactToEnemy ( behaviorTreeEntity  )

Definition at line 33 of file archetype_human_exposed.gsc.

Referenced by RegisterBehaviorScriptfunctions().

◆ RegisterBehaviorScriptfunctions()

◆ resetReactionToEnemy()

function private resetReactionToEnemy ( behaviorTreeEntity  )

Definition at line 42 of file archetype_human_exposed.gsc.

Referenced by RegisterBehaviorScriptfunctions().

◆ setPathMoveDelayedRandom()

function private setPathMoveDelayedRandom ( behaviorTreeEntity  ,
asmStateName   
)

Definition at line 102 of file archetype_human_exposed.gsc.

References DONT_MOVE_TIME_MAX, and DONT_MOVE_TIME_MIN.

Referenced by RegisterBehaviorScriptfunctions().

◆ tryReacquireService()

function private tryReacquireService ( behaviorTreeEntity  )

◆ vengeanceService()

function private vengeanceService ( entity  )