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_VehicleChatChannel.c
Go to the documentation of this file.
1
class
SCR_VehicleChatChannel
:
VehicleChatChannel
2
{
3
override
bool
IsAvailable(BaseChatComponent sender)
4
{
5
PlayerController playerController = PlayerController.Cast(sender.GetOwner());
6
if
(!playerController)
7
return
super.
IsAvailable
(sender);
8
9
ChimeraCharacter
character =
ChimeraCharacter
.Cast(playerController.GetControlledEntity());
10
11
return
character && character.IsInVehicle();
12
}
13
};
BaseChatChannel::IsAvailable
event bool IsAvailable(BaseChatComponent sender)
Returns true if the message can be sent to this channel.
Definition
BaseChatChannel.c:27
ChimeraCharacter
Definition
ChimeraCharacter.c:13
SCR_VehicleChatChannel
Definition
SCR_VehicleChatChannel.c:2
VehicleChatChannel
Definition
VehicleChatChannel.c:13
scripts
Game
Chat
SCR_VehicleChatChannel.c
Generated by
1.17.0