DayZ Scripts
v1.21.156300 ยท Jun 20, 2023
Loading...
Searching...
No Matches
CCTSelf.c
Go to the documentation of this file.
1
class
CCTSelf
:
CCTBase
2
{
3
override
bool
Can
(
PlayerBase
player,
ActionTarget
target )
4
{
5
return
( player && !player.IsDamageDestroyed());
6
}
7
8
override
bool
CanContinue
(
PlayerBase
player,
ActionTarget
target )
9
{
10
return
Can
(player, target);
11
}
12
};
ActionTarget
class ActionTargets ActionTarget
CCTBase
Definition
CCTBase.c:2
CCTSelf
Definition
CCTSelf.c:2
CCTSelf::CanContinue
override bool CanContinue(PlayerBase player, ActionTarget target)
Definition
CCTSelf.c:8
CCTSelf::Can
override bool Can(PlayerBase player, ActionTarget target)
Definition
CCTSelf.c:3
PlayerBase
Definition
PlayerBaseClient.c:2