![]() |
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 | _ATTRIBUTE_CALLBACK "callback" |
#define | _ATTRIBUTE_DEFAULT_VALUE "default_value" |
#define | _ATTRIBUTE_MAX_VALUE "max_value" |
#define | _ATTRIBUTE_MIN_VALUE "min_value" |
#define | _ATTRIBUTE_TYPE "type" |
#define | _ATTRIBUTE_VALUES "values" |
#define | _INTERFACE_MATCH_TYPE "_interface_match" |
#define | _INTERFACE_NUMERIC_TYPE "_interface_numeric" |
#define | _INTERFACE_VECTOR_TYPE "_interface_vector" |
Functions | |
function private | _CheckPrerequisites (entity, attribute) |
function private | _CheckRegistrationPrerequisites (archetype, attribute, callbackFunction) |
function private | _CheckValue (archetype, attributeName, value) |
function private | _InitializeLevelInterface (archetype) |
function | CreateInterfaceForEntity (entity) |
function | GetAiAttribute (entity, attribute) |
function | HasAiAttribute (entity, attribute) |
function autoexec | main () |
function | RegisterMatchedInterface (archetype, attribute, defaultValue, possibleValues, callbackFunction) |
function | RegisterNumericInterface (archetype, attribute, defaultValue, minimum, maximum, callbackFunction) |
function | RegisterVectorInterface (archetype, attribute, defaultValue, callbackFunction) |
function | SetAiAttribute (entity, attribute, value) |
#define _ATTRIBUTE_CALLBACK "callback" |
Definition at line 1 of file ai_interface.gsc.
#define _ATTRIBUTE_DEFAULT_VALUE "default_value" |
Definition at line 2 of file ai_interface.gsc.
#define _ATTRIBUTE_MAX_VALUE "max_value" |
Definition at line 3 of file ai_interface.gsc.
#define _ATTRIBUTE_MIN_VALUE "min_value" |
Definition at line 4 of file ai_interface.gsc.
#define _ATTRIBUTE_TYPE "type" |
Definition at line 5 of file ai_interface.gsc.
#define _ATTRIBUTE_VALUES "values" |
Definition at line 6 of file ai_interface.gsc.
#define _INTERFACE_MATCH_TYPE "_interface_match" |
Definition at line 7 of file ai_interface.gsc.
#define _INTERFACE_NUMERIC_TYPE "_interface_numeric" |
Definition at line 8 of file ai_interface.gsc.
#define _INTERFACE_VECTOR_TYPE "_interface_vector" |
Definition at line 9 of file ai_interface.gsc.
function private _CheckPrerequisites | ( | entity | , |
attribute | |||
) |
Definition at line 59 of file ai_interface.gsc.
References _ATTRIBUTE_TYPE.
Referenced by GetAiAttribute(), and SetAiAttribute().
function private _CheckRegistrationPrerequisites | ( | archetype | , |
attribute | , | ||
callbackFunction | |||
) |
Definition at line 85 of file ai_interface.gsc.
Referenced by RegisterMatchedInterface(), RegisterNumericInterface(), and RegisterVectorInterface().
function private _CheckValue | ( | archetype | , |
attributeName | , | ||
value | |||
) |
Definition at line 18 of file ai_interface.gsc.
References _ATTRIBUTE_MAX_VALUE, _ATTRIBUTE_MIN_VALUE, _ATTRIBUTE_TYPE, _ATTRIBUTE_VALUES, _INTERFACE_MATCH_TYPE, _INTERFACE_NUMERIC_TYPE, and _INTERFACE_VECTOR_TYPE.
Referenced by RegisterMatchedInterface(), RegisterNumericInterface(), RegisterVectorInterface(), and SetAiAttribute().
function private _InitializeLevelInterface | ( | archetype | ) |
Definition at line 95 of file ai_interface.gsc.
Referenced by RegisterMatchedInterface(), RegisterNumericInterface(), and RegisterVectorInterface().
function CreateInterfaceForEntity | ( | entity | ) |
Definition at line 110 of file ai_interface.gsc.
Referenced by ApothiconFuryBlackboardInit(), ArchetypeCloneBlackboardInit(), ArchetypeHumanBlackboardInit(), ArchetypeHumanRiotshieldBlackboardInit(), ArchetypeHumanRpgBlackboardInit(), ArchetypeQuadBlackboardInit(), ArchetypeRobotBlackboardInit(), ArchetypeThrasherBlackboardInit(), ArchetypeZombieBlackboardInit(), ArchetypeZombieDogBlackboardInit(), civilianBlackboardInit(), hunter_initialize(), parasite_initialize(), and sentinel_drone_initialize().
function GetAiAttribute | ( | entity | , |
attribute | |||
) |
Definition at line 118 of file ai_interface.gsc.
References _ATTRIBUTE_DEFAULT_VALUE, and _CheckPrerequisites().
Referenced by apothiconCanBamfInternal(), apothiconCanJuke(), apothiconShouldSwitchToFuriousMode(), ArchetypeHumanOnAnimscriptedCallback(), BB_GetLocomotionMovementType(), BB_GetPanic(), BB_GetShouldRunStatus(), continueTacticalWalkScan(), get_behavior_attribute(), robotLocomotionSpeed(), shouldMelee(), shouldSwitchToTacticalWalkFromRun(), shouldTacticalWalk(), shouldTacticalWalkScan(), and shouldThrowGrenadeAtCoverCondition().
function HasAiAttribute | ( | entity | , |
attribute | |||
) |
Definition at line 132 of file ai_interface.gsc.
Referenced by BB_GetShouldRunStatus(), continueTacticalWalkScan(), has_behavior_attribute(), shouldMelee(), shouldSwitchToTacticalWalkFromRun(), shouldTacticalWalk(), shouldTacticalWalkScan(), and shouldThrowGrenadeAtCoverCondition().
function autoexec main | ( | ) |
Definition at line 11 of file ai_interface.gsc.
function RegisterMatchedInterface | ( | archetype | , |
attribute | , | ||
defaultValue | , | ||
possibleValues | , | ||
callbackFunction | |||
) |
Definition at line 143 of file ai_interface.gsc.
References _ATTRIBUTE_CALLBACK, _ATTRIBUTE_DEFAULT_VALUE, _ATTRIBUTE_TYPE, _ATTRIBUTE_VALUES, _CheckRegistrationPrerequisites(), _CheckValue(), _InitializeLevelInterface(), and _INTERFACE_MATCH_TYPE.
Referenced by __init__(), RegisterApothiconFuryInterfaceAttributes(), RegisterBehaviorScriptFunctions(), RegisterHumanInterfaceAttributes(), RegisterHumanRiotshieldInterfaceAttributes(), RegisterHumanRpgInterfaceAttributes(), RegisterMannequinInterfaceAttributes(), RegisterRobotInterfaceAttributes(), RegisterSharedInterfaceAttributes(), RegisterThrasherInterfaceAttributes(), RegisterWarlordInterfaceAttributes(), RegisterZombieDogInterfaceAttributes(), and RegisterZombieInterfaceAttributes().
function RegisterNumericInterface | ( | archetype | , |
attribute | , | ||
defaultValue | , | ||
minimum | , | ||
maximum | , | ||
callbackFunction | |||
) |
Definition at line 169 of file ai_interface.gsc.
References _ATTRIBUTE_CALLBACK, _ATTRIBUTE_DEFAULT_VALUE, _ATTRIBUTE_MAX_VALUE, _ATTRIBUTE_MIN_VALUE, _ATTRIBUTE_TYPE, _CheckRegistrationPrerequisites(), _CheckValue(), _InitializeLevelInterface(), and _INTERFACE_NUMERIC_TYPE.
Referenced by RegisterInterfaceAttributes().
function RegisterVectorInterface | ( | archetype | , |
attribute | , | ||
defaultValue | , | ||
callbackFunction | |||
) |
Definition at line 205 of file ai_interface.gsc.
References _ATTRIBUTE_CALLBACK, _ATTRIBUTE_DEFAULT_VALUE, _ATTRIBUTE_TYPE, _CheckRegistrationPrerequisites(), _CheckValue(), _InitializeLevelInterface(), and _INTERFACE_VECTOR_TYPE.
Referenced by RegisterRobotInterfaceAttributes().
function SetAiAttribute | ( | entity | , |
attribute | , | ||
value | |||
) |
Definition at line 228 of file ai_interface.gsc.
References _ATTRIBUTE_CALLBACK, _ATTRIBUTE_DEFAULT_VALUE, _CheckPrerequisites(), _CheckValue(), and callback().
Referenced by set_behavior_attribute().