BFME 2 - ROTWK Code Refence  1.0
AutoFindHealingUpdate Class Reference

Public Attributes

UnsignedInteger ScanRate
 
FloatingPoint ScanRange
 
FloatingPoint NeverHeal
 
FloatingPoint AlwaysHeal
 

Detailed Description

This update will have the unit go to a healing station if injured. Behavior = AutoFindHealingUpdate ModuleTag_TheAutoFindHealingUpdate

; L01F43148:   
ScanRate = 1000; SUB_L00E6CB10:Unsigned Integer Value //Time interval at which to scan (msec)
ScanRange = 300; SUB_L006D46C0:Float Point Value //Range to scan at
NeverHeal = 0.85; SUB_L006D46C0:Float Point Value //Don't heal if we are > 85% healthy. //1.0 = always find healing 0.0 = don't look for healing
AlwaysHeal = 0.25; SUB_L006D46C0:Float Point Value //If we get below 25%, find healing right away. //1.0 = always find healing 0.0 = don't look for healing

End

Member Data Documentation

◆ ScanRate

UnsignedInteger ScanRate

Time interval at which to scan (msec)

◆ ScanRange

FloatingPoint ScanRange

Range to scan at

◆ NeverHeal

FloatingPoint NeverHeal

Don't heal if we have more than this % hp. //1.0 = always find healing 0.0 = don't look for healing

◆ AlwaysHeal

FloatingPoint AlwaysHeal

If we get below % hp, find healing right away. //1.0 = always find healing 0.0 = don't look for healing