Skip to content

H7InstantCommandLearnSpell

Class in MMH7Game · MMH7Game.H7InstantCommandLearnSpell

Object › H7InstantCommandBase › H7InstantCommandLearnSpell

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

Properties

NameTypeNotes
mHeroH7EditorHeroprivate
mSpellIdstringprivate

Functions

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

Inherited

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