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_InteractButtonComponent.c
Go to the documentation of this file.
1
class
SCR_ActionMenuInputButtonComponent
:
SCR_InputButtonComponent
2
{
3
//------------------------------------------------------------------------------------------------
6
void
SetHoldAction(
bool
state,
float
duration = 1)
7
{
8
m_bIsHoldAction
= state;
9
m_fMaxHoldtime
= duration;
10
11
m_ButtonDisplay
.ForceSetHoldAction(
m_bIsHoldAction
);
12
}
13
14
//------------------------------------------------------------------------------------------------
16
void
ForceSetHoldAction(
bool
state)
17
{
18
m_ButtonDisplay
.ActionPressed(state);
19
}
20
21
override
protected
void
CreateComboWidget
()
22
{
23
}
24
}
SCR_ActionMenuInputButtonComponent
Definition
SCR_InteractButtonComponent.c:2
SCR_ActionMenuInputButtonComponent::CreateComboWidget
void CreateComboWidget()
Definition
SCR_InteractButtonComponent.c:21
SCR_InputButtonComponent
Definition
SCR_InputButtonComponent.c:2
SCR_InputButtonComponent::m_bIsHoldAction
bool m_bIsHoldAction
Definition
SCR_InputButtonComponent.c:123
SCR_InputButtonComponent::m_ButtonDisplay
ref SCR_InputButtonDisplay m_ButtonDisplay
Definition
SCR_InputButtonComponent.c:109
SCR_InputButtonComponent::m_fMaxHoldtime
float m_fMaxHoldtime
Definition
SCR_InputButtonComponent.c:143
scripts
Game
Interactions
Display
SCR_InteractButtonComponent.c
Generated by
1.17.0