Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
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
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
Definition EVotingType.c:2
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
class SCR_CampaignHintStorage SCR_BaseContainerCustomTitleEnum(EHint, "m_eHintId")
override bool IsAvailable(int value, bool isOngoing)