Black Ops 3 Source Code Explorer
0.1
An script explorer for Black Ops 3 by ZeRoY
archetype_mannequin_interface.gsc
Go to the documentation of this file.
1
#using scripts\shared\ai\zombie;
2
#using scripts\shared\ai\systems\ai_interface;
3
4
#namespace MannequinInterface;
5
6
function
RegisterMannequinInterfaceAttributes
()
7
{
8
/*
9
* Name: can_juke
10
* Summary: Controls whether the zombie can juke.
11
* Initial Value: true
12
* Attribute true: Normal behavior, zombie will occasionally juke left or right.
13
* Attribute false: Disables zombie's ability to juke.
14
* Example: entity ai::set_behavior_attribute( "can_juke", true );"
15
*/
16
ai::RegisterMatchedInterface
(
17
"mannequin"
,
18
"can_juke"
,
19
false
,
20
array
(
true
,
false
) );
21
22
/*
23
* Name: suicidal_behavior
24
* Summary: Controls whether the zombie is going to act as suicidal.
25
* Initial Value: false
26
* Attribute true: Will enable the suicidal behavior.
27
* Attribute false: Disables suicidal behavior.
28
* Example: entity ai::set_behavior_attribute( "suicidal_behavior", true );"
29
*/
30
ai::RegisterMatchedInterface
(
31
"mannequin"
,
32
"suicidal_behavior"
,
33
false
,
34
array
(
true
,
false
) );
35
36
/*
37
* Name: spark_behavior
38
* Summary: Controls whether the zombie is going to act as spark zombie.
39
* Initial Value: false
40
* Attribute true: Will enable the spark behavior.
41
* Attribute false: Disables spark behavior.
42
* Example: entity ai::set_behavior_attribute( "spark_behavior", true );"
43
*/
44
ai::RegisterMatchedInterface
(
45
"mannequin"
,
46
"spark_behavior"
,
47
false
,
48
array
(
true
,
false
) );
49
}
RegisterMatchedInterface
function RegisterMatchedInterface(archetype, attribute, defaultValue, possibleValues, callbackFunction)
Definition:
ai_interface.gsc:143
RegisterMannequinInterfaceAttributes
function RegisterMannequinInterfaceAttributes()
Definition:
archetype_mannequin_interface.gsc:6
array
function filter array
Definition:
array_shared.csc:16
scripts
shared
ai
archetype_mannequin_interface.gsc
Generated by
1.8.17