Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_MineFlagPickUpAction.c
Go to the documentation of this file.
1 //------------------------------------------------------------------------------------------------
3 {
4  protected ref ScriptInvoker<SCR_MineFlagPickUpAction> m_OnItemPickUp;
5 
6  //------------------------------------------------------------------------------------------------
7  ScriptInvoker GetOnItemPickUp()
8  {
9  if (!m_OnItemPickUp)
10  m_OnItemPickUp = new ScriptInvoker();
11 
12  return m_OnItemPickUp;
13  }
14 
15  //------------------------------------------------------------------------------------------------
16  override void PerformAction(IEntity pOwnerEntity, IEntity pUserEntity)
17  {
18  super.PerformAction(pOwnerEntity, pUserEntity);
19 
20  if (m_OnItemPickUp)
21  m_OnItemPickUp.Invoke(this);
22  }
23 };
SCR_MineFlagPickUpAction
Definition: SCR_MineFlagPickUpAction.c:2
SCR_PickUpItemAction
modded version for to be used with the inventory 2.0
Definition: SCR_PickUpItemAction.c:3