DayZ 1.24
Loading...
Searching...
No Matches
ActionMeasureTemperatureSelf.c
Go to the documentation of this file.
8
10{
12 {
14 m_CommandUID = DayZPlayerConstants.CMD_ACTIONMOD_TAKETEMPSELF;
15 m_CommandUIDProne = DayZPlayerConstants.CMD_ACTIONFB_TAKETEMPSELF;
17 m_Text = "#measure_temperature";
18 }
19
25
26 override bool HasProneException()
27 {
28 return true;
29 }
30
31 override bool HasTarget()
32 {
33 return false;
34 }
35
37 {
39
40 if (thermometer)
41 {
42 float value = thermometer.GetTemperatureValue(action_data.m_Player);
43 action_data.m_Player.m_Hud.SetTemperature(value.ToString() + "#degrees_celsius");
44 }
45
46 }
47};
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
ActionData m_ActionData
ref CABase m_ActionComponent
Definition ActionBase.c:30
override void OnFinishProgressClient(ActionData action_data)
const float MEASURE_TEMP
DayZPlayerConstants
defined in C++
Definition dayzplayer.c:597