Skip to content

H7Flag

Class in MMH7Game · MMH7Game.H7Flag · native

Object › Actor › H7Flag

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

Constants

NameValue
GROW_SIZE2.5f
GROW_SIZE_PERM1.7f
SPEED_MOD_PERM0.3f

Properties

NameTypeNotes
mAdventureControllerH7AdventureControllerprotected
mBuffH7BaseBuffprotected
mCameraH7Cameraprotected
mColliderCylinderComponentprotected
mColliderHeightfloatprotected
mColliderRadiusfloatprotected
mCurrentScalefloatprotected
mCurrentZoomfloatprotected
mDefaultScalefloatprotected
mFlagEmitterParticleSystemComponentprotected
mFlagMatMaterialInstanceConstantprotected
mFlagParticleSystemParticleSystemprotected
mForceHideboolprotected
mGUIPropsH7GUIGeneralPropertiesprotected
mHiddenByOptionboolprotected
mHUDH7Hudprotected
mIsMainFlagboolprotected
mLocalPlayerH7Playerprotected
mOriginalRelativeLocationVectorprotected
mOwningArmyH7AdventureArmyprotected
mOwningPlayerH7Playerprotected
mOwningSiteH7VisitableSiteprotected
mPlayAnimboolprotected
mPlayerControllerH7PlayerControllerprotected
mRatiofloatprotected
mScalefloatprotected
mTimerfloatprotected
mZoomDirH7StructsAndEnums.EZoomDirectionprotected

Functions

NameDeclaration
AdaptFlagSizeAndHeightprotected native function AdaptFlagSizeAndHeight()
ForceFlagHidefunction ForceFlagHide(bool Hidden)
GetBufffunction H7BaseBuff GetBuff()
GetFlagThreatColourevent Color GetFlagThreatColour()
GetMainFlagfunction bool GetMainFlag()
GoToSimTurnsCombatfunction GoToSimTurnsCombat()
InitAsBuffIconfunction InitAsBuffIcon(H7BaseBuff buff)
InitAsNPCFlagfunction InitAsNPCFlag()
InitAsQuestTargetFlagfunction InitAsQuestTargetFlag()
InitLocationfunction InitLocation(Vector NewLocation)
PlayAnimprotected event PlayAnim(float DeltaTime, float growSize)
PostBeginPlayfunction PostBeginPlay()
ReturnFromSimTurnsCombatfunction ReturnFromSimTurnsCombat()
setColorfunction setColor(Color playerColor)
SetFactionfunction SetFaction(H7Faction Faction)
SetMainFlagfunction SetMainFlag(bool isMainFlag)
SetOwningPlayerfunction SetOwningPlayer(H7Player NewPlayer)
SetScalefunction SetScale(float Scale)
SetSymbolfunction SetSymbol(Texture2D Icon)
ShowAnimfunction ShowAnim(optional bool permanent = false)
StopAnimfunction StopAnim()

Inherited

FromMembers
Actor156 properties, 262 functions
Object13 properties, 308 functions