Black Ops 3 Source Code Explorer
0.1
An script explorer for Black Ops 3 by ZeRoY
archetype_apothicon_fury_interface.gsc
Go to the documentation of this file.
1
#using scripts\shared\util_shared;
2
#using scripts\shared\ai\archetype_utility;
3
#using scripts\shared\ai\systems\behavior_tree_utility;
4
#using scripts\shared\ai\systems\ai_blackboard;
5
#using scripts\shared\ai\systems\blackboard;
6
#using scripts\shared\ai\archetype_apothicon_fury;
7
8
//INTERFACE
9
#using scripts\shared\ai\systems\ai_interface;
10
11
#insert scripts\shared\ai\archetype_apothicon_fury.gsh;
12
#insert scripts\shared\shared.gsh;
13
#insert scripts\shared\version.gsh;
14
#insert scripts\shared\archetype_shared\archetype_shared.gsh;
15
16
#namespace ApothiconFuryInterface;
17
18
function
RegisterApothiconFuryInterfaceAttributes
()
19
{
20
/*
21
* Name: can_juke
22
* Summary: Controls whether the apothicon can juke.
23
* Initial Value: true
24
* Attribute true: Normal behavior, apothicon will occasionally juke left or right.
25
* Attribute false: Disables apothicon's ability to juke.
26
* Example: entity ai::set_behavior_attribute( "can_juke", true );"
27
*/
28
ai::RegisterMatchedInterface
(
29
ARCHETYPE_APOTHICON_FURY
,
30
"can_juke"
,
31
true
,
32
array
(
true
,
false
) );
33
34
/*
35
* Name: can_bamf
36
* Summary: Controls whether the apothicon can bamf.
37
* Initial Value: true
38
* Attribute true: Normal behavior, apothicon will occasionally bamf left or right.
39
* Attribute false: Disables apothicon's ability to bamf.
40
* Example: entity ai::set_behavior_attribute( "can_bamf", true );"
41
*/
42
ai::RegisterMatchedInterface
(
43
ARCHETYPE_APOTHICON_FURY
,
44
"can_bamf"
,
45
true
,
46
array
(
true
,
false
) );
47
48
/*
49
* Name: can_be_furious
50
* Summary: Controls whether the apothicon can switch to furious mode.
51
* Initial Value: true
52
* Attribute true: Normal behavior, apothicon will occasionally switch to furious mode.
53
* Attribute false: Disables apothicon's ability to switch to furious mode.
54
* Example: entity ai::set_behavior_attribute( "can_be_furious", true );"
55
*/
56
ai::RegisterMatchedInterface
(
57
ARCHETYPE_APOTHICON_FURY
,
58
"can_be_furious"
,
59
true
,
60
array
(
true
,
false
) );
61
62
/*
63
* Name: move_speed
64
* Summary: Controls the speed of the movement
65
* Initial Value walk
66
* Example: entity ai::set_behavior_attribute( "move_speed", "walk" );
67
*/
68
ai::RegisterMatchedInterface
(
69
ARCHETYPE_APOTHICON_FURY
,
70
"move_speed"
,
71
"walk"
,
72
array
(
"walk"
,
"run"
,
"sprint"
,
"super_sprint"
),
73
&
ApothiconFuryBehaviorInterface::moveSpeedAttributeCallback
);
74
}
RegisterMatchedInterface
function RegisterMatchedInterface(archetype, attribute, defaultValue, possibleValues, callbackFunction)
Definition:
ai_interface.gsc:143
RegisterApothiconFuryInterfaceAttributes
function RegisterApothiconFuryInterfaceAttributes()
Definition:
archetype_apothicon_fury_interface.gsc:18
ARCHETYPE_APOTHICON_FURY
#define ARCHETYPE_APOTHICON_FURY
Definition:
archetype_shared.gsh:23
moveSpeedAttributeCallback
function moveSpeedAttributeCallback(entity, attribute, oldValue, value)
Definition:
archetype_apothicon_fury.gsc:1617
array
function filter array
Definition:
array_shared.csc:16
scripts
shared
ai
archetype_apothicon_fury_interface.gsc
Generated by
1.8.17