H7MapInfo¶
Class in MMH7Game · MMH7Game.H7MapInfo · native, perobjectconfig, editinlinenew
Object › MapInfo › H7MapInfoBase › H7MapInfo
Using it from Lua
Properties¶
| Name | Type | Notes |
|---|---|---|
mAvailableVictoryConditions | array | editconst, protected |
mCustomCreatures | array<H7Creature> | |
mCustomFactions | array<H7Faction> | |
mCustomHallOfHeroes | array<H7EditorHero> | |
mCustomHeroes | array<H7EditorHero> | |
mEndMapMatinee | SeqAct_Interp | protected |
mForbiddenHeroItems | array<H7HeroItem> | |
mForbiddenSpells | array<H7HeroAbility> | |
mForbiddenWeeks | array | |
mIncludeStandardWinConditions | bool | editconst, private |
mInitedWeeklyEvents | bool | protected |
mLoadingImageOption | int | protected |
mLoadingImagePath | string | protected |
mLoadingText | string | protected |
mLoadingTitle | string | protected |
mLoadingWaitingForKey | bool | protected |
mLockVictoryConditions | bool | protected |
mLoseConditionHeroToLose | H7AdventureArmy | editconst, private |
mLoseConditionTownToLose | H7Town | editconst, private |
mLoseConditionType | H7StructsAndEnumsNative.EGameLoseConditionType | editconst, protected |
mLoseConditionWeekTimeLimit | int | editconst, private |
mMapData | H7MapData | protected |
mMapSize | H7StructsAndEnumsNative.EH7MapSize | editconst, protected |
mMapType | H7StructsAndEnumsNative.EMapType | protected |
mMapVersion | H7StructsAndEnumsNative.EMapVersion | protected |
mMineDestructionAllowed | bool | protected |
mNextMap | string | protected |
mPlayerAmount | int | editconst, protected |
mPlayerProperties | MapInfoPlayerProperty[EPlayerNumber] | |
mPreviouslyOn | array | const, localized, protected |
mRandomStartPositionAvailable | bool | editconst, protected |
mResourceSet | H7ResourceSet | protected |
mStartDay | int | protected |
mStartMonth | int | protected |
mStartWeek | int | protected |
mStartYear | int | protected |
mStoredObjects | array<Object> | private |
mTearOfAshaSpellTemplate | H7HeroAbility | protectedwrite |
mTearOfAshaTemplate | H7TearOfAsha | protectedwrite |
mUndergroundWaterHeight | int | protected |
mWaterHeight | int | protected |
mWeeklyEvents | array<H7Week> | protected |
mWinConditionAccumulateCreatureAmount | int | editconst, private |
mWinConditionAccumulateCreatureTier | H7StructsAndEnumsNative.ECreatureTier | editconst, private |
mWinConditionArmyToDefeat | string | editconst, private |
mWinConditionArtifactToAcquire | string | editconst, private |
mWinConditionArtifactToTransfer | H7HeroItem | editconst, private |
mWinConditionArtifactTransferTown | H7Town | editconst, private |
mWinConditionHeroToDefeat | string | editconst, private |
mWinConditionResourcesToCollect | array | editconst, private |
mWinConditionTownToCapture | H7Town | editconst, private |
mWinConditionType | H7StructsAndEnumsNative.EGameWinConditionType | editconst, private |
Functions¶
| Name | Declaration |
|---|---|
GetAllowedSpellList | native function array<H7BaseAbility> GetAllowedSpellList() |
GetAvailableStartPositions | function array<H7StructsAndEnumsNative.EStartPosition> GetAvailableStartPositions() |
GetCustomCreatures | function array<H7Creature> GetCustomCreatures() |
GetCustomFactions | function array<H7Faction> GetCustomFactions() |
GetCustomHeroes | function array<H7EditorHero> GetCustomHeroes() |
GetEndMatinee | function SeqAct_Interp GetEndMatinee() |
GetForbiddenItemList | function array<H7HeroItem> GetForbiddenItemList() |
GetMapData | function H7MapData GetMapData() |
GetMapType | native function H7StructsAndEnumsNative.EMapType GetMapType() |
GetMaxHeroLevelForPlayer | native function int GetMaxHeroLevelForPlayer(H7StructsAndEnumsNative.EPlayerNumber PlayerNumber) |
GetNextMap | function string GetNextMap() |
GetPlayerAmount | function int GetPlayerAmount() |
GetPlayerProperties | function array<MapInfoPlayerProperty> GetPlayerProperties() |
GetResourceSet | function H7ResourceSet GetResourceSet() |
GetStartDay | function int GetStartDay() |
GetStartMonth | function int GetStartMonth() |
GetStartWeek | function int GetStartWeek() |
GetStartYear | function int GetStartYear() |
IsInForbiddenItemList | function bool IsInForbiddenItemList(H7HeroItem Item) |
IsMineDestructionAllowed | function bool IsMineDestructionAllowed() |
Default values¶
mNextMap="None"
mStartDay=1
mStartWeek=1
mStartMonth=1
mStartYear=1
mIncludeStandardWinConditions=true
mTearOfAshaTemplate=H7TearOfAsha'H7Items.A_TearOfAsha'
mTearOfAshaSpellTemplate=H7HeroAbility'h7spellsprimemagic.A_RevealTreasure'
mPlayerProperties[0]=(mSlot=EPlayerSlot.EPlayerSlot_AI,mName="Neutral Player",mUseCustomName=false,mGlobalName=none,mAIType=EHeroAiControlType.HCT_STANDARD,mAIDifficulty=EAIDifficulty.AI_DIFFICULTY_NORMAL,mInitActive=true,mTeam=ETeamNumber.TN_NO_TEAM,mStartHero=none,mMaxLevel=999,mColor=EPlayerCo...
mPlayerProperties[1]=(mSlot=EPlayerSlot.EPlayerSlot_UserDefine,mName="Player 1",mUseCustomName=false,mGlobalName=none,mAIType=EHeroAiControlType.HCT_STANDARD,mAIDifficulty=EAIDifficulty.AI_DIFFICULTY_NORMAL,mInitActive=true,mTeam=ETeamNumber.TN_TEAM_1,mStartHero=none,mMaxLevel=999,mColor=EPlayerC...
mPlayerProperties[2]=(mSlot=EPlayerSlot.EPlayerSlot_UserDefine,mName="Player 2",mUseCustomName=false,mGlobalName=none,mAIType=EHeroAiControlType.HCT_STANDARD,mAIDifficulty=EAIDifficulty.AI_DIFFICULTY_NORMAL,mInitActive=true,mTeam=ETeamNumber.TN_TEAM_2,mStartHero=none,mMaxLevel=999,mColor=EPlayerC...
mPlayerProperties[3]=(mSlot=EPlayerSlot.EPlayerSlot_Closed,mName="Player 3",mUseCustomName=false,mGlobalName=none,mAIType=EHeroAiControlType.HCT_STANDARD,mAIDifficulty=EAIDifficulty.AI_DIFFICULTY_NORMAL,mInitActive=true,mTeam=ETeamNumber.TN_TEAM_3,mStartHero=none,mMaxLevel=999,mColor=EPlayerColor...
mPlayerProperties[4]=(mSlot=EPlayerSlot.EPlayerSlot_Closed,mName="Player 4",mUseCustomName=false,mGlobalName=none,mAIType=EHeroAiControlType.HCT_STANDARD,mAIDifficulty=EAIDifficulty.AI_DIFFICULTY_NORMAL,mInitActive=true,mTeam=ETeamNumber.TN_TEAM_4,mStartHero=none,mMaxLevel=999,mColor=EPlayerColor...
mPlayerProperties[5]=(mSlot=EPlayerSlot.EPlayerSlot_Closed,mName="Player 5",mUseCustomName=false,mGlobalName=none,mAIType=EHeroAiControlType.HCT_STANDARD,mAIDifficulty=EAIDifficulty.AI_DIFFICULTY_NORMAL,mInitActive=true,mTeam=ETeamNumber.TN_TEAM_5,mStartHero=none,mMaxLevel=999,mColor=EPlayerColor...
mPlayerProperties[6]=(mSlot=EPlayerSlot.EPlayerSlot_Closed,mName="Player 6",mUseCustomName=false,mGlobalName=none,mAIType=EHeroAiControlType.HCT_STANDARD,mAIDifficulty=EAIDifficulty.AI_DIFFICULTY_NORMAL,mInitActive=true,mTeam=ETeamNumber.TN_TEAM_6,mStartHero=none,mMaxLevel=999,mColor=EPlayerColor...
mPlayerProperties[7]=(mSlot=EPlayerSlot.EPlayerSlot_Closed,mName="Player 7",mUseCustomName=false,mGlobalName=none,mAIType=EHeroAiControlType.HCT_STANDARD,mAIDifficulty=EAIDifficulty.AI_DIFFICULTY_NORMAL,mInitActive=true,mTeam=ETeamNumber.TN_TEAM_7,mStartHero=none,mMaxLevel=999,mColor=EPlayerColor...
mPlayerProperties[8]=(mSlot=EPlayerSlot.EPlayerSlot_Closed,mName="Player 8",mUseCustomName=false,mGlobalName=none,mAIType=EHeroAiControlType.HCT_STANDARD,mAIDifficulty=EAIDifficulty.AI_DIFFICULTY_NORMAL,mInitActive=true,mTeam=ETeamNumber.TN_TEAM_8,mStartHero=none,mMaxLevel=999,mColor=EPlayerColor...
mPlayerProperties[9]=(mSlot=EPlayerSlot.EPlayerSlot_Closed,mName="",mUseCustomName=false,mGlobalName=none,mAIType=EHeroAiControlType.HCT_STANDARD,mAIDifficulty=EAIDifficulty.AI_DIFFICULTY_NORMAL,mInitActive=true,mTeam=ETeamNumber.TN_NO_TEAM,mStartHero=none,mMaxLevel=999,mColor=EPlayerColor.PCOLOR...
mWinConditionAccumulateCreatureAmount=50
mLoseConditionWeekTimeLimit=20
Inherited¶
| From | Members |
|---|---|
| H7MapInfoBase | Properties: mAuthor, mDescription, mIsOfficial, mName, mThumbnailTexture Functions: GetAuthor, GetDescription, GetName, GetNameUnlocalized, IsOfficial |
| MapInfo | 0 properties, 0 functions |
| Object | 13 properties, 308 functions |