GameAICmd_Hover_MoveToGoal_Mesh
Class in GameFramework · GameFramework.GameAICmd_Hover_MoveToGoal_Mesh
Object › AICommandBase › GameAICommand › GameAICmd_Hover_MoveToGoal_Mesh
Using it from Lua
h7.find_all("GameAICmd_Hover_MoveToGoal_Mesh") -- live instances
h7.find_class("GameFramework.GameAICmd_Hover_MoveToGoal_Mesh") -- the class
h7.hook("GameFramework.GameAICmd_Hover_MoveToGoal_Mesh.DrawDebug", fn)
Properties
| Name | Type | Notes |
bFallbackMoveToMesh | bool | |
bFinalApproach | bool | |
bWasFiring | bool | transient |
CurrentHoverHeight | float | transient |
DesiredHoverHeight | float | |
FallbackDest | Vector | transient |
Find | Actor | transient |
GoalDistance | float | transient |
InitialFinalDestination | vector | transient |
IntermediatePoint | vector | transient |
LastMovePoint | vector | transient |
LastMoveTargetPathLocation | BasedPosition | |
MaxMovePointFails | int | |
MoveToActor | Actor | transient |
NumMovePointFails | int | transient |
Radius | float | |
SubGoalReachDist | float | |
Functions
| Name | Declaration |
DrawDebug | event DrawDebug(HUD H, Name Category) |
HandlePathObstruction | function bool HandlePathObstruction(Actor BlockedBy) |
HasReachedGoal | function bool HasReachedGoal() |
HoverBackToMesh | static function bool HoverBackToMesh(GameAIController AI) |
HoverToGoal | static function bool HoverToGoal(GameAIController AI, Actor InGoal, float InGoalDistance, float InHoverHeight) |
HoverToPoint | static function bool HoverToPoint(GameAIController AI, vector InPoint, float InGoalDistance, float InHoverHeight) |
IsEnemyBasedOnInterpActor | function bool IsEnemyBasedOnInterpActor(Pawn InEnemy) |
Popped | function Popped() |
Pushed | function Pushed() |
ReEvaluatePath | function ReEvaluatePath() |
ShouldUpdateBreadCrumbs | function bool ShouldUpdateBreadCrumbs() |
Tick | function Tick(float DeltaTime) |
States
State code replaces the class's functions while the object is in that state. Hook a state's version as GameFramework.GameAICmd_Hover_MoveToGoal_Mesh.<State>.<Function>.
| State | Functions |
| DelayFailure | HandlePathObstruction |
| Fallback_Breadcrumbs | HandlePathObstruction, ShouldUpdateBreadCrumbs |
| Fallback_FindNearbyMeshPoint | FindAPointWhereICanHoverTo, ShouldUpdateBreadCrumbs |
| MoveDown | GetMoveDest |
| Moving | GetMoveDestinationOffset |
Default values
SubGoalReachDist=128.0
MaxMovePointFails=5
Inherited