Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
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
};
ActionForceDrinkDisinfectant
Definition:
actionforcedrinkdisinfectant.c:1
PlayerBase
Definition:
playerbaseclient.c:1
ActionData
Definition:
actionbase.c:20
eModifiers
eModifiers
Definition:
emodifiers.c:1
ActionForceDrink
Definition:
actionforcedrink.c:9
DAYZ
scripts_v1.24.157551
scripts
world
classes
useractionscomponent
actions
continuous
medical
actionforcedrinkdisinfectant.c
Generated by
1.8.17