Skip to content

H7UnitFX

Class in MMH7Game · MMH7Game.H7UnitFX · native

Object › Actor › H7UnitFX

Subclasses: H7CreatureStackFX, H7HeroFX, H7WarUnitFX

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

Properties

NameTypeNotes
mIsActiveboolprotected
mPlayerControllerH7PlayerControllerprotected
mPropertiesH7UnitSlotFXPropertiesprotected
mSelectionFXParticleSystemComponentprotected
mUnitH7Unitprotected

Functions

NameDeclaration
CreateFXfunction CreateFX()
Destroyedsimulated event Destroyed()
DestroyFXfunction DestroyFX()
GetPropertiesfunction H7UnitSlotFXProperties GetProperties()
HideFXevent HideFX()
InitFXfunction InitFX(H7Unit Unit)
PostBeginPlayfunction PostBeginPlay()
ShowFXevent ShowFX()
UpdateTargetColorfunction UpdateTargetColor(Color targetColor)

Default values

mProperties=H7UnitSlotFXProperties'H7FXUnitSlot.H7UnitSlotFXProperties'
CollisionType=ECollisionType.COLLIDE_CustomDefault

Inherited

FromMembers
Actor156 properties, 262 functions
Object13 properties, 308 functions