Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ScenarioFrameworkMedicalActionSetBlood.c
Go to the documentation of this file.
3{
4 [Attribute(defvalue: "6000", uiwidget: UIWidgets.Slider, desc: "Character blood hit zone value", params: "0 6000 0.001")]
5 float m_fBloodValue;
6
7 //------------------------------------------------------------------------------------------------
8 override void OnActivate()
9 {
10 super.OnActivate();
11
12 HitZone bloodHitZone = m_DamageManager.GetBloodHitZone();
13 if (!bloodHitZone)
14 {
15 Print(string.Format("ScenarioFramework Action: Blood Hit Zone not found for Action %1.", this), LogLevel.ERROR);
16 return;
17 }
18
19 bloodHitZone.SetHealth(m_fBloodValue);
20 }
21}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
override void OnActivate()
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
proto void Print(void var, LogLevel level=LogLevel.NORMAL)
Prints content of variable to console/log.
LogLevel
Enum with severity of the logging message.
Definition LogLevel.c:14
SCR_FieldOfViewSettings Attribute