DayZ
1.24
Loading...
Searching...
No Matches
ActionForceDrinkDisinfectant.c
Go to the documentation of this file.
1
class
ActionForceDrinkDisinfectant
:
ActionForceDrink
2
{
3
override
void
ApplyModifiers
(
ActionData
action_data
)
4
{
5
PlayerBase
ntarget
=
PlayerBase
.Cast(
action_data
.m_Target.GetObject());
6
ntarget
.m_ModifiersManager.ActivateModifier(
eModifiers
.MDF_POISONING);
7
}
8
};
ActionData
Definition
ActionBase.c:21
ActionForceDrinkDisinfectant
Definition
ActionForceDrinkDisinfectant.c:2
ActionForceDrinkDisinfectant::ApplyModifiers
override void ApplyModifiers(ActionData action_data)
Definition
ActionForceDrinkDisinfectant.c:3
ActionForceDrink
Definition
ActionForceDrink.c:10
Param3
Definition
EntityAI.c:95
PlayerBase
Definition
PlayerBaseClient.c:2
eModifiers
eModifiers
Definition
eModifiers.c:2
scripts
4_World
Classes
UserActionsComponent
Actions
Continuous
Medical
ActionForceDrinkDisinfectant.c
Generated by
1.10.0