Skip to content

H7AiSensorDistanceToTarget

Class in MMH7Game · MMH7Game.H7AiSensorDistanceToTarget

Object › H7AiSensorBase › H7AiSensorDistanceToTarget

Using it from Lua
h7.find_all("H7AiSensorDistanceToTarget")            -- live instances
h7.find_class("MMH7Game.H7AiSensorDistanceToTarget")   -- the class
h7.hook("MMH7Game.H7AiSensorDistanceToTarget.CheckCache", fn)

Properties

NameTypeNotes
mDistanceRatiosarray
mEndCellsarray<H7AdventureMapCell>
mStartCellH7AdventureMapCell

Functions

NameDeclaration
CheckCachefunction bool CheckCache(H7AdventureMapCell sc, H7AdventureMapCell ec, out float Ratio)
GetValue2function float GetValue2(H7AiSensorParam param0, H7AiSensorParam param1)
InsertCachefunction InsertCache(H7AdventureMapCell ec, float Ratio)

Inherited

FromMembers
H7AiSensorBaseFunctions: GetValue0, GetValue1, GetValue2
Object13 properties, 308 functions