![]() |
Black Ops 3 Source Code Explorer
0.1
An script explorer for Black Ops 3 by ZeRoY
|
Go to the source code of this file.
Macros | |
#define | AGGRESSIVE_BOOST_TIME 5000 |
#define | ARCHETYPE_VEHICLE_RAPS "raps" |
#define | DEFAULT_ENEMY_YAW 0 |
#define | MAX_FRUSTRATION 4 |
#define | MIN_FRUSTRATION 0 |
#define | NEAR_COVER_NODE_SQ SQR( 24 ) |
#define | NEAR_COVER_NODE_WIDE_SQ SQR( 64 ) |
#define | SHOULD_MELEE_CHECK_TIME 50 |
#define | TRACKING_TURN_GIVE_UP_TIME 5000 |
#define | TRACKING_TURN_PERFECT_INFO_DIST 180 |
Functions | |
function private | _dropRiotShield (riotshieldInfo) |
function | ActorGetPredictedYawToEnemy (entity, lookAheadTime) |
function | AddAIOverrideDamageCallback (entity, callback, addToFront) |
function | AddAIOverrideKilledCallback (entity, callback) |
function | attachRiotshield (entity, riotshieldWeapon, riotshieldModel, riotshieldTag) |
function | balconyDeath (behaviorTreeEntity) |
function | BB_ActorGetDamageLocation () |
function | BB_ActorGetEnemyYaw () |
function | BB_ActorGetFatalDamageLocation () |
function | BB_ActorGetPerfectEnemyYaw () |
function | BB_ActorGetReactYaw () |
function | BB_ActorGetTrackingTurnYaw () |
function | BB_ActorHasEnemy () |
function | BB_ActorIsPatroling () |
function private | BB_GetAwareness () |
function private | BB_GetAwarenessPrevious () |
function | BB_GetCoverConcealed () |
function | BB_GetCurrentCoverNodeType () |
function | BB_GetCurrentLocationCoverNodeType () |
function | BB_GetDamageDirection () |
function | BB_GetDamageMOD () |
function | BB_GetDamageTaken () |
function | BB_GetDamageWeapon () |
function | BB_GetDamageWeaponClass () |
function | BB_GetHighestStance () |
function | BB_GetLocomotionExitYaw (blackboard, yaw) |
function | BB_GetLocomotionFaceEnemyQuadrant () |
function | BB_GetLocomotionFaceEnemyQuadrantPrevious () |
function | BB_GetLocomotionPainType () |
function | BB_GetLookaheadAngle () |
function | BB_GetPreviousCoverNodeType () |
function private | BB_GetStairsNumSkipSteps () |
function | BB_GetWeaponClass () |
function private | BB_GetYawToCoverNode () |
function | burnedKilled (behaviorTreeEntity) |
function | calculateNodeOffsetPosition (node, nodeOffset) |
function | canSeeEnemyWrapper () |
function | chooseBestCoverNodeASAP (behaviorTreeEntity) |
function private | chooseBetterCoverService (behaviorTreeEntity) |
function | chooseBetterCoverServiceCodeVersion (behaviorTreeEntity) |
function | chooseFrontCoverDirection (behaviorTreeEntity) |
Sets the cover direction blackboard to the front direction. More... | |
function | clampFrustration (frustrationLevel) |
function private | cleanupChargeMelee (behaviorTreeEntity) |
function | cleanupChargeMeleeAttack (behaviorTreeEntity) |
function private | cleanupMelee (behaviorTreeEntity) |
function | ClearAIOverrideDamageCallbacks (entity) |
function | dropRiotshield (behaviorTreeEntity) |
function | electrifiedKilled (behaviorTreeEntity) |
function | explosiveKilled (behaviorTreeEntity) |
function | flagEnemyUnAttackableService (behaviorTreeEntity) |
function | forceRagdoll (entity) |
function | getAimPitchToEnemyFromNode (behaviorTreeEntity, node, enemy) |
Returns the pitch angles between a node and an enemy behaviorTreeEntity. More... | |
function | getAimYawToEnemyFromNode (behaviorTreeEntity, node, enemy) |
Returns the yaw angles between a node and an enemy behaviorTreeEntity. More... | |
function | GetAngleUsingDirection (direction) |
function | getBestCoverNodeIfAvailable (behaviorTreeEntity) |
function | getCoverType (node) |
function | getHighestNodeStance (node) |
function | getSecondBestCoverNodeIfAvailable (behaviorTreeEntity) |
function | hasAmmo (behaviorTreeEntity) |
function | hasCloseEnemyToMelee (entity) |
function | hasCloseEnemyToMeleeWithRange (entity, melee_range_sq) |
function | hasEnemy (behaviorTreeEntity) |
function | hasLowAmmo (behaviorTreeEntity) |
function | hasWeaponMalfunctioned (behaviorTreeEntity) |
function | inGrenadeBlastRadius (entity) |
function | isAtAttackObject (entity) |
function | isBalconyDeath (behaviorTreeEntity) |
function | isCoverConcealed (node) |
function | isFrustrated (behaviorTreeEntity) |
function private | isInPhalanx (entity) |
function private | isInPhalanxStance (entity) |
function | isLastKnownEnemyPositionApproachable (behaviorTreeEntity) |
function | isSafeFromGrenades (entity) |
function | isStanceAllowedAtNode (stance, node) |
function | isUnarmed (behaviorTreeEntity) |
function | keepClaimNode (behaviorTreeEntity) |
function | locomotionShouldPatrol (behaviorTreeEntity) |
function | locomotionShouldStealth (behaviorTreeEntity) |
function | meleeAcquireMutex (behaviorTreeEntity) |
function | meleeReleaseMutex (behaviorTreeEntity) |
function | notCrouchingCondition (behaviorTreeEntity) |
function | notStandingCondition (behaviorTreeEntity) |
function | postShootLaserAndGlintOff (ai) |
function private | prepareForExposedMelee (behaviorTreeEntity) |
function | preShootLaserAndGlintOn (ai) |
function | rapsKilled (behaviorTreeEntity) |
function | recentlySawEnemy (behaviorTreeEntity) |
function | refillAmmo (behaviorTreeEntity) |
function autoexec | RegisterBehaviorScriptFunctions () |
function | RegisterUtilityBlackboardAttributes () |
function | releaseClaimNode (behaviorTreeEntity) |
function | RemoveAIOverrideDamageCallback (entity, callback) |
function | scriptStartRagdoll (behaviorTreeEntity) |
function | setCurrentWeapon (weapon) |
function | setNextFindBestCoverTime (behaviorTreeEntity, node) |
function | setPrimaryWeapon (weapon) |
function | setSecondaryWeapon (weapon) |
function private | setupChargeMeleeAttack (behaviorTreeEntity) |
function private | setupExplosionAnimScale (entity, asmStateName) |
function private | shouldAttackInChargeMelee (behaviorTreeEntity) |
function | shouldAttackObject (entity) |
function | shouldBeAggressive (behaviorTreeEntity) |
function | shouldChargeMelee (entity) |
function | shouldChooseBetterCover (behaviorTreeEntity) |
function private | shouldChooseSpecialDeath (behaviorTreeEntity) |
function private | shouldChooseSpecialPain (behaviorTreeEntity) |
function private | shouldChooseSpecialProneDeath (behaviorTreeEntity) |
function private | shouldChooseSpecialPronePain (behaviorTreeEntity) |
function | shouldMelee (entity) |
function | shouldMutexMelee (behaviorTreeEntity) |
function | shouldNormalMelee (behaviorTreeEntity) |
function | shouldOnlyFireAccurately (behaviorTreeEntity) |
function | shouldReactToNewEnemy (behaviorTreeEntity) |
function | shouldStealth (behaviorTreeEntity) |
function | shouldStealthResume (behaviorTreeEntity) |
function | shouldStopMoving (behaviorTreeEntity) |
function | shouldTacticalWalk (behaviorTreeEntity) |
function private | stealthIdleTerminate (behaviorTreeEntity) |
function private | stealthReactCondition (entity) |
function private | stealthReactStart (behaviorTreeEntity) |
function private | stealthReactTerminate (behaviorTreeEntity) |
function private | togglePhalanxStance (entity) |
function private | tookFlashbangDamage (entity) |
function | trackCoverParamsService (behaviorTreeEntity) |
function | tryAdvancingOnLastKnownPositionBehavior (behaviorTreeEntity) |
function | tryGoingToClosestNodeToEnemyBehavior (behaviorTreeEntity) |
function | tryRunningDirectlyToEnemyBehavior (behaviorTreeEntity) |
function | tryStoppingService (behaviorTreeEntity) |
function | updateFrustrationLevel (entity) |
function | useCoverNodeWrapper (behaviorTreeEntity, node) |
function | useCurrentPosition (entity) |
function | wasAtCoverNode () |
#define AGGRESSIVE_BOOST_TIME 5000 |
Definition at line 1103 of file archetype_utility.gsc.
#define ARCHETYPE_VEHICLE_RAPS "raps" |
Definition at line 23 of file archetype_utility.gsc.
#define DEFAULT_ENEMY_YAW 0 |
Definition at line 672 of file archetype_utility.gsc.
#define MAX_FRUSTRATION 4 |
Definition at line 1086 of file archetype_utility.gsc.
#define MIN_FRUSTRATION 0 |
Definition at line 1087 of file archetype_utility.gsc.
#define NEAR_COVER_NODE_SQ SQR( 24 ) |
Definition at line 250 of file archetype_utility.gsc.
#define NEAR_COVER_NODE_WIDE_SQ SQR( 64 ) |
Definition at line 251 of file archetype_utility.gsc.
#define SHOULD_MELEE_CHECK_TIME 50 |
Definition at line 2706 of file archetype_utility.gsc.
#define TRACKING_TURN_GIVE_UP_TIME 5000 |
Definition at line 981 of file archetype_utility.gsc.
#define TRACKING_TURN_PERFECT_INFO_DIST 180 |
Definition at line 980 of file archetype_utility.gsc.
function private _dropRiotShield | ( | riotshieldInfo | ) |
Definition at line 2498 of file archetype_utility.gsc.
References ThrowWeapon().
Referenced by dropRiotshield().
function ActorGetPredictedYawToEnemy | ( | entity | , |
lookAheadTime | |||
) |
Definition at line 627 of file archetype_utility.gsc.
Referenced by BB_ActorGetEnemyYaw().
function AddAIOverrideDamageCallback | ( | entity | , |
callback | , | ||
addToFront | |||
) |
Definition at line 542 of file archetype_utility.gsc.
References ARRAY_ADD, callback(), IS_TRUE, and MAKE_ARRAY.
Referenced by _InitializeRobot(), _InitializeSentient(), ApothiconFurySpawnSetup(), ArchetypeHumanInit(), ArchetypeZombieSpecialEffectsInit(), humanRiotshieldSpawnSetup(), Prolog(), and robotSoldierSpawnSetup().
function AddAIOverrideKilledCallback | ( | entity | , |
callback | |||
) |
Definition at line 618 of file archetype_utility.gsc.
References ARRAY_ADD, and callback().
Referenced by ApothiconFurySpawnSetup(), ArchetypeHumanInit(), ArchetypeZombieDeathOverrideInit(), humanRiotshieldSpawnSetup(), and robotSoldierSpawnSetup().
function attachRiotshield | ( | entity | , |
riotshieldWeapon | , | ||
riotshieldModel | , | ||
riotshieldTag | |||
) |
Definition at line 2522 of file archetype_utility.gsc.
Referenced by humanRiotshieldSpawnSetup().
function balconyDeath | ( | behaviorTreeEntity | ) |
Definition at line 2997 of file archetype_utility.gsc.
References SetBlackBoardAttribute(), SPAWNFLAG_PATH_BALCONY, SPAWNFLAG_PATH_BALCONY_NORAILING, SPECIAL_DEATH, SPECIAL_DEATH_BALCONY, and SPECIAL_DEATH_BALCONY_NORAIL.
Referenced by RegisterBehaviorScriptFunctions().
function BB_ActorGetDamageLocation | ( | ) |
Definition at line 372 of file archetype_utility.gsc.
References array, HITLOC_CHEST, HITLOC_GROIN, HITLOC_HEAD, HITLOC_LEFT_ARM, HITLOC_LEGS, HITLOC_RIGHT_ARM, IS_HITLOC_CHEST, IS_HITLOC_HEAD, IS_HITLOC_HIPS, IS_HITLOC_LEFT_ARM, IS_HITLOC_LEGS, and IS_HITLOC_RIGHT_ARM.
Referenced by RegisterUtilityBlackboardAttributes().
function BB_ActorGetEnemyYaw | ( | ) |
Definition at line 673 of file archetype_utility.gsc.
References ActorGetPredictedYawToEnemy(), and DEFAULT_ENEMY_YAW.
Referenced by RegisterUtilityBlackboardAttributes().
function BB_ActorGetFatalDamageLocation | ( | ) |
Definition at line 734 of file archetype_utility.gsc.
References array, HITLOC_CHEST, HITLOC_HEAD, HITLOC_HIPS, HITLOC_LEFT_ARM, HITLOC_LEGS, HITLOC_RIGHT_ARM, IS_HITLOC_CHEST, IS_HITLOC_HEAD, IS_HITLOC_HIPS, IS_HITLOC_LEFT_ARM, IS_HITLOC_LEGS, and IS_HITLOC_RIGHT_ARM.
Referenced by RegisterUtilityBlackboardAttributes().
function BB_ActorGetPerfectEnemyYaw | ( | ) |
Definition at line 687 of file archetype_utility.gsc.
References DEFAULT_ENEMY_YAW, and RED.
Referenced by RegisterUtilityBlackboardAttributes().
function BB_ActorGetReactYaw | ( | ) |
Definition at line 702 of file archetype_utility.gsc.
Referenced by RegisterUtilityBlackboardAttributes().
function BB_ActorGetTrackingTurnYaw | ( | ) |
Definition at line 982 of file archetype_utility.gsc.
References GET_YAW, SQR, TRACKING_TURN_GIVE_UP_TIME, and TRACKING_TURN_PERFECT_INFO_DIST.
Referenced by RegisterUtilityBlackboardAttributes().
function BB_ActorHasEnemy | ( | ) |
Definition at line 660 of file archetype_utility.gsc.
References HAS_ENEMY, and NO_ENEMY.
Referenced by RegisterUtilityBlackboardAttributes().
function BB_ActorIsPatroling | ( | ) |
Definition at line 647 of file archetype_utility.gsc.
References get_behavior_attribute(), has_behavior_attribute(), PATROL_DISABLED, and PATROL_ENABLED.
Referenced by RegisterUtilityBlackboardAttributes().
function private BB_GetAwareness | ( | ) |
Definition at line 232 of file archetype_utility.gsc.
Referenced by RegisterUtilityBlackboardAttributes().
function private BB_GetAwarenessPrevious | ( | ) |
Definition at line 241 of file archetype_utility.gsc.
Referenced by RegisterUtilityBlackboardAttributes().
function BB_GetCoverConcealed | ( | ) |
Definition at line 321 of file archetype_utility.gsc.
References COVER_TYPE_CONCEALED, COVER_TYPE_UNCONCEALED, and isCoverConcealed().
Referenced by RegisterUtilityBlackboardAttributes().
function BB_GetCurrentCoverNodeType | ( | ) |
Definition at line 316 of file archetype_utility.gsc.
References getCoverType().
Referenced by BB_GetCurrentLocationCoverNodeType(), and RegisterUtilityBlackboardAttributes().
function BB_GetCurrentLocationCoverNodeType | ( | ) |
Definition at line 331 of file archetype_utility.gsc.
References BB_GetCurrentCoverNodeType(), BB_GetPreviousCoverNodeType(), and SQR.
Referenced by RegisterUtilityBlackboardAttributes().
function BB_GetDamageDirection | ( | ) |
Definition at line 344 of file archetype_utility.gsc.
References DAMAGE_DIRECTION_BACK, DAMAGE_DIRECTION_FRONT, DAMAGE_DIRECTION_LEFT, and DAMAGE_DIRECTION_RIGHT.
Referenced by BB_IDGunGetDamageDirection(), and RegisterUtilityBlackboardAttributes().
function BB_GetDamageMOD | ( | ) |
Definition at line 482 of file archetype_utility.gsc.
Referenced by RegisterUtilityBlackboardAttributes().
function BB_GetDamageTaken | ( | ) |
Definition at line 492 of file archetype_utility.gsc.
References DAMAGE_HEAVY, DAMAGE_LIGHT, and HEAVY_DAMAGE_RATIO.
Referenced by RegisterUtilityBlackboardAttributes().
function BB_GetDamageWeapon | ( | ) |
Definition at line 467 of file archetype_utility.gsc.
Referenced by RegisterUtilityBlackboardAttributes().
function BB_GetDamageWeaponClass | ( | ) |
Definition at line 447 of file archetype_utility.gsc.
References array.
Referenced by RegisterUtilityBlackboardAttributes().
function BB_GetHighestStance | ( | ) |
Definition at line 278 of file archetype_utility.gsc.
References GetBlackBoardAttribute(), getHighestNodeStance(), and STANCE.
function BB_GetLocomotionExitYaw | ( | blackboard | , |
yaw | |||
) |
#recordEntText( "Exit Yaw: "+angleDifference, self, RED, "Animscript" );#/
#recordEntText( "Exit Yaw: undefined", self, RED, "Animscript" );#/
#recordEntText( "Exit Yaw: "+angleDifference, self, RED, "Animscript" );#/
Definition at line 792 of file archetype_utility.gsc.
References CORNER_PREDICTOR_STATUS_EXITING_COVER, CORNER_PREDICTOR_STATUS_EXITING_EXPOSED, CORNER_PREDICTOR_STATUS_STRAIGHT_LINE_TO_GOAL, CORNER_PREDICTOR_STATUS_SUCCESS, end(), GetAngleUsingDirection(), INVALID_EXIT_YAW, MIN_EXITYAW_DISTANCE_SQ, RED, and wasAtCoverNode().
Referenced by RegisterUtilityBlackboardAttributes().
function BB_GetLocomotionFaceEnemyQuadrant | ( | ) |
Definition at line 879 of file archetype_utility.gsc.
References LOCOMOTION_FACE_ENEMY_BACK, LOCOMOTION_FACE_ENEMY_FRONT, LOCOMOTION_FACE_ENEMY_LEFT, LOCOMOTION_FACE_ENEMY_RIGHT, RELATIVE_DIR_BACK, RELATIVE_DIR_FRONT, RELATIVE_DIR_LEFT, RELATIVE_DIR_NONE, and RELATIVE_DIR_RIGHT.
Referenced by RegisterUtilityBlackboardAttributes(), and robotCanTacticalJuke().
function BB_GetLocomotionFaceEnemyQuadrantPrevious | ( | ) |
Definition at line 292 of file archetype_utility.gsc.
References LOCOMOTION_FACE_ENEMY_BACK, LOCOMOTION_FACE_ENEMY_FRONT, LOCOMOTION_FACE_ENEMY_LEFT, LOCOMOTION_FACE_ENEMY_NONE, LOCOMOTION_FACE_ENEMY_RIGHT, RELATIVE_DIR_BACK, RELATIVE_DIR_FRONT, RELATIVE_DIR_LEFT, RELATIVE_DIR_NONE, and RELATIVE_DIR_RIGHT.
Referenced by RegisterUtilityBlackboardAttributes().
function BB_GetLocomotionPainType | ( | ) |
Definition at line 918 of file archetype_utility.gsc.
References CORNER_PREDICTOR_STATUS_STRAIGHT_LINE_TO_GOAL, LOCOMOTION_INPLACE_PAIN, LOCOMOTION_MOVING_PAIN_DIST_LONG, LOCOMOTION_MOVING_PAIN_DIST_MED, LOCOMOTION_MOVING_PAIN_DIST_SHORT, LOCOMOTION_MOVING_PAIN_LONG, LOCOMOTION_MOVING_PAIN_MED, and LOCOMOTION_MOVING_PAIN_SHORT.
Referenced by RegisterUtilityBlackboardAttributes().
function BB_GetLookaheadAngle | ( | ) |
Definition at line 970 of file archetype_utility.gsc.
Referenced by RegisterUtilityBlackboardAttributes().
function BB_GetPreviousCoverNodeType | ( | ) |
Definition at line 975 of file archetype_utility.gsc.
References getCoverType().
Referenced by BB_GetCurrentLocationCoverNodeType(), and RegisterUtilityBlackboardAttributes().
function private BB_GetStairsNumSkipSteps | ( | ) |
Definition at line 202 of file archetype_utility.gsc.
References GetBlackBoardAttribute(), STAIR_SKIP_3, STAIR_SKIP_6, STAIR_SKIP_8, STAIRCASE_DIRECTION, STAIRCASE_NUM_STEPS, and STAIRCASE_NUM_TOTAL_STEPS.
Referenced by RegisterUtilityBlackboardAttributes().
function BB_GetWeaponClass | ( | ) |
Definition at line 1018 of file archetype_utility.gsc.
References DEFAULT_WEAPON.
Referenced by RegisterUtilityBlackboardAttributes().
function private BB_GetYawToCoverNode | ( | ) |
Definition at line 252 of file archetype_utility.gsc.
References IS_TRUE, NEAR_COVER_NODE_SQ, and NEAR_COVER_NODE_WIDE_SQ.
Referenced by RegisterUtilityBlackboardAttributes().
function burnedKilled | ( | behaviorTreeEntity | ) |
Definition at line 2589 of file archetype_utility.gsc.
References DAMAGE_MOD, and GetBlackBoardAttribute().
Referenced by RegisterBehaviorScriptFunctions().
function calculateNodeOffsetPosition | ( | node | , |
nodeOffset | |||
) |
Definition at line 2042 of file archetype_utility.gsc.
Referenced by canSeeEnemyWrapper().
function canSeeEnemyWrapper | ( | ) |
Definition at line 1947 of file archetype_utility.gsc.
References calculateNodeOffsetPosition(), COVER_CORNER_VALID_YAW_RANGE_MAX, COVER_CORNER_VALID_YAW_RANGE_MIN, COVER_CROUCH_OFFSET, COVER_LEFT_OFFSET, COVER_PILLAR_LEFT_OFFSET, COVER_PILLAR_RIGHT_OFFSET, COVER_RIGHT_OFFSET, COVER_STAND_OFFSET, GET_YAW_TO_ORIGIN180, ISNODEDONTLEFT, ISNODEDONTRIGHT, NODE_COVER_CROUCH, NODE_COVER_LEFT, NODE_COVER_PILLAR, NODE_COVER_RIGHT, NODE_COVER_STAND, and NODE_SUPPORTS_STANCE_STAND.
function chooseBestCoverNodeASAP | ( | behaviorTreeEntity | ) |
Definition at line 1546 of file archetype_utility.gsc.
References getBestCoverNodeIfAvailable(), and useCoverNodeWrapper().
Referenced by RegisterBehaviorScriptFunctions(), and robotPositionService().
function private chooseBetterCoverService | ( | behaviorTreeEntity | ) |
Definition at line 1719 of file archetype_utility.gsc.
References BHTN_RUNNING, getBestCoverNodeIfAvailable(), setNextFindBestCoverTime(), shouldChooseBetterCover(), and useCoverNodeWrapper().
function chooseBetterCoverServiceCodeVersion | ( | behaviorTreeEntity | ) |
Definition at line 1673 of file archetype_utility.gsc.
References get_behavior_attribute(), IS_TRUE, isSafeFromGrenades(), setNextFindBestCoverTime(), and useCoverNodeWrapper().
Referenced by RegisterBehaviorScriptFunctions().
function chooseFrontCoverDirection | ( | behaviorTreeEntity | ) |
Sets the cover direction blackboard to the front direction.
Definition at line 2215 of file archetype_utility.gsc.
References COVER_DIRECTION, COVER_FRONT_DIRECTION, GetBlackBoardAttribute(), PREVIOUS_COVER_DIRECTION, and SetBlackBoardAttribute().
Referenced by coverLeanTerminate(), coverPeekTerminate(), and resetCoverParameters().
function clampFrustration | ( | frustrationLevel | ) |
Definition at line 1089 of file archetype_utility.gsc.
References MAX_FRUSTRATION, and MIN_FRUSTRATION.
Referenced by updateFrustrationLevel().
function private cleanupChargeMelee | ( | behaviorTreeEntity | ) |
Definition at line 2862 of file archetype_utility.gsc.
References MELEE_ENEMY_TYPE, meleeReleaseMutex(), NEXT_CHARGE_MELEE_TIME, releaseClaimNode(), and SetBlackBoardAttribute().
Referenced by RegisterBehaviorScriptFunctions().
function cleanupChargeMeleeAttack | ( | behaviorTreeEntity | ) |
Definition at line 2874 of file archetype_utility.gsc.
References MELEE_ENEMY_TYPE, meleeReleaseMutex(), releaseClaimNode(), and SetBlackBoardAttribute().
Referenced by playScriptedMeleeAnimations(), processInterruptedDeath(), and RegisterBehaviorScriptFunctions().
function private cleanupMelee | ( | behaviorTreeEntity | ) |
Definition at line 2854 of file archetype_utility.gsc.
References MELEE_ENEMY_TYPE, meleeReleaseMutex(), releaseClaimNode(), and SetBlackBoardAttribute().
Referenced by RegisterBehaviorScriptFunctions().
function ClearAIOverrideDamageCallbacks | ( | entity | ) |
Definition at line 604 of file archetype_utility.gsc.
function dropRiotshield | ( | behaviorTreeEntity | ) |
Definition at line 2543 of file archetype_utility.gsc.
References _dropRiotShield().
Referenced by notetrackDropShield(), and riotshieldKilledOverride().
function electrifiedKilled | ( | behaviorTreeEntity | ) |
Definition at line 2564 of file archetype_utility.gsc.
References DAMAGE_MOD, and GetBlackBoardAttribute().
Referenced by RegisterBehaviorScriptFunctions().
function explosiveKilled | ( | behaviorTreeEntity | ) |
Definition at line 2488 of file archetype_utility.gsc.
References DAMAGE_WEAPON_CLASS, and GetBlackBoardAttribute().
Referenced by RegisterBehaviorScriptFunctions().
function flagEnemyUnAttackableService | ( | behaviorTreeEntity | ) |
Definition at line 1208 of file archetype_utility.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function forceRagdoll | ( | entity | ) |
Definition at line 3044 of file archetype_utility.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function getAimPitchToEnemyFromNode | ( | behaviorTreeEntity | , |
node | , | ||
enemy | |||
) |
Returns the pitch angles between a node and an enemy behaviorTreeEntity.
Definition at line 2206 of file archetype_utility.gsc.
function getAimYawToEnemyFromNode | ( | behaviorTreeEntity | , |
node | , | ||
enemy | |||
) |
Returns the yaw angles between a node and an enemy behaviorTreeEntity.
Definition at line 2198 of file archetype_utility.gsc.
function GetAngleUsingDirection | ( | direction | ) |
Definition at line 767 of file archetype_utility.gsc.
Referenced by BB_GetLocomotionExitYaw().
function getBestCoverNodeIfAvailable | ( | behaviorTreeEntity | ) |
Definition at line 1822 of file archetype_utility.gsc.
Referenced by chooseBestCoverNodeASAP(), and chooseBetterCoverService().
function getCoverType | ( | node | ) |
Definition at line 1898 of file archetype_utility.gsc.
References COVER_CROUCH, COVER_EXPOSED, COVER_LEFT, COVER_NONE, COVER_PILLAR, COVER_RIGHT, COVER_STAND, NODE_COVER_CROUCH, NODE_COVER_LEFT, NODE_COVER_PILLAR, NODE_COVER_RIGHT, NODE_COVER_STAND, NODE_EXPOSED, and NODE_GUARD.
Referenced by BB_GetCurrentCoverNodeType(), BB_GetPreviousCoverNodeType(), and riotshieldAdvanceOnEnemyService().
function getHighestNodeStance | ( | node | ) |
Definition at line 2059 of file archetype_utility.gsc.
References NODE_COVER_CROUCH, NODE_SUPPORTS_STANCE_CROUCH, NODE_SUPPORTS_STANCE_PRONE, and NODE_SUPPORTS_STANCE_STAND.
Referenced by BB_GetHighestStance(), civilianCowerActionInitialize(), mocompAdjustToCoverInit(), prepareForAdjustToCover(), and shouldAdjustToCover().
function getSecondBestCoverNodeIfAvailable | ( | behaviorTreeEntity | ) |
Definition at line 1851 of file archetype_utility.gsc.
function hasAmmo | ( | behaviorTreeEntity | ) |
Definition at line 1776 of file archetype_utility.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function hasCloseEnemyToMelee | ( | entity | ) |
Definition at line 2761 of file archetype_utility.gsc.
References hasCloseEnemyToMeleeWithRange(), and MELEE_RANGE_SQ.
Referenced by noCloseEnemyService(), RegisterBehaviorScriptFunctions(), and shouldNormalMelee().
function hasCloseEnemyToMeleeWithRange | ( | entity | , |
melee_range_sq | |||
) |
Definition at line 2767 of file archetype_utility.gsc.
References GET_YAW, MELEE_ENEMY_DISTANCE_PREDICTION_TIME, MELEE_NEAR_RANGE_SQ, MELEE_YAW_THRESHOLD, and MELEE_YAW_THRESHOLDNEAR.
Referenced by hasCloseEnemyToMelee().
function hasEnemy | ( | behaviorTreeEntity | ) |
Definition at line 1803 of file archetype_utility.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function hasLowAmmo | ( | behaviorTreeEntity | ) |
Definition at line 1784 of file archetype_utility.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function hasWeaponMalfunctioned | ( | behaviorTreeEntity | ) |
Definition at line 1368 of file archetype_utility.gsc.
References IS_TRUE.
Referenced by RegisterBehaviorScriptFunctions().
function inGrenadeBlastRadius | ( | entity | ) |
Definition at line 1428 of file archetype_utility.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function isAtAttackObject | ( | entity | ) |
Definition at line 3157 of file archetype_utility.gsc.
References IS_TRUE.
Referenced by RegisterBehaviorScriptFunctions().
function isBalconyDeath | ( | behaviorTreeEntity | ) |
Definition at line 2935 of file archetype_utility.gsc.
References COVER_ALERT_MODE, COVER_MODE, COVER_MODE_NONE, get_closest_player(), GetBlackBoardAttribute(), SPAWNFLAG_PATH_BALCONY, SPAWNFLAG_PATH_BALCONY_NORAILING, and SQR.
Referenced by RegisterBehaviorScriptFunctions().
function isCoverConcealed | ( | node | ) |
Definition at line 1928 of file archetype_utility.gsc.
References NODE_CONCEALED.
Referenced by BB_GetCoverConcealed(), and shouldOverAtCoverCondition().
function isFrustrated | ( | behaviorTreeEntity | ) |
Definition at line 1081 of file archetype_utility.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function private isInPhalanx | ( | entity | ) |
Definition at line 3106 of file archetype_utility.gsc.
References get_behavior_attribute().
Referenced by RegisterBehaviorScriptFunctions().
function private isInPhalanxStance | ( | entity | ) |
Definition at line 3111 of file archetype_utility.gsc.
References get_behavior_attribute(), GetBlackBoardAttribute(), STANCE, STANCE_CROUCH, and STANCE_STAND.
Referenced by RegisterBehaviorScriptFunctions().
function isLastKnownEnemyPositionApproachable | ( | behaviorTreeEntity | ) |
Definition at line 1222 of file archetype_utility.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function isSafeFromGrenades | ( | entity | ) |
Definition at line 1382 of file archetype_utility.gsc.
Referenced by chooseBetterCoverServiceCodeVersion(), RegisterBehaviorScriptFunctions(), and robotPositionService().
function isStanceAllowedAtNode | ( | stance | , |
node | |||
) |
Definition at line 2094 of file archetype_utility.gsc.
References NODE_SUPPORTS_STANCE_CROUCH, NODE_SUPPORTS_STANCE_PRONE, NODE_SUPPORTS_STANCE_STAND, STANCE_CROUCH, STANCE_PRONE, and STANCE_STAND.
Referenced by canChangeStanceAtCoverCondition(), isAtCrouchNode(), and shouldAdjustToCover().
function isUnarmed | ( | behaviorTreeEntity | ) |
Definition at line 3025 of file archetype_utility.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function keepClaimNode | ( | behaviorTreeEntity | ) |
Definition at line 2181 of file archetype_utility.gsc.
Referenced by coverBlindfireShootActionStart(), coverChangeStanceActionStart(), coverFlankedInitialize(), coverIdleInitialize(), coverLeanInitialize(), coverOverInitialize(), coverPeekInitialize(), coverReloadInitialize(), coverVantageInitialize(), exposedSetDesiredStanceToStand(), keepClaimedNodeAndChooseCoverDirection(), prepareForAdjustToCover(), prepareForExposedMelee(), RegisterBehaviorScriptFunctions(), robotCoverOverInitialize(), robotCoverScanInitialize(), robotPrepareForAdjustToCover(), setupChargeMeleeAttack(), stepIntoInitialize(), and stepOutInitialize().
function locomotionShouldPatrol | ( | behaviorTreeEntity | ) |
Definition at line 2461 of file archetype_utility.gsc.
References get_behavior_attribute(), has_behavior_attribute(), and shouldStealth().
Referenced by RegisterBehaviorScriptFunctions().
function locomotionShouldStealth | ( | behaviorTreeEntity | ) |
Definition at line 2335 of file archetype_utility.gsc.
References shouldStealth().
Referenced by RegisterBehaviorScriptFunctions().
function meleeAcquireMutex | ( | behaviorTreeEntity | ) |
Definition at line 2620 of file archetype_utility.gsc.
Referenced by AIvsAIMeleeInitialize(), prepareForExposedMelee(), RegisterBehaviorScriptFunctions(), and setupChargeMeleeAttack().
function meleeReleaseMutex | ( | behaviorTreeEntity | ) |
Definition at line 2639 of file archetype_utility.gsc.
Referenced by cleanupChargeMelee(), cleanupChargeMeleeAttack(), cleanupMelee(), RegisterBehaviorScriptFunctions(), and robotCleanupChargeMeleeAttack().
function notCrouchingCondition | ( | behaviorTreeEntity | ) |
Definition at line 1035 of file archetype_utility.gsc.
References GetBlackBoardAttribute(), STANCE, and STANCE_CROUCH.
Referenced by RegisterBehaviorScriptFunctions().
function notStandingCondition | ( | behaviorTreeEntity | ) |
Definition at line 1025 of file archetype_utility.gsc.
References GetBlackBoardAttribute(), STANCE, and STANCE_STAND.
Referenced by RegisterBehaviorScriptFunctions().
function postShootLaserAndGlintOff | ( | ai | ) |
Definition at line 3090 of file archetype_utility.gsc.
Referenced by ArchetypeHumanBlackboardInit(), and ArchetypeRobotBlackboardInit().
function private prepareForExposedMelee | ( | behaviorTreeEntity | ) |
Definition at line 1052 of file archetype_utility.gsc.
References DESIRED_STANCE, GetBlackBoardAttribute(), keepClaimNode(), MELEE_ENEMY_TYPE, MELEE_ENEMY_TYPE_FIREFLY, meleeAcquireMutex(), SetBlackBoardAttribute(), STANCE, STANCE_CROUCH, and STANCE_STAND.
Referenced by RegisterBehaviorScriptFunctions().
function preShootLaserAndGlintOn | ( | ai | ) |
Definition at line 3051 of file archetype_utility.gsc.
References STR.
Referenced by ArchetypeHumanBlackboardInit(), and ArchetypeRobotBlackboardInit().
function rapsKilled | ( | behaviorTreeEntity | ) |
Definition at line 2608 of file archetype_utility.gsc.
References ARCHETYPE_VEHICLE_RAPS.
Referenced by RegisterBehaviorScriptFunctions().
function recentlySawEnemy | ( | behaviorTreeEntity | ) |
Definition at line 1442 of file archetype_utility.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function refillAmmo | ( | behaviorTreeEntity | ) |
Definition at line 1759 of file archetype_utility.gsc.
Referenced by refillAmmoAndCleanupCoverMode(), and RegisterBehaviorScriptFunctions().
function autoexec RegisterBehaviorScriptFunctions | ( | ) |
Definition at line 29 of file archetype_utility.gsc.
References balconyDeath(), BSM_REGISTER_API, BSM_REGISTER_CONDITION, BT_REGISTER_ACTION_SIMPLE, BT_REGISTER_API, burnedKilled(), chooseBestCoverNodeASAP(), chooseBetterCoverServiceCodeVersion(), cleanupChargeMelee(), cleanupChargeMeleeAttack(), cleanupMelee(), electrifiedKilled(), explosiveKilled(), flagEnemyUnAttackableService(), forceRagdoll(), hasAmmo(), hasCloseEnemyToMelee(), hasEnemy(), hasLowAmmo(), hasWeaponMalfunctioned(), inGrenadeBlastRadius(), isAtAttackObject(), isBalconyDeath(), isFrustrated(), isInPhalanx(), isInPhalanxStance(), isLastKnownEnemyPositionApproachable(), isSafeFromGrenades(), isUnarmed(), keepClaimNode(), locomotionShouldStealth(), meleeAcquireMutex(), meleeReleaseMutex(), notCrouchingCondition(), notStandingCondition(), prepareForExposedMelee(), rapsKilled(), recentlySawEnemy(), refillAmmo(), RegisterAIvsAIMeleeBehaviorFunctions(), releaseClaimNode(), scriptStartRagdoll(), setupChargeMeleeAttack(), setupExplosionAnimScale(), shouldAttackInChargeMelee(), shouldAttackObject(), shouldBeAggressive(), shouldChargeMelee(), shouldChooseSpecialDeath(), shouldChooseSpecialPain(), shouldChooseSpecialProneDeath(), shouldChooseSpecialPronePain(), shouldMelee(), shouldMutexMelee(), shouldNormalMelee(), shouldOnlyFireAccurately(), shouldReactToNewEnemy(), shouldStealth(), shouldStealthResume(), shouldStopMoving(), stealthIdleTerminate(), stealthReactCondition(), stealthReactStart(), stealthReactTerminate(), togglePhalanxStance(), tookFlashbangDamage(), trackCoverParamsService(), tryAdvancingOnLastKnownPositionBehavior(), tryGoingToClosestNodeToEnemyBehavior(), tryRunningDirectlyToEnemyBehavior(), tryStoppingService(), updateFrustrationLevel(), and useCurrentPosition().
function RegisterUtilityBlackboardAttributes | ( | ) |
Definition at line 139 of file archetype_utility.gsc.
References ARRIVAL_STANCE, AST_AWARENESS, AST_AWARENESS_PREVIOUS, BB_ActorGetDamageLocation(), BB_ActorGetEnemyYaw(), BB_ActorGetFatalDamageLocation(), BB_ActorGetPerfectEnemyYaw(), BB_ActorGetReactYaw(), BB_ActorGetTrackingTurnYaw(), BB_ActorHasEnemy(), BB_ActorIsPatroling(), BB_GetAwareness(), BB_GetAwarenessPrevious(), BB_GetCoverConcealed(), BB_GetCurrentCoverNodeType(), BB_GetCurrentLocationCoverNodeType(), BB_GetDamageDirection(), BB_GetDamageMOD(), BB_GetDamageTaken(), BB_GetDamageWeapon(), BB_GetDamageWeaponClass(), BB_GetLocomotionExitYaw(), BB_GetLocomotionFaceEnemyQuadrant(), BB_GetLocomotionFaceEnemyQuadrantPrevious(), BB_GetLocomotionPainType(), BB_GetLookaheadAngle(), BB_GetPreviousCoverNodeType(), BB_GetStairsNumSkipSteps(), BB_GetWeaponClass(), BB_GetYawToCoverNode(), BB_REGISTER_ATTRIBUTE, CONTEXT, CONTEXT_2, COVER_CONCEALED, COVER_DIRECTION, COVER_FRONT_DIRECTION, COVER_MODE, COVER_MODE_NONE, COVER_TYPE, CURRENT_LOCATION_COVER_TYPE, DAMAGE_DIRECTION, DAMAGE_LOCATION, DAMAGE_MOD, DAMAGE_TAKEN, DAMAGE_WEAPON, DAMAGE_WEAPON_CLASS, DESIRED_STANCE, ENABLE_BLACKBOARD_DEBUG_TRACKING, ENEMY, ENEMY_YAW, EXPOSED_TYPE, FATAL_DAMAGE_LOCATION, FIRE_MODE, GIB_LOCATION, JUKE_DIRECTION, JUKE_DISTANCE, LOCOMOTION_ARRIVAL_DISTANCE, LOCOMOTION_ARRIVAL_YAW, LOCOMOTION_EXIT_YAW, LOCOMOTION_FACE_ENEMY_NONE, LOCOMOTION_FACE_ENEMY_QUADRANT, LOCOMOTION_FACE_ENEMY_QUADRANT_PREVIOUS, LOCOMOTION_MOTION_ANGLE, LOCOMOTION_PAIN_TYPE, LOCOMOTION_TURN_YAW, LOOKAHEAD_ANGLE, MELEE_DISTANCE, MELEE_ENEMY_TYPE, PATROL, PERFECT_ENEMY_YAW, PREVIOUS_COVER_DIRECTION, PREVIOUS_COVER_MODE, PREVIOUS_COVER_TYPE, REACT_YAW, SPECIAL_DEATH, SPECIAL_DEATH_NONE, STAIRCASE_DIRECTION, STAIRCASE_EXIT_TYPE, STAIRCASE_NUM_STEPS, STAIRCASE_NUM_TOTAL_STEPS, STAIRCASE_STATE, STAIRCASE_STEP_SKIP_NUM, STANCE, STANCE_STAND, THROW_DISTANCE, TRACKING_TURN_YAW, TRAVERSAL_TYPE, WEAPON_CLASS, and YAW_TO_COVER.
Referenced by ApothiconFuryBlackboardInit(), ArchetypeCloneBlackboardInit(), ArchetypeHumanBlackboardInit(), ArchetypeHumanRiotshieldBlackboardInit(), ArchetypeHumanRpgBlackboardInit(), ArchetypeMargwaBlackboardInit(), ArchetypeMechzBlackboardInit(), ArchetypeQuadBlackboardInit(), ArchetypeRazBlackboardInit(), ArchetypeRobotBlackboardInit(), ArchetypeSkeletonBlackboardInit(), ArchetypeThrasherBlackboardInit(), ArchetypeZombieBlackboardInit(), ArchetypeZombieDogBlackboardInit(), and civilianBlackboardInit().
function releaseClaimNode | ( | behaviorTreeEntity | ) |
Definition at line 2188 of file archetype_utility.gsc.
Referenced by cleanUpChangeStanceToCrouch(), cleanUpChangeStanceToStand(), cleanupChargeMelee(), cleanupChargeMeleeAttack(), cleanupMelee(), coverFlankedActionTerminate(), coverIdleTerminate(), coverIdleUpdate(), RegisterBehaviorScriptFunctions(), robotCleanupChargeMeleeAttack(), robotCoverScanTerminate(), robotPositionService(), stepIntoInitialize(), stepIntoTerminate(), and stepOutTerminate().
function RemoveAIOverrideDamageCallback | ( | entity | , |
callback | |||
) |
Definition at line 577 of file archetype_utility.gsc.
References callback().
Referenced by _ReleaseRobot(), and _ReleaseSentient().
function scriptStartRagdoll | ( | behaviorTreeEntity | ) |
Definition at line 1045 of file archetype_utility.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function setCurrentWeapon | ( | weapon | ) |
Definition at line 2152 of file archetype_utility.gsc.
Referenced by DropAIWeapon(), DropAllAIWeapons(), main(), and placeWeaponOn().
function setNextFindBestCoverTime | ( | behaviorTreeEntity | , |
node | |||
) |
Definition at line 1512 of file archetype_utility.gsc.
Referenced by _robotCoverPosition(), chooseBetterCoverService(), chooseBetterCoverServiceCodeVersion(), trackCoverParamsService(), tryAdvancingOnLastKnownPositionBehavior(), tryRunningDirectlyToEnemyBehavior(), and useCoverNodeWrapper().
function setPrimaryWeapon | ( | weapon | ) |
Definition at line 2163 of file archetype_utility.gsc.
Referenced by DropAIWeapon(), and main().
function setSecondaryWeapon | ( | weapon | ) |
Definition at line 2172 of file archetype_utility.gsc.
Referenced by DropAIWeapon(), and main().
function private setupChargeMeleeAttack | ( | behaviorTreeEntity | ) |
Definition at line 2844 of file archetype_utility.gsc.
References keepClaimNode(), MELEE_ENEMY_TYPE, MELEE_ENEMY_TYPE_FIREFLY, meleeAcquireMutex(), and SetBlackBoardAttribute().
Referenced by RegisterBehaviorScriptFunctions().
function private setupExplosionAnimScale | ( | entity | , |
asmStateName | |||
) |
Definition at line 2918 of file archetype_utility.gsc.
References BHTN_SUCCESS.
Referenced by RegisterBehaviorScriptFunctions().
function private shouldAttackInChargeMelee | ( | behaviorTreeEntity | ) |
Definition at line 2829 of file archetype_utility.gsc.
References BLEND_MELEE_RANGE_SQ, GET_YAW, and MELEE_YAW_THRESHOLD.
Referenced by RegisterBehaviorScriptFunctions().
function shouldAttackObject | ( | entity | ) |
Definition at line 3181 of file archetype_utility.gsc.
References IS_TRUE.
Referenced by RegisterBehaviorScriptFunctions(), and thrasherNotetrackMelee().
function shouldBeAggressive | ( | behaviorTreeEntity | ) |
Definition at line 1478 of file archetype_utility.gsc.
References IS_TRUE.
Referenced by RegisterBehaviorScriptFunctions().
function shouldChargeMelee | ( | entity | ) |
Definition at line 2796 of file archetype_utility.gsc.
References CHARGE_RANGE_SQ_VS_PLAYER, GET_YAW, GetBlackBoardAttribute(), MELEE_NEAR_RANGE, MELEE_RANGE_SQ, MELEE_YAW_THRESHOLD, STANCE, and STANCE_STAND.
Referenced by RegisterBehaviorScriptFunctions(), and shouldMelee().
function shouldChooseBetterCover | ( | behaviorTreeEntity | ) |
Definition at line 1567 of file archetype_utility.gsc.
References get_behavior_attribute(), GREEN, has_behavior_attribute(), IS_TRUE, and RED.
Referenced by chooseBetterCoverService().
function private shouldChooseSpecialDeath | ( | behaviorTreeEntity | ) |
Definition at line 2903 of file archetype_utility.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function private shouldChooseSpecialPain | ( | behaviorTreeEntity | ) |
Definition at line 2892 of file archetype_utility.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function private shouldChooseSpecialProneDeath | ( | behaviorTreeEntity | ) |
Definition at line 2912 of file archetype_utility.gsc.
References GetBlackBoardAttribute(), STANCE, STANCE_PRONE_ON_BACK, and STANCE_PRONE_ON_FRONT.
Referenced by RegisterBehaviorScriptFunctions().
function private shouldChooseSpecialPronePain | ( | behaviorTreeEntity | ) |
Definition at line 2885 of file archetype_utility.gsc.
References GetBlackBoardAttribute(), STANCE, STANCE_PRONE_ON_BACK, and STANCE_PRONE_ON_FRONT.
Referenced by RegisterBehaviorScriptFunctions().
function shouldMelee | ( | entity | ) |
Definition at line 2707 of file archetype_utility.gsc.
References CHARGE_RANGE_SQ_VS_PLAYER, GetAiAttribute(), HasAiAttribute(), IS_TRUE, SHOULD_MELEE_CHECK_TIME, shouldChargeMelee(), shouldMutexMelee(), and shouldNormalMelee().
Referenced by RegisterBehaviorScriptFunctions(), and robotNoCloseEnemyService().
function shouldMutexMelee | ( | behaviorTreeEntity | ) |
Definition at line 2663 of file archetype_utility.gsc.
References MAX_MELEE_PLAYER_ATTACKERS.
Referenced by RegisterBehaviorScriptFunctions(), riotshieldUnarmedTargetService(), robotShouldChargeMelee(), robotShouldMelee(), and shouldMelee().
function shouldNormalMelee | ( | behaviorTreeEntity | ) |
Definition at line 2701 of file archetype_utility.gsc.
References hasCloseEnemyToMelee().
Referenced by RegisterBehaviorScriptFunctions(), and shouldMelee().
function shouldOnlyFireAccurately | ( | behaviorTreeEntity | ) |
Definition at line 1461 of file archetype_utility.gsc.
References IS_TRUE.
Referenced by RegisterBehaviorScriptFunctions().
function shouldReactToNewEnemy | ( | behaviorTreeEntity | ) |
Definition at line 1344 of file archetype_utility.gsc.
References GetBlackBoardAttribute(), IS_TRUE, STANCE, and STANCE_STAND.
Referenced by RegisterBehaviorScriptFunctions().
function shouldStealth | ( | behaviorTreeEntity | ) |
Definition at line 2296 of file archetype_utility.gsc.
References get_behavior_attribute(), has_behavior_attribute(), and IS_TRUE.
Referenced by locomotionShouldPatrol(), locomotionShouldStealth(), RegisterBehaviorScriptFunctions(), and shouldStealthResume().
function shouldStealthResume | ( | behaviorTreeEntity | ) |
Definition at line 2380 of file archetype_utility.gsc.
References IS_TRUE, and shouldStealth().
Referenced by RegisterBehaviorScriptFunctions().
function shouldStopMoving | ( | behaviorTreeEntity | ) |
Definition at line 2142 of file archetype_utility.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function shouldTacticalWalk | ( | behaviorTreeEntity | ) |
Definition at line 2232 of file archetype_utility.gsc.
References GetAiAttribute(), HasAiAttribute(), and TACTICAL_WALK_SHORT_DIST_SQ.
Referenced by RegisterBehaviorScriptFunctions().
function private stealthIdleTerminate | ( | behaviorTreeEntity | ) |
Definition at line 2441 of file archetype_utility.gsc.
References IS_TRUE.
Referenced by RegisterBehaviorScriptFunctions().
function private stealthReactCondition | ( | entity | ) |
Definition at line 2403 of file archetype_utility.gsc.
References IS_TRUE.
Referenced by RegisterBehaviorScriptFunctions().
function private stealthReactStart | ( | behaviorTreeEntity | ) |
Definition at line 2417 of file archetype_utility.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function private stealthReactTerminate | ( | behaviorTreeEntity | ) |
Definition at line 2429 of file archetype_utility.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function private togglePhalanxStance | ( | entity | ) |
Definition at line 3127 of file archetype_utility.gsc.
References DESIRED_STANCE, get_behavior_attribute(), SetBlackBoardAttribute(), STANCE_CROUCH, and STANCE_STAND.
Referenced by RegisterBehaviorScriptFunctions().
function private tookFlashbangDamage | ( | entity | ) |
Definition at line 3142 of file archetype_utility.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function trackCoverParamsService | ( | behaviorTreeEntity | ) |
Definition at line 1527 of file archetype_utility.gsc.
References setNextFindBestCoverTime().
Referenced by RegisterBehaviorScriptFunctions().
function tryAdvancingOnLastKnownPositionBehavior | ( | behaviorTreeEntity | ) |
Definition at line 1249 of file archetype_utility.gsc.
References IS_TRUE, and setNextFindBestCoverTime().
Referenced by RegisterBehaviorScriptFunctions().
function tryGoingToClosestNodeToEnemyBehavior | ( | behaviorTreeEntity | ) |
Definition at line 1283 of file archetype_utility.gsc.
References useCoverNodeWrapper().
Referenced by RegisterBehaviorScriptFunctions().
function tryRunningDirectlyToEnemyBehavior | ( | behaviorTreeEntity | ) |
Definition at line 1314 of file archetype_utility.gsc.
References IS_TRUE, and setNextFindBestCoverTime().
Referenced by RegisterBehaviorScriptFunctions().
function tryStoppingService | ( | behaviorTreeEntity | ) |
Definition at line 2120 of file archetype_utility.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function updateFrustrationLevel | ( | entity | ) |
Definition at line 1114 of file archetype_utility.gsc.
References AGGRESSIVE_BOOST_TIME, clampFrustration(), and ORANGE.
Referenced by RegisterBehaviorScriptFunctions().
function useCoverNodeWrapper | ( | behaviorTreeEntity | , |
node | |||
) |
Definition at line 1495 of file archetype_utility.gsc.
References COVER_MODE, COVER_MODE_NONE, PREVIOUS_COVER_MODE, SetBlackBoardAttribute(), and setNextFindBestCoverTime().
Referenced by _robotCoverPosition(), chooseBestCoverNodeASAP(), chooseBetterCoverService(), chooseBetterCoverServiceCodeVersion(), riotshieldAdvanceOnEnemyService(), stepIntoInitialize(), and tryGoingToClosestNodeToEnemyBehavior().
function useCurrentPosition | ( | entity | ) |
Definition at line 3011 of file archetype_utility.gsc.
Referenced by RegisterBehaviorScriptFunctions().
function wasAtCoverNode | ( | ) |
Definition at line 781 of file archetype_utility.gsc.
References NODE_TYPE_COVER.
Referenced by BB_GetLocomotionExitYaw().