Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
actionfoldmap.c
Go to the documentation of this file.
1
2//dummy action. Unfold 'looped action' canceled from elswhere
4{
6 {
7 m_Text = "#fold_map";
8 }
9
10 override bool IsInstant()
11 {
12 return true;
13 }
14
20
21 override bool HasTarget()
22 {
23 return false;
24 }
25
26 override bool ActionCondition( PlayerBase player, ActionTarget target, ItemBase item )
27 {
28 if (player.m_hac && player.IsMapOpen())
29 {
30 return true;
31 }
32 return false;
33 }
34
35 override int GetActionCategory()
36 {
37 return AC_SINGLE_USE;
38 }
39
41 {
42 return false;
43 }
44};
const int AC_SINGLE_USE
Definition _constants.c:2
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
void ActionBase()
Definition actionbase.c:88
void ActionFoldMap()
override bool IsInstant()
override int GetActionCategory()
override void CreateConditionComponents()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
override bool HasTarget()
override bool CanBePerformedWhileChangingStance()