DayZ Scripts
v1.21.156300 ยท Jun 20, 2023
 
Loading...
Searching...
No Matches
ActionPlaceObject.c
Go to the documentation of this file.
1class ActionPlaceObjectCB : ActiondeployObjectCB
2{
3 override void CreateActionComponent()
4 {
5 m_ActionData.m_ActionComponent = new CAContinuousTime(UATimeSpent.DEFAULT_PLACE);
6 }
7};
8
10{
12 {
13 m_CallbackClass = ActionPlaceObjectCB;
14 m_Text = "#place_object";
15 }
16
17 override bool HasProgress()
18 {
19 return false;
20 }
21
23 {
24 action_data.m_Player.GetDayZPlayerInventory().RedirectToHandEvent(InventoryMode.LOCAL, source, destination);
25 }
26};
InventoryMode
Definition Inventory.c:20
protected string m_Text
Definition ActionBase.c:49
PlaceObjectActionReciveData ActionReciveData ActionDeployObject()
PlayerBase m_Player
Definition ActionBase.c:33
override void CreateActionComponent()
override void MoveEntityToFinalPositionSinglePlayer(ActionData action_data, InventoryLocation source, InventoryLocation destination)
override bool HasProgress()
InventoryLocation.
const float DEFAULT_PLACE