DayZ 1.24
Loading...
Searching...
No Matches
ActionMeasureTemperatureTarget.c
Go to the documentation of this file.
8
10{
12 {
14 m_CommandUID = DayZPlayerConstants.CMD_ACTIONFB_SALINEBLOODBAGTARGET;
15 m_FullBody = true;
16 m_StanceMask = DayZPlayerConstants.STANCEMASK_ERECT | DayZPlayerConstants.STANCEMASK_CROUCH;
18 m_Text = "#measure_persons_temperature";
19 }
20
26
28 {
29 PlayerBase ntarget = PlayerBase.Cast(action_data.m_Target.GetObject());
31
32 if (thermometer)
33 ntarget.SetLastUAMessage("" + thermometer.GetTemperatureValue(ntarget).ToString() + "#degrees_celsius");
34 }
35};
bool m_FullBody
Definition ActionBase.c:52
string m_Text
Definition ActionBase.c:49
ref CCIBase m_ConditionItem
Definition ActionBase.c:55
float m_SpecialtyWeight
Definition ActionBase.c:68
ref CCTBase m_ConditionTarget
Definition ActionBase.c:56
int m_StanceMask
Definition ActionBase.c:53
ActionData m_ActionData
ref CABase m_ActionComponent
Definition ActionBase.c:30
override void OnFinishProgressClient(ActionData action_data)
Definition CCTMan.c:2
const float DEFAULT
const float MEASURE_TEMP
DayZPlayerConstants
defined in C++
Definition dayzplayer.c:597