Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
actionworldcraftcancel.c
Go to the documentation of this file.
2{
4 {
5 m_Text = "#cancel";
6 }
7
8 override void CreateConditionComponents()
9 {
12 }
13
14 override bool ActionCondition( PlayerBase player, ActionTarget target, ItemBase item )
15 {
16 return player.GetCraftingManager().IsInventoryCraft();
17 }
18
19 override void Start( ActionData action_data ) //Setup on start of action
20 {
21 super.Start( action_data );
22 }
23
24 override bool IsLocal()
25 {
26 return true;
27 }
28};
ActionBase ActionData
Definition actionbase.c:30
class ActionTargets ActionTarget
string m_Text
Definition actionbase.c:64
ref CCIBase m_ConditionItem
Definition actionbase.c:70
ref CCTBase m_ConditionTarget
Definition actionbase.c:71
override void Start(ActionData action_data)
override void CreateConditionComponents()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)