18 m_Text =
"#raise_megaphone";
23 m_ConditionTarget =
new CCTNone;
44 if ( item.IsTransmitter() )
48 if ( megaphone && megaphone.GetCompEM().IsWorking() )
59 super.OnStartServer(action_data);
62 megaphone.SetCanSpeak(
true );
67 super.OnEndServer(action_data);
70 megaphone.SetCanSpeak(
false );
76 megaphone.SetCanSpeak(
true );
82 megaphone.SetCanSpeak(
false );
ActionRaiseMegaphoneCB ActionContinuousBaseCB ActionRaiseMegaphone()
class ActionTargets ActionTarget
void OnEndClient(ActionData action_data)
bool HasProgress()
For UI: hiding of progress bar.
void OnStartClient(ActionData action_data)
void CreateConditionComponents()
override void CreateActionComponent()
const float REPEAT_AFTER_SEC
override void OnStartServer(ActionData action_data)
override void OnEndServer(ActionData action_data)
override bool HasProneException()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
DayZPlayerConstants
defined in C++