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
//------------------------------------------------------------------------------------------------
2
class
SCR_PlacementCallback
:
SCR_InvCallBack
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
{
16
SCR_ItemPlacementComponent
placementComponent =
SCR_ItemPlacementComponent
.Cast(
GetGame
().
GetPlayerController
().FindComponent(
SCR_ItemPlacementComponent
));
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
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
Inventory
Callbacks
SCR_MinePlacementCallback.c
Generated by
1.8.17