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

Go to the source code of this file.

Macros

#define LAST_SEEN_LOSS_LATENCY   3000
 

Functions

function __init__ ()
 
function private ArchetypeSkeletonBlackboardInit ()
 
function private ArchetypeSkeletonOnAnimscriptedCallback (entity)
 
function BB_GetArmsPosition ()
 
function BB_GetHasLegsStatus ()
 
function BB_GetLocomotionSpeedType ()
 
function get_closest_valid_player (origin, ignore_player)
 
function getClosestTo (origin, entArray)
 
function getClosestToMe (entArray)
 
function GetYaw (org)
 
function GetYawToEnemy ()
 
function private InitSkeletonBehaviorsAndASM ()
 
function is_player_valid (player, checkIgnoreMeFlag, ignore_laststand_players)
 
function is_within_fov (start_origin, start_angles, end_origin, fov)
 
function isSkeletonWalking (behaviorTreeEntity)
 
function isValidEnemy (enemy)
 
function skeletonCanSeePlayer (player)
 
function skeletonDeathAction (behaviorTreeEntity)
 
function skeletonGibLegsCondition (behaviorTreeEntity)
 
function skeletonNotetrackMeleeFire (animationEntity)
 
function skeletonSetGoal (goal)
 
function skeletonShouldMeleeCondition (behaviorTreeEntity)
 
function skeletonSpawnSetup ()
 
function skeletonTargetService (behaviorTreeEntity)
 

Macro Definition Documentation

◆ LAST_SEEN_LOSS_LATENCY

#define LAST_SEEN_LOSS_LATENCY   3000

Definition at line 197 of file skeleton.gsc.

Function Documentation

◆ __init__()

◆ ArchetypeSkeletonBlackboardInit()

◆ ArchetypeSkeletonOnAnimscriptedCallback()

function private ArchetypeSkeletonOnAnimscriptedCallback ( entity  )

Definition at line 109 of file skeleton.gsc.

References ArchetypeSkeletonBlackboardInit().

Referenced by ArchetypeSkeletonBlackboardInit().

◆ BB_GetArmsPosition()

function BB_GetArmsPosition ( )

Definition at line 120 of file skeleton.gsc.

References ARMS_DOWN, and ARMS_UP.

Referenced by ArchetypeSkeletonBlackboardInit().

◆ BB_GetHasLegsStatus()

function BB_GetHasLegsStatus ( )

Definition at line 156 of file skeleton.gsc.

References HAS_LEGS_NO, and HAS_LEGS_YES.

Referenced by ArchetypeSkeletonBlackboardInit().

◆ BB_GetLocomotionSpeedType()

function BB_GetLocomotionSpeedType ( )

◆ get_closest_valid_player()

function get_closest_valid_player ( origin  ,
ignore_player   
)

◆ getClosestTo()

function getClosestTo ( origin  ,
entArray   
)

Definition at line 620 of file skeleton.gsc.

Referenced by getClosestToMe().

◆ getClosestToMe()

function getClosestToMe ( entArray  )

Definition at line 632 of file skeleton.gsc.

References getClosestTo().

Referenced by skeletonTargetService().

◆ GetYaw()

function GetYaw ( org  )

Definition at line 553 of file skeleton.gsc.

Referenced by GetYawToEnemy().

◆ GetYawToEnemy()

function GetYawToEnemy ( )

Definition at line 560 of file skeleton.gsc.

References GetYaw(), and isValidEnemy().

◆ InitSkeletonBehaviorsAndASM()

◆ is_player_valid()

◆ is_within_fov()

function is_within_fov ( start_origin  ,
start_angles  ,
end_origin  ,
fov   
)

Definition at line 188 of file skeleton.gsc.

Referenced by skeletonCanSeePlayer().

◆ isSkeletonWalking()

function isSkeletonWalking ( behaviorTreeEntity  )

Definition at line 167 of file skeleton.gsc.

References IS_TRUE.

Referenced by InitSkeletonBehaviorsAndASM().

◆ isValidEnemy()

function isValidEnemy ( enemy  )

Definition at line 543 of file skeleton.gsc.

Referenced by GetYawToEnemy().

◆ skeletonCanSeePlayer()

function skeletonCanSeePlayer ( player  )

Definition at line 199 of file skeleton.gsc.

References is_within_fov(), LAST_SEEN_LOSS_LATENCY, trace(), and ZM_MELEE_DIST_SQ.

Referenced by skeletonTargetService().

◆ skeletonDeathAction()

function skeletonDeathAction ( behaviorTreeEntity  )

Definition at line 609 of file skeleton.gsc.

Referenced by InitSkeletonBehaviorsAndASM().

◆ skeletonGibLegsCondition()

function skeletonGibLegsCondition ( behaviorTreeEntity  )

Definition at line 174 of file skeleton.gsc.

References GIB_LEGS_LEFT_LEG_FLAG, GIB_LEGS_RIGHT_LEG_FLAG, and IsGibbed().

Referenced by InitSkeletonBehaviorsAndASM().

◆ skeletonNotetrackMeleeFire()

function skeletonNotetrackMeleeFire ( animationEntity  )

Definition at line 179 of file skeleton.gsc.

Referenced by InitSkeletonBehaviorsAndASM().

◆ skeletonSetGoal()

function skeletonSetGoal ( goal  )

Definition at line 398 of file skeleton.gsc.

Referenced by skeletonTargetService().

◆ skeletonShouldMeleeCondition()

function skeletonShouldMeleeCondition ( behaviorTreeEntity  )

Definition at line 579 of file skeleton.gsc.

References IS_TRUE, ZM_MELEE_DIST_SQ, and ZM_MELEE_YAW.

Referenced by InitSkeletonBehaviorsAndASM().

◆ skeletonSpawnSetup()

function skeletonSpawnSetup ( )

Definition at line 60 of file skeleton.gsc.

References set(), and SKELETON_CLIENTFIELD.

Referenced by __init__().

◆ skeletonTargetService()

function skeletonTargetService ( behaviorTreeEntity  )