Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_WeaponComponent.c
Go to the documentation of this file.
4
5void ScriptInvokerWeaponStateMethod(WeaponComponent weapon, bool active);
7typedef ScriptInvokerBase<ScriptInvokerWeaponStateMethod> ScriptInvokerWeaponState;
8
10{
12
13 //------------------------------------------------------------------------------------------------
21
22 //------------------------------------------------------------------------------------------------
23 override event void OnWeaponActive()
24 {
25 super.OnWeaponActive();
26
28 m_OnWeaponStateChanged.Invoke(this, true);
29 }
30
31 //------------------------------------------------------------------------------------------------
32 override event void OnWeaponInactive()
33 {
34 super.OnWeaponInactive();
35
37 m_OnWeaponStateChanged.Invoke(this, false);
38 }
39}
ScriptInvokerBase< ScriptInvokerWeaponStateMethod > ScriptInvokerWeaponState
func ScriptInvokerWeaponStateMethod
ref ScriptInvokerWeaponState m_OnWeaponStateChanged
override event void OnWeaponInactive()
ScriptInvokerWeaponState GetOnWeaponStateChanged()
override event void OnWeaponActive()