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_VotingAutoKick.c
Go to the documentation of this file.
1
//~ A kick voting that can only be initiated by system never started manualing by player
2
[
BaseContainerProps
(configRoot:
true
),
SCR_BaseContainerCustomTitleEnum
(
EVotingType
,
"m_Type"
)]
3
class
SCR_VotingAutoKick
:
SCR_VotingKick
4
{
5
//------------------------------------------------------------------------------------------------
6
override
bool
IsAvailable(
int
value,
bool
isOngoing)
7
{
8
//~ Voting is only available when ongoing as only the system can start the voting process. Not players manually
9
if
(!isOngoing)
10
return
false
;
11
12
return
super.
IsAvailable
(value, isOngoing);
13
}
14
}
EVotingType
EVotingType
Definition
EVotingType.c:2
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
SCR_BaseContainerCustomTitleEnum
class SCR_CampaignHintStorage SCR_BaseContainerCustomTitleEnum(EHint, "m_eHintId")
Definition
SCR_CampaignHintStorage.c:22
SCR_VotingAutoKick
Definition
SCR_VotingAutoKick.c:4
SCR_VotingKick
Definition
SCR_VotingKick.c:3
SCR_VotingKick::IsAvailable
override bool IsAvailable(int value, bool isOngoing)
Definition
SCR_VotingKick.c:45
scripts
Game
Components
Voting
SCR_VotingAutoKick.c
Generated by
1.17.0