‪Black Ops 3 Source Code Explorer  0.1
‪An script explorer for Black Ops 3 by ZeRoY
archetype_zombie_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 ZombieInterface;
5 
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  */
17  "zombie",
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  */
31  "zombie",
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  */
45  "zombie",
46  "spark_behavior",
47  false,
48  ‪array( true, false ) );
49 
50  /*
51  * Name: use_attackable
52  * Summary: Controls whether the zombie destroys attackable objects.
53  * Initial Value: false
54  * Attribute true: Will enable the attackable behavior.
55  * Attribute false: Disables attackable behavior.
56  * Example: entity ai::set_behavior_attribute( "use_attackable", true );"
57  */
59  "zombie",
60  "use_attackable",
61  false,
62  ‪array( true, false ) );
63 }
‪RegisterMatchedInterface
‪function RegisterMatchedInterface(archetype, attribute, defaultValue, possibleValues, callbackFunction)
Definition: ai_interface.gsc:143
‪RegisterZombieInterfaceAttributes
‪function RegisterZombieInterfaceAttributes()
Definition: archetype_zombie_interface.gsc:6
‪array
‪function filter array
Definition: array_shared.csc:16