Skip to content

H7InstantCommandBuildShip

Class in MMH7Game · MMH7Game.H7InstantCommandBuildShip

Object › H7InstantCommandBase › H7InstantCommandBuildShip

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

Properties

NameTypeNotes
mHeroH7EditorHeroprivate
mShipyardH7Shipyardprivate

Functions

NameDeclaration
CreateMPCommandfunction MPInstantCommand CreateMPCommand()
Executefunction Execute()
GetPlayerfunction H7Player GetPlayer()
Initfunction Init(H7EditorHero Hero, H7Shipyard shipyard)
InitFromMPDatafunction InitFromMPData(MPInstantCommand Command)

Inherited

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