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
Functions
| Name | Declaration |
AdvanceNode | function AdvanceNode() |
DecTurns | function bool DecTurns() |
GetBeginType | function H7StructsAndEnums.EPathControlType GetBeginType() |
GetCurrentWaypoint | function AiWaypoint GetCurrentWaypoint() |
GetEndType | function H7StructsAndEnums.EPathControlType GetEndType() |
GetNextWaypoint | function AiWaypoint GetNextWaypoint() |
GetSensorRange | function int GetSensorRange() |
GetTurns | function int GetTurns() |
IsTransit | function bool IsTransit() |
SetTransit | function SetTransit(bool T) |
SetTurns | function SetTurns(int val) |
StopAttackAlways | function 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
| From | Members |
| Actor | 156 properties, 262 functions |
| Object | 13 properties, 308 functions |