Skip to content

H7AiPatrolController

Class in MMH7Game · MMH7Game.H7AiPatrolController · placeable

Object › Actor › H7AiPatrolController

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

Properties

NameTypeNotes
mCtrlBeginTypeH7StructsAndEnums.EPathControlTypeprotected
mCtrlEndTypeH7StructsAndEnums.EPathControlTypeprotected
mCurrentNodeintprotected
mInTransitboolprotected
mNextNodeintprotected
mPatharray<AiWaypoint>protected
mSensorRangeintprotected
mStopAttackAlwaysboolprotected
mTurnCounterintprotected

Functions

NameDeclaration
AdvanceNodefunction AdvanceNode()
DecTurnsfunction bool DecTurns()
GetBeginTypefunction H7StructsAndEnums.EPathControlType GetBeginType()
GetCurrentWaypointfunction AiWaypoint GetCurrentWaypoint()
GetEndTypefunction H7StructsAndEnums.EPathControlType GetEndType()
GetNextWaypointfunction AiWaypoint GetNextWaypoint()
GetSensorRangefunction int GetSensorRange()
GetTurnsfunction int GetTurns()
IsTransitfunction bool IsTransit()
SetTransitfunction SetTransit(bool T)
SetTurnsfunction SetTurns(int val)
StopAttackAlwaysfunction bool StopAttackAlways()

Default values

mPath(0)=(cell=none,Cmd=EWaypointCommand.WPC_MOVE_NEXT,cmdTurns=0)
mPath(1)=(cell=none,Cmd=EWaypointCommand.WPC_MOVE_NEXT,cmdTurns=0)
mCtrlBeginType=EPathControlType.PCT_MIRROR
mCtrlEndType=EPathControlType.PCT_MIRROR
mSensorRange=12
mStopAttackAlways=true
mCurrentNode=-1
CollisionType=ECollisionType.COLLIDE_CustomDefault

Inherited

FromMembers
Actor156 properties, 262 functions
Object13 properties, 308 functions