Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
actionfoldmap.c
Go to the documentation of this file.
1
2
//dummy action. Unfold 'looped action' canceled from elswhere
3
class
ActionFoldMap
:
ActionBase
4
{
5
void
ActionFoldMap
()
6
{
7
m_Text
=
"#fold_map"
;
8
}
9
10
override
bool
IsInstant
()
11
{
12
return
true
;
13
}
14
15
override
void
CreateConditionComponents
()
16
{
17
m_ConditionItem
=
new
CCINonRuined
;
18
m_ConditionTarget
=
new
CCTNone
;
19
}
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
40
override
bool
CanBePerformedWhileChangingStance
()
41
{
42
return
false
;
43
}
44
};
AC_SINGLE_USE
const int AC_SINGLE_USE
Definition
_constants.c:2
ActionTarget
class ActionTargets ActionTarget
ActionBase::m_Text
string m_Text
Definition
actionbase.c:64
ActionBase::m_ConditionItem
ref CCIBase m_ConditionItem
Definition
actionbase.c:70
ActionBase::m_ConditionTarget
ref CCTBase m_ConditionTarget
Definition
actionbase.c:71
ActionBase::ActionBase
void ActionBase()
Definition
actionbase.c:88
ActionFoldMap::ActionFoldMap
void ActionFoldMap()
Definition
actionfoldmap.c:5
ActionFoldMap::IsInstant
override bool IsInstant()
Definition
actionfoldmap.c:10
ActionFoldMap::GetActionCategory
override int GetActionCategory()
Definition
actionfoldmap.c:35
ActionFoldMap::CreateConditionComponents
override void CreateConditionComponents()
Definition
actionfoldmap.c:15
ActionFoldMap::ActionCondition
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
Definition
actionfoldmap.c:26
ActionFoldMap::HasTarget
override bool HasTarget()
Definition
actionfoldmap.c:21
ActionFoldMap::CanBePerformedWhileChangingStance
override bool CanBePerformedWhileChangingStance()
Definition
actionfoldmap.c:40
CCINonRuined
Definition
ccinonruined.c:2
CCTNone
Definition
cctnone.c:2
ItemBase
Definition
inventoryitem.c:742
PlayerBase
Definition
playerbaseclient.c:2
Games
Dayz
scripts
4_world
classes
useractionscomponent
actions
singleuse
actionfoldmap.c
Generated by
1.17.0