Skip to content

H7InstantCommandSplitCreatureStack

Class in MMH7Game · MMH7Game.H7InstantCommandSplitCreatureStack

Object › H7InstantCommandBase › H7InstantCommandSplitCreatureStack

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

Properties

NameTypeNotes
mForceTransferToTargetArmyboolprivate
mPlayerRequesterH7Playerprivate
mRequesterArmyH7EditorArmyprivate
mSourceArmyH7EditorArmyprivate
mSourceIndexintprivate
mSplitCountintprivate
mTargetArmyH7EditorArmyprivate
mTargetIndexintprivate

Functions

NameDeclaration
CreateMPCommandfunction MPInstantCommand CreateMPCommand()
Executefunction Execute()
GetPlayerfunction H7Player GetPlayer()
Initfunction Init(H7EditorArmy sourceArmy, H7EditorArmy targetArmy, int SourceIndex, int splitCount, int TargetIndex, H7EditorArmy requesterArmy, optional bool forceTransferToTargetArmy = false)
InitFromMPDatafunction InitFromMPData(MPInstantCommand Command)
SplitCreatureStackCompleteprivate final function SplitCreatureStackComplete(bool Success, bool transfer)
WaitForInterceptingCommandsfunction bool WaitForInterceptingCommands()

Inherited

FromMembers
H7InstantCommandBaseFunctions: CreateMPCommand, Execute, GetPlayer, InitFromMPData, WaitForInterceptingCommands
Object13 properties, 308 functions