Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_KickHintComponent.c
Go to the documentation of this file.
1[ComponentEditorProps(category: "GameScripted/KickHintComponent", description: "")]
5
6class SCR_KickHintComponent : ScriptComponent
7{
9
10 //------------------------------------------------------------------------------------------------
13 [RplRpc(RplChannel.Reliable, RplRcver.Owner)]
14 void RPC_DoIncreaseCriminalScore(float points)
15 {
16 m_OnCriminalScoreIncreased.Invoke(points);
17 }
18
19 //------------------------------------------------------------------------------------------------
22 void ShowUI(float points)
23 {
24 SCR_HintManagerComponent.ShowCustomHint("#AR-FriendlyFire_Text", "#AR-FriendlyFire_Title", 15);
25 }
26
27 //------------------------------------------------------------------------------------------------
35
36 //------------------------------------------------------------------------------------------------
37 override void OnPostInit(IEntity owner)
38 {
40 }
41}
42
enum EAIGroupCombatMode ComponentEditorProps(category:"GameScripted/AI", description:"Component for utility AI system for groups")
SCR_KickHintComponentClass m_OnCriminalScoreIncreased
SCR_ECrimeNotification
void RPC_DoIncreaseCriminalScore(float points)
void ShowUI(float points)
void NotifyClientCriminalScoreIncreased(SCR_ECrimeNotification crime, float points)
ScriptInvokerBase< ScriptInvokerFloatMethod > ScriptInvokerFloat
void Rpc(func method, void p0=NULL, void p1=NULL, void p2=NULL, void p3=NULL, void p4=NULL, void p5=NULL, void p6=NULL, void p7=NULL)
void RplRpc(RplChannel channel, RplRcver rcver, RplCondition condition=RplCondition.None, string customConditionName="")
Definition EnNetwork.c:95
RplRcver
Definition RplRcver.c:59
RplChannel
Communication channel. Reliable is guaranteed to be delivered. Unreliable not.
Definition RplChannel.c:14