Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_MinePlacementCallback.c
Go to the documentation of this file.
1 //------------------------------------------------------------------------------------------------
3 {
4  vector m_vMat[4];
5 
6  //------------------------------------------------------------------------------------------------
7  void SetMatrix(vector mat[4])
8  {
9  m_vMat = mat;
10  }
11 
12  //------------------------------------------------------------------------------------------------
14  protected override void OnComplete()
15  {
17  if (!placementComponent)
18  return;
19 
20  RplComponent rplComponent = RplComponent.Cast(m_pItem.FindComponent(RplComponent));
21  if (!rplComponent)
22  return;
23 
24  //placementComponent.OnLocalPlacementCompleted(m_vMat, rplComponent.Id());
25 
26  super.OnComplete();
27  }
28 }
SCR_PlacementCallback
Definition: SCR_MinePlacementCallback.c:2
SCR_InvCallBack
Definition: SCR_InventoryMenuUI.c:56
GetGame
ArmaReforgerScripted GetGame()
Definition: game.c:1424
GetPlayerController
proto external PlayerController GetPlayerController()
Definition: SCR_PlayerDeployMenuHandlerComponent.c:307
SCR_ItemPlacementComponent
void SCR_ItemPlacementComponent(IEntityComponentSource src, IEntity ent, IEntity parent)
Definition: SCR_ItemPlacementComponent.c:640