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
| Name | Value |
GROW_SIZE | 2.5f |
GROW_SIZE_PERM | 1.7f |
SPEED_MOD_PERM | 0.3f |
Properties
Functions
| Name | Declaration |
AdaptFlagSizeAndHeight | protected native function AdaptFlagSizeAndHeight() |
ForceFlagHide | function ForceFlagHide(bool Hidden) |
GetBuff | function H7BaseBuff GetBuff() |
GetFlagThreatColour | event Color GetFlagThreatColour() |
GetMainFlag | function bool GetMainFlag() |
GoToSimTurnsCombat | function GoToSimTurnsCombat() |
InitAsBuffIcon | function InitAsBuffIcon(H7BaseBuff buff) |
InitAsNPCFlag | function InitAsNPCFlag() |
InitAsQuestTargetFlag | function InitAsQuestTargetFlag() |
InitLocation | function InitLocation(Vector NewLocation) |
PlayAnim | protected event PlayAnim(float DeltaTime, float growSize) |
PostBeginPlay | function PostBeginPlay() |
ReturnFromSimTurnsCombat | function ReturnFromSimTurnsCombat() |
setColor | function setColor(Color playerColor) |
SetFaction | function SetFaction(H7Faction Faction) |
SetMainFlag | function SetMainFlag(bool isMainFlag) |
SetOwningPlayer | function SetOwningPlayer(H7Player NewPlayer) |
SetScale | function SetScale(float Scale) |
SetSymbol | function SetSymbol(Texture2D Icon) |
ShowAnim | function ShowAnim(optional bool permanent = false) |
StopAnim | function StopAnim() |
Inherited
| From | Members |
| Actor | 156 properties, 262 functions |
| Object | 13 properties, 308 functions |