‪Black Ops 3 Source Code Explorer  0.1
‪An script explorer for Black Ops 3 by ZeRoY
archetype_human.csc
Go to the documentation of this file.
1 #using scripts\shared\ai_shared;
2 #using scripts\shared\clientfield_shared;
3 #using scripts\shared\duplicaterender_mgr;
4 #using scripts\shared\util_shared;
5 #using scripts\shared\ai\systems\fx_character;
6 #using scripts\shared\ai\systems\gib;
7 
8 #insert scripts\shared\shared.gsh;
9 #insert scripts\shared\version.gsh;
10 #insert scripts\shared\archetype_shared\archetype_shared.gsh;
11 
12 #using_animtree("generic");
13 
14 function autoexec ‪precache()
15 {
16 
17 }
18 
19 function autoexec ‪main()
20 {
22  "actor",
25  1,
26  "int",
30 }
31 
32 #namespace HumanClientUtils;
33 
34 function ‪facialDialogueHandler( localClientNum, oldValue, newValue, bNewEnt, bInitialSnap, fieldName, wasDemoJump )
35 {
36  if( newvalue )
37  {
38  self.facialDialogueActive = true;
39  }
40  else
41  {
42  if( ‪IS_TRUE(self.facialDialogueActive) )
43  {
44  self ClearAnim( %faces, 0 );
45  }
46  }
47 }
‪CF_CALLBACK_ZERO_ON_NEW_ENT
‪#define CF_CALLBACK_ZERO_ON_NEW_ENT
Definition: version.gsh:103
‪VERSION_SHIP
‪#define VERSION_SHIP
Definition: version.gsh:36
‪precache
‪function autoexec precache()
Definition: archetype_human.csc:14
‪IS_TRUE
‪#define IS_TRUE(__a)
Definition: shared.gsh:251
‪facialDialogueHandler
‪function facialDialogueHandler(localClientNum, oldValue, newValue, bNewEnt, bInitialSnap, fieldName, wasDemoJump)
Definition: archetype_human.csc:34
‪HUMAN_FACIAL_DIALOG_ACTIVE
‪#define HUMAN_FACIAL_DIALOG_ACTIVE
Definition: archetype_shared.gsh:56
‪main
‪function autoexec main()
Definition: archetype_human.csc:19
‪CF_HOST_ONLY
‪#define CF_HOST_ONLY
Definition: version.gsh:102
‪register
‪function register()
Definition: _ai_tank.gsc:126