Skip to content

H7SimTurnBaseCommand

Class in MMH7Game · MMH7Game.H7SimTurnBaseCommand

Object › H7SimTurnBaseCommand

Subclasses: H7SimTurnInstantCommand, H7SimTurnNormalCommand

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

Properties

NameTypeNotes
mSenderH7CombatPlayerControllerprotected
mSimTurnCommandManagerH7SimTurnCommandManagerprotected

Functions

NameDeclaration
CanBeExecutedfunction bool CanBeExecuted()
CancelCommandIfIlegalfunction bool CancelCommandIfIlegal()
ExecuteCommandfunction ExecuteCommand()
GetDebugInfofunction string GetDebugInfo()
GetSenderfunction H7CombatPlayerController GetSender()
GetSourceIdfunction int GetSourceId()
GetTargetIdfunction int GetTargetId()
HasThePathATeleporterprotected function bool HasThePathATeleporter(array<H7BaseCell> Path)
IsAnyoneMovingAroundprotected function bool IsAnyoneMovingAround(Vector initialPos, Vector targetPos, optional bool ignoreDistanceDetection)
IsDoNormalCombatfunction bool IsDoNormalCombat()
IsRetreatfunction bool IsRetreat(int targetID)
SetSenderfunction SetSender(H7CombatPlayerController newSender)
SetSimTurnCommandManagerfunction SetSimTurnCommandManager(H7SimTurnCommandManager newManager)
UpdateTradeFinishedfunction UpdateTradeFinished(H7AdventureHero Target)

Inherited

FromMembers
Object13 properties, 308 functions