DayZ 1.24
Loading...
Searching...
No Matches
ActionGiveSalineTarget Class Reference
Inheritance diagram for ActionGiveSalineTarget:
[legend]
Collaboration diagram for ActionGiveSalineTarget:
[legend]

Private Member Functions

void ActionGiveSalineTarget ()
 
override void CreateConditionComponents ()
 
override void OnFinishProgressServer (ActionData action_data)
 
- Private Member Functions inherited from ActionContinuousBase
void OnStartAnimationLoopServer (ActionData action_data)
 
void OnStartAnimationLoopClient (ActionData action_data)
 
void OnEndAnimationLoopServer (ActionData action_data)
 
void OnEndAnimationLoopClient (ActionData action_data)
 
void OnFinishProgressServer (ActionData action_data)
 
void OnFinishProgressClient (ActionData action_data)
 

Detailed Description

Definition at line 9 of file ActionGiveSalineTarget.c.

Constructor & Destructor Documentation

◆ ActionGiveSalineTarget()

void ActionGiveSalineTarget::ActionGiveSalineTarget ( )
inlineprivate

Member Function Documentation

◆ CreateConditionComponents()

override void ActionGiveSalineTarget::CreateConditionComponents ( )
inlineprivate

Definition at line 22 of file ActionGiveSalineTarget.c.

23 {
24
27 }
ref CCIBase m_ConditionItem
Definition ActionBase.c:55
ref CCTBase m_ConditionTarget
Definition ActionBase.c:56
Definition CCTMan.c:2
const float DEFAULT

References UAMaxDistances::DEFAULT, m_ConditionItem, and m_ConditionTarget.

◆ OnFinishProgressServer()

override void ActionGiveSalineTarget::OnFinishProgressServer ( ActionData action_data)
inlineprivate

Definition at line 29 of file ActionGiveSalineTarget.c.

30 {
31 PlayerBase ntarget = PlayerBase.Cast(action_data.m_Target.GetObject());
32 Param1<float> nacdata = Param1<float>.Cast(action_data.m_ActionComponent.GetACData());
33 float delta = nacdata.param1;
34
35 ntarget.GetModifiersManager().ActivateModifier(eModifiers.MDF_SALINE);
36
37 action_data.m_Player.GetSoftSkillsManager().AddSpecialty(m_SpecialtyWeight);
38
39 action_data.m_MainItem.Delete();
40 }
eModifiers
Definition eModifiers.c:2

References m_SpecialtyWeight.


The documentation for this class was generated from the following file: