![]() |
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.
Functions | |
function | AddDirectHitWeapon (weaponName) |
function private | ArchetypeMargwaBlackboardInit () |
function private | ArchetypeMargwaOnAnimscriptedCallback (entity) |
function private | BB_GetShouldTurn () |
function autoexec | init () |
function private | InitDirectHitWeapons () |
function private | InitMargwaBehaviorsAndASM () |
function private | inSmashAttackRange (enemy) |
function private | isDirectHitWeapon (weapon) |
function | margwaCanDamageAnyHead () |
function | margwaCanDamageHead () |
function private | margwaCloseAllHeads (closeTime) |
function private | margwaCloseHead (headInfo) |
function | margwaDamage (inflictor, attacker, damage, dFlags, mod, weapon, point, dir, hitLoc, offsetTime, boneIndex, modelIndex) |
function private | margwaDeath () |
function private | margwaDeathAction (entity) |
function private | margwaDestroyHead (modelHit) |
function private | margwaDisableStun () |
function | margwaEnableStun () |
function | margwaForceSprint () |
function private | margwaHeadCanOpen () |
function private | margwaHeadDamageDelay (headInfo, canDamage) |
function private | margwaHeadHit (entity, partName) |
function private | margwaHeadSmash () |
function private | margwaHeadUpdate (headInfo) |
function private | margwaIdleStart (entity) |
function private | margwaInitHead (headModel, headTag) |
function | margwaKillHead (modelHit, attacker) |
function private | margwaMoveStart (entity) |
function private | margwaNotetrackBodyfall (entity) |
function private | margwaNotetrackPainMelee (entity) |
function private | margwaNotetrackSmashAttack (entity) |
function private | margwaPainStart (entity) |
function private | margwaPainTerminate (entity) |
function private | margwaReactIDGunStart (entity) |
function | margwaReactIDGunTerminate (entity) |
function private | margwaReactStunAction (entity, asmStateName) |
function private | margwaReactStunStart (entity) |
function | margwaReactStunTerminate (entity) |
function private | margwaReactSwordStart (entity) |
function private | margwaReactSwordTerminate (entity) |
function private | margwaResetHeadTime (min, max) |
function | margwaSetGoal (origin, radius, boundaryDist) |
function | margwaSetHeadHealth (health) |
function private | margwaShouldFreeze (entity) |
function private | margwaShouldReactIDGun (entity) |
function private | margwaShouldReactStun (entity) |
function private | margwaShouldReactSword (entity) |
function private | margwaShouldReset (entity) |
function private | margwaShouldShowPain (entity) |
function | margwaShouldSmashAttack (entity) |
function private | margwaShouldSpawn (entity) |
function | margwaShouldSwipeAttack (entity) |
function private | margwaShouldTeleportIn (entity) |
function private | margwaShouldTeleportOut (entity) |
function private | margwaShouldWait (entity) |
function private | margwaSmashAttackStart (entity) |
function | margwaSmashAttackTerminate (entity) |
function private | margwaSpawnSetup () |
function private | margwaSpawnStart (entity) |
function private | margwaSwipeAttackAction (entity, asmStateName) |
function private | margwaSwipeAttackActionUpdate (entity, asmStateName) |
function | margwaSwipeAttackStart (entity) |
function private | margwaSwipeattackTerminate (entity) |
function private | margwaTargetService (entity) |
function private | margwaTeleportInStart (entity) |
function | margwaTeleportInTerminate (entity) |
function private | margwaTeleportOutStart (entity) |
function private | margwaTeleportOutTerminate (entity) |
function | margwaTell () |
function private | margwaTraverseActionStart (entity) |
function private | margwaUpdateMoveSpeed () |
function private | margwaWait () |
function private | mocompMargwaTeleportTraversalInit (entity, mocompAnim, mocompAnimBlendOutTime, mocompAnimFlag, mocompDuration) |
function private | mocompMargwaTeleportTraversalTerminate (entity, mocompAnim, mocompAnimBlendOutTime, mocompAnimFlag, mocompDuration) |
function private | mocompMargwaTeleportTraversalUpdate (entity, mocompAnim, mocompAnimBlendOutTime, mocompAnimFlag, mocompDuration) |
function private | shieldFacing (vDir, limit, front=true) |
function | shouldUpdateJaw () |
function | show_hit_marker () |
function AddDirectHitWeapon | ( | weaponName | ) |
Definition at line 87 of file margwa.gsc.
function private ArchetypeMargwaBlackboardInit | ( | ) |
Definition at line 157 of file margwa.gsc.
References ArchetypeMargwaOnAnimscriptedCallback(), BB_GetShouldTurn(), BB_REGISTER_ATTRIBUTE, BOARD_ATTACK_SPOT, CreateBlackBoardForEntity(), ENABLE_BLACKBOARD_DEBUG_TRACKING, LOCOMOTION_SHOULD_TURN, LOCOMOTION_SPEED_TYPE, LOCOMOTION_SPEED_WALK, RegisterUtilityBlackboardAttributes(), SHOULD_NOT_TURN, ZOMBIE_DAMAGEWEAPON_REGULAR, and ZOMBIE_DAMAGEWEAPON_TYPE.
Referenced by ArchetypeMargwaOnAnimscriptedCallback(), and init().
function private ArchetypeMargwaOnAnimscriptedCallback | ( | entity | ) |
Definition at line 178 of file margwa.gsc.
References ArchetypeMargwaBlackboardInit().
Referenced by ArchetypeMargwaBlackboardInit().
function private BB_GetShouldTurn | ( | ) |
Definition at line 187 of file margwa.gsc.
References SHOULD_NOT_TURN, and SHOULD_TURN.
Referenced by ArchetypeMargwaBlackboardInit().
function autoexec init | ( | ) |
Definition at line 37 of file margwa.gsc.
References add_archetype_spawn_function(), ARCHETYPE_MARGWA, ArchetypeMargwaBlackboardInit(), InitDirectHitWeapons(), InitMargwaBehaviorsAndASM(), MARGWA_FX_IN_CLIENTFIELD, MARGWA_FX_OUT_CLIENTFIELD, MARGWA_FX_SPAWN_CLIENTFIELD, MARGWA_FX_SPAWN_CLIENTFIELD_BITS, MARGWA_FX_SPAWN_CLIENTFIELD_TYPE, MARGWA_FX_TRAVEL_CLIENTFIELD, MARGWA_FX_TRAVEL_TELL_CLIENTFIELD, MARGWA_HEAD_CLIENTFIELD_BITS, MARGWA_HEAD_CLIENTFIELD_TYPE, MARGWA_HEAD_EXPLODE_CLIENTFIELD, MARGWA_HEAD_EXPLODE_CLIENTFIELD_BITS, MARGWA_HEAD_EXPLODE_CLIENTFIELD_TYPE, MARGWA_HEAD_KILLED_CLIENTFIELD, MARGWA_HEAD_LEFT_CLIENTFIELD, MARGWA_HEAD_LEFT_HIT_CLIENTFIELD, MARGWA_HEAD_MID_CLIENTFIELD, MARGWA_HEAD_MID_HIT_CLIENTFIELD, MARGWA_HEAD_RIGHT_CLIENTFIELD, MARGWA_HEAD_RIGHT_HIT_CLIENTFIELD, MARGWA_JAW_CLIENTFIELD, MARGWA_SMASH_CLIENTFIELD, margwaSpawnSetup(), register(), and VERSION_SHIP.
function private InitDirectHitWeapons | ( | ) |
Definition at line 71 of file margwa.gsc.
Referenced by init().
function private InitMargwaBehaviorsAndASM | ( | ) |
Definition at line 100 of file margwa.gsc.
References ASM_MARGWA_BODYFALL_NOTETRACK, ASM_MARGWA_PAIN_MELEE_NOTETRACK, ASM_MARGWA_SMASH_ATTACK_NOTETRACK, ASM_REGISTER_MOCOMP, ASM_REGISTER_NOTETRACK_HANDLER, BT_REGISTER_ACTION, BT_REGISTER_API, margwaIdleStart(), margwaMoveStart(), margwaNotetrackBodyfall(), margwaNotetrackPainMelee(), margwaNotetrackSmashAttack(), margwaPainStart(), margwaPainTerminate(), margwaReactIDGunStart(), margwaReactIDGunTerminate(), margwaReactStunAction(), margwaReactStunStart(), margwaReactStunTerminate(), margwaReactSwordStart(), margwaReactSwordTerminate(), margwaShouldFreeze(), margwaShouldReactIDGun(), margwaShouldReactStun(), margwaShouldReactSword(), margwaShouldReset(), margwaShouldShowPain(), margwaShouldSmashAttack(), margwaShouldSpawn(), margwaShouldSwipeAttack(), margwaShouldTeleportIn(), margwaShouldTeleportOut(), margwaShouldWait(), margwaSmashAttackStart(), margwaSmashAttackTerminate(), margwaSpawnStart(), margwaSwipeAttackAction(), margwaSwipeAttackActionUpdate(), margwaSwipeAttackStart(), margwaTargetService(), margwaTeleportInStart(), margwaTeleportInTerminate(), margwaTeleportOutStart(), margwaTeleportOutTerminate(), margwaTraverseActionStart(), mocompMargwaTeleportTraversalInit(), mocompMargwaTeleportTraversalTerminate(), and mocompMargwaTeleportTraversalUpdate().
Referenced by init().
function private inSmashAttackRange | ( | enemy | ) |
Definition at line 1570 of file margwa.gsc.
References MARGWA_SMASH_ATTACK_HEIGHT, and MARGWA_SMASH_ATTACK_START.
Referenced by margwaShouldSmashAttack().
function private isDirectHitWeapon | ( | weapon | ) |
Definition at line 1268 of file margwa.gsc.
Referenced by margwaDamage().
function margwaCanDamageAnyHead | ( | ) |
function margwaCanDamageHead | ( | ) |
function private margwaCloseAllHeads | ( | closeTime | ) |
Definition at line 1167 of file margwa.gsc.
References margwaCloseHead(), and margwaHeadUpdate().
Referenced by margwaPainTerminate(), margwaReactIDGunStart(), margwaReactStunAction(), margwaSmashAttackTerminate(), and margwaSwipeattackTerminate().
function private margwaCloseHead | ( | headInfo | ) |
Definition at line 1161 of file margwa.gsc.
References set().
Referenced by margwaCloseAllHeads(), margwaHeadSmash(), and margwaKillHead().
function margwaDamage | ( | inflictor | , |
attacker | , | ||
damage | , | ||
dFlags | , | ||
mod | , | ||
weapon | , | ||
point | , | ||
dir | , | ||
hitLoc | , | ||
offsetTime | , | ||
boneIndex | , | ||
modelIndex | |||
) |
Definition at line 1288 of file margwa.gsc.
References damage(), increment(), IS_TRUE, isDirectHitWeapon(), MARGWA_HEAD_DAMAGE_RANGE, margwaCanDamageHead(), margwaHeadHit(), margwaKillHead(), and show_hit_marker().
Referenced by margwaSpawnSetup().
function private margwaDeath | ( | ) |
Definition at line 899 of file margwa.gsc.
Referenced by margwaSpawnSetup().
function private margwaDeathAction | ( | entity | ) |
Definition at line 565 of file margwa.gsc.
function private margwaDestroyHead | ( | modelHit | ) |
Definition at line 1470 of file margwa.gsc.
function private margwaDisableStun | ( | ) |
Definition at line 924 of file margwa.gsc.
Referenced by margwaSpawnSetup().
function margwaEnableStun | ( | ) |
Definition at line 919 of file margwa.gsc.
function margwaForceSprint | ( | ) |
Definition at line 1464 of file margwa.gsc.
References LOCOMOTION_SPEED_SPRINT, LOCOMOTION_SPEED_TYPE, and SetBlackBoardAttribute().
function private margwaHeadCanOpen | ( | ) |
Definition at line 1036 of file margwa.gsc.
Referenced by margwaHeadUpdate().
function private margwaHeadDamageDelay | ( | headInfo | , |
canDamage | |||
) |
Definition at line 1121 of file margwa.gsc.
References MARGWA_MOUTH_BLEND_TIME.
Referenced by margwaHeadUpdate().
function private margwaHeadHit | ( | entity | , |
partName | |||
) |
Definition at line 1428 of file margwa.gsc.
References MARGWA_TAG_CHUNK_LEFT, MARGWA_TAG_CHUNK_MID, MARGWA_TAG_CHUNK_RIGHT, MARGWA_TAG_JAW_LEFT, MARGWA_TAG_JAW_MID, and MARGWA_TAG_JAW_RIGHT.
Referenced by margwaDamage().
function private margwaHeadSmash | ( | ) |
Definition at line 1130 of file margwa.gsc.
References margwaCloseHead(), open(), and set().
Referenced by margwaSmashAttackStart().
function private margwaHeadUpdate | ( | headInfo | ) |
Definition at line 1053 of file margwa.gsc.
References MARGWA_HEAD_CLOSE_MAX, MARGWA_HEAD_CLOSE_MIN, MARGWA_HEAD_OPEN_MAX, MARGWA_HEAD_OPEN_MIN, MARGWA_SINGLE_HEAD_CLOSE_MAX, MARGWA_SINGLE_HEAD_CLOSE_MIN, margwaHeadCanOpen(), margwaHeadDamageDelay(), margwaResetHeadTime(), set(), and wait_network_frame().
Referenced by margwaCloseAllHeads(), and margwaInitHead().
function private margwaIdleStart | ( | entity | ) |
Definition at line 542 of file margwa.gsc.
References MARGWA_JAW_CLIENTFIELD, MARGWA_JAW_IDLE, set(), and shouldUpdateJaw().
Referenced by InitMargwaBehaviorsAndASM().
function private margwaInitHead | ( | headModel | , |
headTag | |||
) |
Definition at line 929 of file margwa.gsc.
References MARGWA_HEAD_CLOSED, MARGWA_HEAD_HEALTH_BASE, MARGWA_HEAD_KILLED_LEFT, MARGWA_HEAD_KILLED_MID, MARGWA_HEAD_KILLED_RIGHT, MARGWA_HEAD_LEFT_CLIENTFIELD, MARGWA_HEAD_LEFT_HIT_CLIENTFIELD, MARGWA_HEAD_MID_CLIENTFIELD, MARGWA_HEAD_MID_HIT_CLIENTFIELD, MARGWA_HEAD_OPEN, MARGWA_HEAD_RIGHT_CLIENTFIELD, MARGWA_HEAD_RIGHT_HIT_CLIENTFIELD, MARGWA_HEAD_SMASH_ATTACK, MARGWA_MODEL_GORE_LEFT, MARGWA_MODEL_GORE_MID, MARGWA_MODEL_GORE_RIGHT, MARGWA_MODEL_HEAD_LEFT, MARGWA_MODEL_HEAD_MID, MARGWA_MODEL_HEAD_RIGHT, and margwaHeadUpdate().
Referenced by margwaSpawnSetup().
function margwaKillHead | ( | modelHit | , |
attacker | |||
) |
Definition at line 1194 of file margwa.gsc.
References IS_TRUE, MARGWA_HEAD_KILLED_CLIENTFIELD, margwaCloseHead(), margwaUpdateMoveSpeed(), and set().
Referenced by margwaDamage().
function private margwaMoveStart | ( | entity | ) |
Definition at line 550 of file margwa.gsc.
References MARGWA_JAW_CLIENTFIELD, MARGWA_JAW_RUN, MARGWA_JAW_RUN_CHARGE, set(), and shouldUpdateJaw().
Referenced by InitMargwaBehaviorsAndASM().
function private margwaNotetrackBodyfall | ( | entity | ) |
Definition at line 263 of file margwa.gsc.
References ARCHETYPE_MARGWA.
Referenced by InitMargwaBehaviorsAndASM().
function private margwaNotetrackPainMelee | ( | entity | ) |
Definition at line 276 of file margwa.gsc.
Referenced by InitMargwaBehaviorsAndASM().
function private margwaNotetrackSmashAttack | ( | entity | ) |
Definition at line 199 of file margwa.gsc.
References increment(), IS_TRUE, MARGWA_RIOTSHIELD_FACING_TOLERANCE, MARGWA_SMASH_ATTACK_DAMAGE, MARGWA_SMASH_ATTACK_OFFSET, MARGWA_SMASH_ATTACK_RANGE, MARGWA_SMASH_CLIENTFIELD, and shieldFacing().
Referenced by InitMargwaBehaviorsAndASM().
function private margwaPainStart | ( | entity | ) |
Definition at line 674 of file margwa.gsc.
References GetBlackBoardAttribute(), MARGWA_HEAD, MARGWA_HEAD_LEFT, MARGWA_HEAD_MIDDLE, MARGWA_HEAD_RIGHT, MARGWA_JAW_CLIENTFIELD, MARGWA_JAW_HEAD_L_EXPLODE, MARGWA_JAW_HEAD_M_EXPLODE, MARGWA_JAW_HEAD_R_EXPLODE, set(), and shouldUpdateJaw().
Referenced by InitMargwaBehaviorsAndASM().
function private margwaPainTerminate | ( | entity | ) |
Definition at line 703 of file margwa.gsc.
References MARGWA_PAIN_CLOSE_TIME, and margwaCloseAllHeads().
Referenced by InitMargwaBehaviorsAndASM().
function private margwaReactIDGunStart | ( | entity | ) |
Definition at line 735 of file margwa.gsc.
References GetBlackBoardAttribute(), MARGWA_JAW_CLIENTFIELD, MARGWA_JAW_REACT_IDGUN, MARGWA_JAW_REACT_IDGUN_PACKED, MARGWA_PAIN_CLOSE_TIME, margwaCloseAllHeads(), set(), shouldUpdateJaw(), ZOMBIE_DAMAGEWEAPON_REGULAR, and ZOMBIE_DAMAGEWEAPON_TYPE.
Referenced by InitMargwaBehaviorsAndASM().
function margwaReactIDGunTerminate | ( | entity | ) |
Definition at line 767 of file margwa.gsc.
References SetBlackBoardAttribute(), ZOMBIE_DAMAGEWEAPON_REGULAR, and ZOMBIE_DAMAGEWEAPON_TYPE.
Referenced by InitMargwaBehaviorsAndASM().
function private margwaReactStunAction | ( | entity | , |
asmStateName | |||
) |
Definition at line 499 of file margwa.gsc.
References ASM_ALIAS_ATTRIBUTE, BHTN_RUNNING, margwaCloseAllHeads(), margwaReactStunStart(), RequestState(), and SearchAnimationMap().
Referenced by InitMargwaBehaviorsAndASM().
function private margwaReactStunStart | ( | entity | ) |
Definition at line 719 of file margwa.gsc.
References MARGWA_JAW_CLIENTFIELD, MARGWA_JAW_REACT_STUN, set(), and shouldUpdateJaw().
Referenced by InitMargwaBehaviorsAndASM(), and margwaReactStunAction().
function margwaReactStunTerminate | ( | entity | ) |
Definition at line 730 of file margwa.gsc.
Referenced by InitMargwaBehaviorsAndASM().
function private margwaReactSwordStart | ( | entity | ) |
Definition at line 773 of file margwa.gsc.
Referenced by InitMargwaBehaviorsAndASM().
function private margwaReactSwordTerminate | ( | entity | ) |
Definition at line 784 of file margwa.gsc.
Referenced by InitMargwaBehaviorsAndASM().
function private margwaResetHeadTime | ( | min | , |
max | |||
) |
Definition at line 1030 of file margwa.gsc.
Referenced by margwaHeadUpdate().
function margwaSetGoal | ( | origin | , |
radius | , | ||
boundaryDist | |||
) |
Definition at line 1489 of file margwa.gsc.
References MARGWA_NAVMESH_BOUNDARY_DIST, and MARGWA_NAVMESH_RADIUS.
function margwaSetHeadHealth | ( | health | ) |
Definition at line 1020 of file margwa.gsc.
function private margwaShouldFreeze | ( | entity | ) |
Definition at line 431 of file margwa.gsc.
References IS_TRUE.
Referenced by InitMargwaBehaviorsAndASM().
function private margwaShouldReactIDGun | ( | entity | ) |
Definition at line 401 of file margwa.gsc.
References IS_TRUE.
Referenced by InitMargwaBehaviorsAndASM().
function private margwaShouldReactStun | ( | entity | ) |
Definition at line 391 of file margwa.gsc.
References IS_TRUE.
Referenced by InitMargwaBehaviorsAndASM().
function private margwaShouldReactSword | ( | entity | ) |
Definition at line 411 of file margwa.gsc.
References IS_TRUE.
Referenced by InitMargwaBehaviorsAndASM().
function private margwaShouldReset | ( | entity | ) |
Definition at line 471 of file margwa.gsc.
References IS_TRUE.
Referenced by InitMargwaBehaviorsAndASM().
function private margwaShouldShowPain | ( | entity | ) |
Definition at line 365 of file margwa.gsc.
References MARGWA_HEAD, MARGWA_HEAD_LEFT, MARGWA_HEAD_LEFT_CLIENTFIELD, MARGWA_HEAD_MID_CLIENTFIELD, MARGWA_HEAD_MIDDLE, MARGWA_HEAD_RIGHT, MARGWA_HEAD_RIGHT_CLIENTFIELD, and SetBlackBoardAttribute().
Referenced by InitMargwaBehaviorsAndASM().
function margwaShouldSmashAttack | ( | entity | ) |
Definition at line 323 of file margwa.gsc.
References inSmashAttackRange(), and MARGWA_MELEE_YAW.
Referenced by InitMargwaBehaviorsAndASM().
function private margwaShouldSpawn | ( | entity | ) |
Definition at line 421 of file margwa.gsc.
References IS_TRUE.
Referenced by InitMargwaBehaviorsAndASM().
function margwaShouldSwipeAttack | ( | entity | ) |
Definition at line 344 of file margwa.gsc.
References MARGWA_MELEE_YAW, and MARGWA_SWIPE_DIST_SQ.
Referenced by InitMargwaBehaviorsAndASM().
function private margwaShouldTeleportIn | ( | entity | ) |
Definition at line 441 of file margwa.gsc.
References IS_TRUE.
Referenced by InitMargwaBehaviorsAndASM().
function private margwaShouldTeleportOut | ( | entity | ) |
Definition at line 451 of file margwa.gsc.
References IS_TRUE.
Referenced by InitMargwaBehaviorsAndASM().
function private margwaShouldWait | ( | entity | ) |
Definition at line 461 of file margwa.gsc.
References IS_TRUE.
Referenced by InitMargwaBehaviorsAndASM().
function private margwaSmashAttackStart | ( | entity | ) |
Definition at line 794 of file margwa.gsc.
References MARGWA_JAW_CLIENTFIELD, MARGWA_JAW_SMASH_ATTACK, margwaHeadSmash(), set(), and shouldUpdateJaw().
Referenced by InitMargwaBehaviorsAndASM().
function margwaSmashAttackTerminate | ( | entity | ) |
Definition at line 804 of file margwa.gsc.
References margwaCloseAllHeads().
Referenced by InitMargwaBehaviorsAndASM().
function private margwaSpawnSetup | ( | ) |
Definition at line 859 of file margwa.gsc.
References MARGWA_HEAD_HEALTH_BASE, MARGWA_MODEL_HEAD_LEFT, MARGWA_MODEL_HEAD_MID, MARGWA_MODEL_HEAD_RIGHT, MARGWA_NUM_HEADS, MARGWA_TAG_CHUNK_LEFT, MARGWA_TAG_CHUNK_MID, MARGWA_TAG_CHUNK_RIGHT, margwaDamage(), margwaDeath(), margwaDisableStun(), margwaInitHead(), and Spawn().
Referenced by init().
function private margwaSpawnStart | ( | entity | ) |
Definition at line 789 of file margwa.gsc.
Referenced by InitMargwaBehaviorsAndASM().
function private margwaSwipeAttackAction | ( | entity | , |
asmStateName | |||
) |
Definition at line 516 of file margwa.gsc.
References ASM_ALIAS_ATTRIBUTE, BHTN_RUNNING, RequestState(), and SearchAnimationMap().
Referenced by InitMargwaBehaviorsAndASM().
function private margwaSwipeAttackActionUpdate | ( | entity | , |
asmStateName | |||
) |
Definition at line 532 of file margwa.gsc.
References BHTN_RUNNING, and BHTN_SUCCESS.
Referenced by InitMargwaBehaviorsAndASM().
function margwaSwipeAttackStart | ( | entity | ) |
Definition at line 809 of file margwa.gsc.
References MARGWA_JAW_CLIENTFIELD, MARGWA_JAW_SWIPE_PLAYER, set(), and shouldUpdateJaw().
Referenced by InitMargwaBehaviorsAndASM().
function private margwaSwipeattackTerminate | ( | entity | ) |
Definition at line 817 of file margwa.gsc.
References margwaCloseAllHeads().
function private margwaTargetService | ( | entity | ) |
Definition at line 284 of file margwa.gsc.
References get_closest_valid_player(), IS_TRUE, MARGWA_NAVMESH_BOUNDARY_DIST, and MARGWA_NAVMESH_RADIUS.
Referenced by InitMargwaBehaviorsAndASM().
function private margwaTeleportInStart | ( | entity | ) |
Definition at line 600 of file margwa.gsc.
References increment(), MARGWA_FX_IN_CLIENTFIELD, MARGWA_FX_TRAVEL_CLIENTFIELD, MARGWA_JAW_CLIENTFIELD, MARGWA_JAW_TELEPORT_IN, MARGWA_TELEPORT, MARGWA_TELEPORT_IN, MARGWA_TELEPORT_OFF, MARGWA_TELEPORT_ON, set(), SetBlackBoardAttribute(), and shouldUpdateJaw().
Referenced by InitMargwaBehaviorsAndASM().
function margwaTeleportInTerminate | ( | entity | ) |
Definition at line 624 of file margwa.gsc.
References MARGWA_FX_TRAVEL_CLIENTFIELD, MARGWA_TELEPORT_OFF, and set().
Referenced by InitMargwaBehaviorsAndASM().
function private margwaTeleportOutStart | ( | entity | ) |
Definition at line 633 of file margwa.gsc.
References increment(), MARGWA_FX_OUT_CLIENTFIELD, MARGWA_JAW_CLIENTFIELD, MARGWA_JAW_TELEPORT_OUT, MARGWA_TELEPORT, MARGWA_TELEPORT_ON, MARGWA_TELEPORT_OUT, set(), SetBlackBoardAttribute(), and shouldUpdateJaw().
Referenced by InitMargwaBehaviorsAndASM().
function private margwaTeleportOutTerminate | ( | entity | ) |
Definition at line 648 of file margwa.gsc.
References MARGWA_FX_TRAVEL_CLIENTFIELD, MARGWA_TAG_TELEPORT, MARGWA_TELEPORT_ON, margwaWait(), and set().
Referenced by InitMargwaBehaviorsAndASM(), and mocompMargwaTeleportTraversalTerminate().
function margwaTell | ( | ) |
Definition at line 1540 of file margwa.gsc.
References MARGWA_FX_TRAVEL_TELL_CLIENTFIELD, MARGWA_TELEPORT_ON, set(), and wait_network_frame().
Referenced by margwaWait().
function private margwaTraverseActionStart | ( | entity | ) |
Definition at line 570 of file margwa.gsc.
References MARGWA_JAW_CLIENTFIELD, MARGWA_JAW_TRV_JUMP_DOWN_36, MARGWA_JAW_TRV_JUMP_DOWN_96, MARGWA_JAW_TRV_JUMP_UP_36, MARGWA_JAW_TRV_JUMP_UP_96, set(), SetBlackBoardAttribute(), shouldUpdateJaw(), and TRAVERSAL_TYPE.
Referenced by InitMargwaBehaviorsAndASM().
function private margwaUpdateMoveSpeed | ( | ) |
Definition at line 1448 of file margwa.gsc.
References LOCOMOTION_SPEED_RUN, LOCOMOTION_SPEED_SPRINT, LOCOMOTION_SPEED_TYPE, and SetBlackBoardAttribute().
Referenced by margwaKillHead().
function private margwaWait | ( | ) |
Definition at line 1502 of file margwa.gsc.
References MARGWA_FX_TRAVEL_TELL_CLIENTFIELD, MARGWA_TELEPORT_OFF, MARGWA_TRAVELER_HEIGHT_OFFSET, MARGWA_TRAVELER_SPEED, margwaTell(), set(), and waittill_any_ex().
Referenced by margwaTeleportOutTerminate().
function private mocompMargwaTeleportTraversalInit | ( | entity | , |
mocompAnim | , | ||
mocompAnimBlendOutTime | , | ||
mocompAnimFlag | , | ||
mocompDuration | |||
) |
Definition at line 825 of file margwa.gsc.
References AI_ANIM_MOVE_CODE, increment(), MARGWA_FX_OUT_CLIENTFIELD, and MARGWA_TELEPORT_ON.
Referenced by InitMargwaBehaviorsAndASM().
function private mocompMargwaTeleportTraversalTerminate | ( | entity | , |
mocompAnim | , | ||
mocompAnimBlendOutTime | , | ||
mocompAnimFlag | , | ||
mocompDuration | |||
) |
Definition at line 850 of file margwa.gsc.
References margwaTeleportOutTerminate().
Referenced by InitMargwaBehaviorsAndASM().
function private mocompMargwaTeleportTraversalUpdate | ( | entity | , |
mocompAnim | , | ||
mocompAnimBlendOutTime | , | ||
mocompAnimFlag | , | ||
mocompDuration | |||
) |
Definition at line 846 of file margwa.gsc.
Referenced by InitMargwaBehaviorsAndASM().
function private shieldFacing | ( | vDir | , |
limit | , | ||
front | = true |
||
) |
Definition at line 1551 of file margwa.gsc.
References limit().
Referenced by margwaNotetrackSmashAttack().
function shouldUpdateJaw | ( | ) |
Definition at line 1474 of file margwa.gsc.
References IS_TRUE, and MARGWA_NUM_HEADS.
Referenced by margwaIdleStart(), margwaMoveStart(), margwaPainStart(), margwaReactIDGunStart(), margwaReactStunStart(), margwaSmashAttackStart(), margwaSwipeAttackStart(), margwaTeleportInStart(), margwaTeleportOutStart(), and margwaTraverseActionStart().
function show_hit_marker | ( | ) |
Definition at line 1257 of file margwa.gsc.
Referenced by apothiconDamageCallback(), and margwaDamage().