Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_ScriptedCommandsStaticTable.c
Go to the documentation of this file.
1
class
SCR_ScriptedCommandsStaticTable
2
{
3
//------------------------------------------------------------------------------------------------
4
// constructor
5
void
SCR_ScriptedCommandsStaticTable()
6
{
7
}
8
9
//------------------------------------------------------------------------------------------------
13
bool
Bind(
CharacterAnimationComponent
animationComponent)
14
{
15
m_CommandGesture = animationComponent.BindCommand(
"CMD_Gestures"
);
16
m_CustomCinematicCommand = animationComponent.BindCommand(
"CMD_Gesture_NPC"
);
17
18
m_OfficerMissionSpeech = animationComponent.BindVariableInt(
"NPC_Speech"
);
19
20
m_IsLoiteringTag =
GameAnimationUtils
.RegisterAnimationTag(
"IsLoitering"
);
21
m_IsLoiteringStartingTag =
GameAnimationUtils
.RegisterAnimationTag(
"IsLoiteringStarting"
);
22
m_IsChangingWeaponTag =
GameAnimationUtils
.RegisterAnimationTag(
"TagChangingWeapon"
);
23
24
m_bIsBound
= m_CommandGesture != -1 && m_IsLoiteringTag != -1 && m_IsLoiteringStartingTag != -1 && m_IsChangingWeaponTag != -1;
25
return
m_bIsBound
;
26
}
27
28
//------------------------------------------------------------------------------------------------
31
bool
IsBound()
32
{
33
return
m_bIsBound
;
34
}
35
36
// Loiter
37
TAnimGraphCommand
m_CommandGesture = -1;
38
TAnimGraphCommand
m_CustomCinematicCommand = -1;
39
TAnimGraphTag
m_IsLoiteringTag = -1;
40
TAnimGraphTag
m_IsLoiteringStartingTag = -1;
41
TAnimGraphTag
m_IsChangingWeaponTag = -1;
42
TAnimGraphVariable
m_OfficerMissionSpeech = -1;
43
44
protected
bool
m_bIsBound
=
false
;
45
};
TAnimGraphVariable
int TAnimGraphVariable
Definition
ECommandIDs.c:2
TAnimGraphTag
int TAnimGraphTag
Definition
ECommandIDs.c:3
TAnimGraphCommand
int TAnimGraphCommand
Definition
ECommandIDs.c:1
CharacterAnimationComponent
Definition
CharacterAnimationComponent.c:13
GameAnimationUtils
Definition
GameAnimationUtils.c:8
SCR_ScriptedCommandsStaticTable::m_bIsBound
bool m_bIsBound
Definition
SCR_ScriptedCommandsStaticTable.c:44
scripts
Game
Character
Commands
SCR_ScriptedCommandsStaticTable.c
Generated by
1.17.0