‪Black Ops 3 Source Code Explorer  0.1
‪An script explorer for Black Ops 3 by ZeRoY
archetype_zombie_dog_interface.gsc
Go to the documentation of this file.
1 #using scripts\shared\ai\behavior_zombie_dog;
2 #using scripts\shared\ai\systems\ai_interface;
3 
4 #namespace ZombieDogInterface;
5 
7 {
8  /*
9  * Name: gravity
10  * Summary: Enables or disables low gravity animations for the zombie dog.
11  * Initial Value: normal
12  * Attribute normal: Normal animations.
13  * Attribute low: Low gravity animations.
14  * Example: entity ai::set_behavior_attribute( "gravity", "low" );
15  */
17  "zombie_dog",
18  "gravity",
19  "normal",
20  ‪array( "low", "normal" ),
22 
23 
24  /*
25  * Name: min_run_dist
26  * Summary: The minimum distance at which a zombie dog will decide to start running towards its target.
27  * Initial Value: 500
28  * Example: entity ai::set_behavior_attribute( "min_run_dist", 500 );
29  */
31  "zombie_dog",
32  "min_run_dist",
33  500 );
34 
35 
36  /*
37  * Name: sprint
38  * Summary: If this is set to true, the zombie dog will sprint towards its target even without LOS.
39  * Initial Value: false
40  * Example: entity ai::set_behavior_attribute( "sprint", true );
41  */
43  "zombie_dog",
44  "sprint",
45  false,
46  ‪array( true, false ) );
47 }
‪RegisterMatchedInterface
‪function RegisterMatchedInterface(archetype, attribute, defaultValue, possibleValues, callbackFunction)
Definition: ai_interface.gsc:143
‪zombieDogGravity
‪function zombieDogGravity(entity, attribute, oldValue, value)
Definition: behavior_zombie_dog.gsc:534
‪array
‪function filter array
Definition: array_shared.csc:16
‪RegisterZombieDogInterfaceAttributes
‪function RegisterZombieDogInterfaceAttributes()
Definition: archetype_zombie_dog_interface.gsc:6