===== Console Commands ===== ## Main Menu Console Commands The following commands should work on the DoW:II main menu when using the Console (Tab). *Documentation regarding command functionality is TBD.* addkeyword app_addfileloggercomment app_currentime app_errorcount app_fixedframerate app_getrenderframecount app_isgamealive app_missingcount app_resetrenderframecount app_startprofileseries app_stopprofileseries app_toggleLocStrings app_togglePerRecorderDebug assert atmosphere_toggle_fog_premultiplied_alpha bind bind_list cls - clears console cmdline_exist cmdline_string collectgarbage crash cursor_hide cursor_show dofile dr_clear dr_drawCircle dr_setautoclear dr_setdisplay dr_text2d dr_text3d error fx_dump fx_dumpTextures fx_getdebugopacity fx_getlogenabled fx_getlogrender fx_getusedebugshader fx_logenable fx_logrender fx_refresh fx_setdebugopacity fx_toggle fx_usedebugshader gcinfo getbuildnumber getbuildtype getfenv getmetatable import ipairs load loadfile loadstring logprintto memdump memdumpf mempoolsizes memtofile memvalidate network_ishost network_sessionname network_show newproxy next norenderwithupdate_toggle pairs pcall phy_contact_debug phy_visual_world_snapshot postprocess_toggle_blur postprocess_toggle_exposure print quit - quits the game rawequal rawget rawset render RenderStats_Disable RenderStats_DumpToLogFile RenderStats_Enable RenderStats_Get RenderStats_Set RenderStats_SetUpdateTime RenderStats_SortInstances RenderStats_SortRenderCalls RenderStats_SortShaderChanges RenderStats_SortTris RenderStats_Toggle restart select set_animator_log_data setfenv setmetatable ShaderStats_Disable ShaderStats_DumpToLogFile ShaderStats_Enable ShaderStats_SetUpdateTime ShaderStats_SortPixelCount ShaderStats_SortShaderNames ShaderStats_Toggle shadow_captureconvexhull shadow_captureobjectsinshadow shadow_setdebugconvexhull shadow_setdebugobjectsinshadow shadowmap_depth_bias shadowmap_display shadowmap_display_colour shadowmap_display_position shadowmap_display_size shadowmap_frustum_in_shadow shadowmap_grid shadowmap_light_depth shadowmap_lock_frustum shadowmap_normal_bias shadowmap_resolution shadowmap_set_distance_override shadowmap_toggle shadowmap_toggle_distance_override shadowmap_toggle_pcf shadowmap_toggle_textureformat sound_enabledCollectSharkData sound_toggleMusicStats sound_toggleSampleStats sound_toggleStreamingStats sound_toggleVoiceGroups sound_toggleVolumeGroups sound_toggleVUMeterStats sp_dumprendercalls sp_enablecommandbufferlush sp_enablerendercalls sp_enablestatemanagerlog sp_reloadshaders sp_resourcedump sp_setgamma sp_wireframe statgraph statgraph_channel statgraph_channel_get_enabled statgraph_channel_set_enabled statgraph_clear statgraph_get_visible statgraph_list statgraph_pause statgraph_queryaverage statgraph_queryvalue statgraph_save statgraph_set_visible sysconfig_getsetting sysconfig_setsetting terrain_animator_debug timer_add timer_addframe timer_addonce timer_del tonumber tostring type unbind unpack viewmultithread_enable viz_display_axisfx viz_dumpfxobjectlist viz_dumpobjectlist viz_enable_cullspherefx viz_enable_cullsphereobject viz_filter_cullspherefx viz_filter_renderfx viz_lod_force_level viz_lod_set_highest_level viz_toggle_cullsphere viz_toggle_objectslod xpcall ## In-Game Console Commands The following commands should work on DoW:II during gameplay when using the Console (Tab). *Documentation regarding command functionality is TBD.* _Prox_ArePlayerMembersNearMarker _Prox_ArePlayerMembersNearPosition _Prox_ArePlayerSquadsNearMarker _Prox_ArePlayerSquadsNearPosition addkeyword AI_ClearAIBudgetTotals AI_ClearAIBudgetWeight AI_ClearBudgetTotal AI_ClearBuildDemand AI_ClearClassPreference AI_ClearImportance AI_ClearProductionLimits AI_ClearTargetPlayer AI_ConvertToSimSquad AI_DebugEnabled AI_DoString AI_DrawHighPath AI_Enable AI_EnableAll AI_EnableComponent AI_FindAISquadByID AI_FindClosestEnemyPos AI_FindOpenNearPos AI_ForceAttack AI_GetAISquadID AI_GetDifficulty AI_GetRenderClumps AI_GetRenderThreatHistory AI_GetTeamsCount AI_GetThreatMap AI_GetUnitClassAt AI_GetUnitClassCount AI_GetUnitClassID AI_GetUnlockedAISquadID AI_IsAIPlayer AI_isComponentEnabled AI_IsEnabled AI_IsSquadValid AI_LockEntity AI_LockSquad AI_SetAntiClassPreference AI_SetBudgetWeight AI_SetBuildDemand AI_SetBuildDemandPBG AI_SetClassPreference AI_SetDebugPlayer AI_SetDifficulty AI_SetImportance AI_SetProductionLimits AI_SetRenderClumps AI_SetRenderThreatHistory AI_SetTargetPlayer AI_SetThreatMap AI_SetVictoryPointPercentage AI_TestPathfinding AI_UnlockEntity AI_UnlockSquad AI_UpdateStatics AIAbility_DoesTargetEntity AIAbility_DoesTargetPosition AIAbility_DoesTargetSquad AIAbility_GetCost AIAbility_GetDemandFunc AIAbility_GetEntityFunc AIAbility_GetFilterFunc AIAbility_GetPlayerAI AIAbility_GetPlayerCount AIAbility_GetPositionFunc AIAbility_GetSquadFunc AIAbility_IsFacing AIAbility_IsTargeted AIPlayer_AddAIScriptTask AIPlayer_AllyThreatAtPos AIPlayer_CanPlayerCastAbility AIPlayer_CanSee AIPlayer_CanSeeEntity AIPlayer_CanSeeSquad AIPlayer_EnemyThreatAtPos AIPlayer_GetAttackPercentage AIPlayer_GetBestArtilleryPosition AIPlayer_GetBestClumpIdxPosition AIPlayer_GetBestPostClumpIdx AIPlayer_GetClosestEnemy AIPlayer_GetClumpPosition AIPlayer_GetDifficultyLevel AIPlayer_GetFowBestClumpIdx AIPlayer_GetHomePosition AIPlayer_GetLocal AIPlayer_GetNextBestPostClumpIdx AIPlayer_GetProductionCost AIPlayer_GetRace AIPlayer_GetSoldierSquads AIPlayer_GetStructureCost AIPlayer_GetVehicleSquads AIPlayer_IsFireConePosition AIPlayer_SetClumpScanData AIPlayer_SimulatePre AIPlayer_SumThreatAtPos AIPlayer_ThreatAtBase AIPlayer_TotalDamageReceived AIProduction_TotalDamageReceived AIProduction_AnyReinforcementsNeeded AIProduction_CanAISquadProduce AIProduction_CanAISquadProduceNow AIProduction_CanNonSquadProduce AIProduction_CanProduce AIProduction_CanProduceNow AIProduction_CanSquadProduce AIProduction_GetAverageCostOfItems AIProduction_GetBuildableBuildingsAt AIProduction_GetBuildableBuildingCount AIProduction_GetBuildableSquadAt AIProduction_GetBuildableSquadCount AIProduction_GetNumEntityProductionQueue AIProduction_GetProductionItemAt AIProduction_GetProductionItemCount AIProduction_GetReinforcementSquadCostAt AIProduction_GetReinforcementSquadCount AIProduction_GetReinforcementSquadPBGAt AIProduction_GetSpawnerBuildings_Team AIProduction_GetTotalCostForReinforcements AIProfile_Marker AIProfile_Marker2 AIProfile_Marker3 AIProfile_Marker4 AIResource_ClearCapturePointPriorities AIResource_GetCapturePointAddOnCount AIResource_GetCapturePointAt AIResource_GetCapturePointID AIResource_GetCapturePointName AIResource_GetCapturePointsTotal AIResource_GetCapturePointsTotalOfType AIResource_GetCurrentPopulation AIResource_GetCurrentResourceRate AIResource_GetCurrentResources AIResource_GetMaxCapturePointPriority AIResource_GetMaxPopulation AIResource_GetNumCapturers AIResource_GetNumCombatants AIResource_GetNumCombatantsWhoCanOnlyAttack AIResource_GetNumCombatantsWhoCanOnlyDefend AIResource_GetNumOwnedCapturePoints AIResource_GetNumOwnedCapturePointsOfType AIResource_GetNumSecuredCapturePoints AIResource_GetNumSecuredCapturePointsForAddOns AIResource_GetNumUnconsciousSquads AIResource_GetResourceRate AIResource_GetResurrectDepreciationProgress AIResource_GetResurrectSquadCost AIResource_GetUnconsciousSquad AIResource_GetUnconsciousSquadByPBG AIResource_GetVictoryPointsOwnedBy AIResource_GetVictoryPointTotal AIResource_SetCapturePointPriority AISquad_ConvertToPBG AISquad_ConvertToSimSquad AISquad_GetAggression AISquad_GetAnchorPos AISquad_GetCaptureTask_CaptureProgress AISquad_GetCloseAliedEntitiesCount AISquad_GetCombatTask_TargetPosition AISquad_HasBeenAttacked AISquad_HasFiredWeapon AISquad_InCaptureTask AISquad_InCombatTask AISquad_IsInMeleeStance AISquad_IsPosThreateningToSquad AISquad_IsPosWithinDistOfAttackTarget AISquad_IsUnderMeleeAttack AISquad_SetAggression AISquad_ThreatLevelToSquad app_addfileloggercomment app_currentime app_errorcount app_fixedframerate app_getrenderframecount app_isgamealive app_missingcount app_resetrenderframecount app_startprofileseries app_stopprofileseries app_toggleLocStrings app_togglePerRecorderDebug AreaEffect_Info assert atmosphere_toggle_fog_premultiplied_alpha bind bind_list Camera_ClampToMarket Camera_EnableDebugMode Camera_FocusOnEntity Camera_FocusOnPosition Camera_FocusOnSquad Camera_GenerateCameraMesh Camera_GetGameplayCameraTuningValue Camera_HideCameraMesh Camera_ResetAllGameplayCameraTuningValues Camera_ResetGameplayCameraTuningValue Camera_SetDebugDisplay Camera_SetGamplayCameraTuningValue Camera_SetInputEnabled Camera_ShowCameraMeshInWorld Camera_ShowCameraMeshOverWorld Camera_ToggleDebugMode Camera_Unclamp capturemoviestart capturemoviestop Charge_Info cheat_buildtime cheat_kills elf cheat_resources cheat_revealall cls cmdline_exist cmdline_string collectgarbage CombatHold_Info Command_Entity Command_EntityEntity Command_EntityExt Command_EntityPos Command_EntityPosSquad Command_EntitySquad Command_Player Command_PlayerAbility Command_PlayerEx Command_PlayerPos Command_PlayerAbility Command_PlayerPosDirAbility Command_PlayerPosExt Command_PlayerSquadConstructBuilding Command_PlayerSquadConstructFence Command_PlayerSquadConstructField Command_Squad Command_SquadAbility Command_SquadAttackMovePos Command_SquadEntity Command_SquadEntityAbility Command_SquadEntityAttack Command_SquadEntityExt Command_SquadEntityLoad Command_SquadExt Command_SquadPath Command_SquadPos Command_SquadPosAbility Command_SquadPosDir Command_SquadPosExt Command_SquadPositionAttack Command_SquadPosOfset Command_SquadPosPos Command_SquadSquad Command_SquadSquadAbility Command_SquadSquadAttack Command_SquadSquadExt Command_SquadSquadLoad Construction_CanConstruct Construction_CanConstructNow Construction_IncompleteStructuresCount Construction_ScuttleIncompleteThreatenedBuildings Coverspot_Render Coverspot_SetRadius crash Cull_SetAggressive Cull_ToggleAggressive Cursor_CoverInfo cursor_hide Cursor_Info cursor_show Cursor_WargearInfo Cursor_WeaponInfo Cursor_WeaponRanges Dbg_DoAlert Dbg_DoBreak Debug_IgnoreMouseOverCheck Debug_ToggleDebugTest dirt_aabbvislevel dirt_clearaabbvis dirt_cleardebugfloat dirt_debugtoggle dirt_dumpterraintexture dirt_getdebugstate dirt_rootlevel dirt_setdebugchunkrect dirt_setdebugfloat dirt_setdebugstate dirt_setdumptexturename dirt_setlayerlimit dirt_setlod dirt_setmaxerror dirt_showcollision dirt_showcollisionaabb dirt_showoverlay dirt_showstats dirt_water_update_with_tight_aabb dofile dr_clear dr_drawCircle dr_drawline dr_setautoclear dr_setdisplay dr_terraincircle dr_terrainrect dr_text2d dr_text3d EBP_Exists Egroup_Add Egroup_AddEGroup EGroup_Clear EGroup_Compare EGroup_ContainsSecuredStrategicPoint EGroup_ContainsStrategicPointWithAddOns EGroup_Count EGroup_CountDeSpawned EGroup_CountSpawned EGroup_Create EGroup_Destroy EGroup_Exists EGroup_ForEach EGroup_ForEachAllOrAny EGroup_ForEachAllOrAnyEx EGroup_ForEachEx EGroup_FromName EGroup_GetDeSpawnedEntityAt EGroup_GetName EGroup_GetPosition EGroup_GetSpawnedEntityAt Egroup_Intersection Egroup_Remove Entity_CanLoadSquad Entity_CanSeeSquad Entity_ChargePosition Entity_ClearPostureSuggestion Entity_Create Entity_CreateENV Entity_Delete Entity_DeSpawn Entity_Destroy Entity_ExtensionEnabled Entity_ExtensionEnabled Entity_ExtensionExecuting Entity_ExtensionName Entity_ForceConstruct Entity_FromWorldID Entity_GetActiveCommand Entity_GetBlueprintID Entity_GetBlueprintName Entity_GetBuildingProgress Entity_GetCoverValue Entity_GetFacing Entity_GetGameID Entity_GetHeading Entity_GetHealth Entity_GetHealthMax Entity_GetHealthPercentage Entity_GetVulnerableMinCap Entity_GetNumCombatSlots Entity_GetPlayerOwned Entity_GetPosition Entity_GetProductionQueueItemName Entity_GetProductionQueueItemType Entity_GetProductionQueueSize Entity_GetRadius Entity_GetRallyPosition Entity_GetResourceRate Entity_GetSightRadius Entity_GetSimVariable Entity_GetSquad Entity_GetSquadName Entity_GetSquadsHeld Entity_GetUnconsciousEnabled Entity_HasProductionQueue Entity_HasUpgrade Entity_InstantCaptureStrategicPoint Entity_IsAlive Entity_IsAttacking Entity_IsBuilding Entity_IsEBPBuilding Entity_IsEBPObjCover Entity_IsHoldingAny Entity_IsMoving Entity_IsOfType Entity_IsPartOfSquad Entity_IsStartingPosition Entity_IsStrategicPoint Entity_IsStrategicPointCapturedBy Entity_IsUnconscious Entity_IsUnderAttack Entity_IsUnderAttackByPlayer Entity_IsValid Entity_IsVehicle Entity_IsVictoryPoint Entity_Kill Entity_Kill_Gibbing Entity_Kill_Ragdoll Entity_RegisterAttacker Entity_ResetCrushInfantry Entity_ResetCrushModel Entity_ResetUnconscious Entity_RevertStrategicPointToNeutral Entity_SetAnimatorAction Entity_SetAnimatorActionParamater Entity_SetAnimatorEvent Entity_SetAnimatorState Entity_SetAnimatorVariable Entity_SetAttributes Entity_SetAttriuteKills Entity_SetCrushInfantry Entity_SetCrushMode Entity_SetHeading Entity_SetHealth Entity_SetInvulnerableMinCap Entity_SetPlayerOwner Entity_SetPosition Entity_SetSimVariable Entity_SetStrategicPointNeutral Entity_SetTeamColourByChapter Entity_SetTeamColourByIndex Entity_SetUnconsciousEnabled Entity_Spawn Entity_StateEnabled Entity_StateName Entity_StateProcessingEnabled Entity_SuggestPosture Entity_TagDebug Entity_VisHide EntityQuery_GetCapturePoints EntityQuery_IsStructure error FamilyManager_GetFamilyCount FamilyManager_GetFamilyIndex FamilyManager_GetFamilyName FamilyManager_GetFamilyTypeIndex FamilyManager_GetFamilyTypeName FOW_DrawAccurate FOW_EnableRevealEntitySquadRequests FOW_EnableTint FOW_IsTintEnabled FOW_RevealAll FOW_RevealArea FOW_RevealEGroup FOW_RevealEGroupOnly FOW_RevealEntity FOW_RevealSGroup FOW_RevealSGroupOnly FOW_RevealSquad FOW_SetFOW FOW_TagSGroup FOW_Toggle FOW_UnRevealAll FOW_UnrevealArea FOW_UnTagSGroup fx_dump fx_dumpTextures fx_getdebugopacity fx_getlogenabled fx_getlogrender fx_getusedebugshader fx_logenable fx_logrender fx_refresh fx_setdebugopacity FX_SoftParticle fx_toggle fx_usedebugshader Game_AtmosphereChangeOverTime Game_CurrentSystemTime Game_EnableInput Game_GetLocalPlayer Game_GetRenderFrameCount Game_GetSimRate Game_HasLocalPlayer Game_HideSystemMessage Game_IsCoop Game_IsLetterboxed Game_Letterbox Game_LoadAtmosphere Game_QuitApp Game_ScreenFade Game_SetSelectionAlphaScale Game_SetSimRate Game_SetSystemShowInfoMessage Game_SetTutorialMode Game_ShowSystemMessage game_showui Game_SkipAllEvents Game_SkipEvent Game_StopGameToPerformanceTest gcinfo getbuildnumber getbuildtype getfenv getgametype getlocalplayer getmapname getmetatable getmetatype Ghost_DisableSpotting Ghost_EnableSpotting grass_cleanup grass_reload grass_remove grass_replace grass_save_texture HintPoint_AddToEGroup HintPoint_AddToEntity HintPoint_AddToPosition HintPoint_AddToSGroup HintPoint_AddToSquad HintPoint_RemoveAll HintPoint_RemoveInternal HintPoint_SetVisibleInternal Hold_Doors Hold_Info import Infiltration_Info InfoPoint_AddToEGroup InfoPoint_AddToMarker InfoPoint_AddToSGroup InfoPoint_RemoveAll InfoPoint_RemoveInternal InfoPoint_AddToEGroup ipairs isMultiPlayerGametype Jump_Arc Leash_Info Leveling_AddAdditionalDiscretionaryPoints Leveling_EntitySupportsLeveling Leveling_GetAvailableAttributePoints Leveling_GetBaseExperienceForEntityBlueprint Leveling_GetEntityExperience Leveling_GetEntityLevel Leveling_GetLevelInfoExperienceModifierForLevel Leveling_GetLevelInfoRequiredXPForLevel Leveling_GetMaximumLevel Leveling_GetSquadExperience Leveling_GetSquadLevel Leveling_ModifySquadAttribute Leveling_ModifySquadBonusAttribute Leveling_RewardEntityWithExperience Leveling_RewardSGroupWithExperience Leveling_RewardSquadWithExperience Leveling_SetEntityInitialExperience Leveling_SetEntityLevel Leveling_SetSGroupInitialExperience Leveling_SetSquadInitialExperience Leveling_SetSquadLevel Leveling_SquadSupportsLeveling listplayers load loadfile loadstring LOC Loc_ConvertNumber Loc_Empty Loc_FormatText Loc_FormatText2 Loc_FormatText3 Loc_FormatText4 Loc_FormatTime Loc_GabeShouldBeVisible Loc_ToAnsi logprintto Marker_DoesNumberAttributeExist Marker_DoesStringAttributeExist Marker_Exists Marker_FromName Marker_GetDirection Marker_GetName Marker_GetNumberAttribute Marker_GetPosition Marker_GetProximityRadius Marker_GetProximityType Marker_GetRandomPositionInternal Marker_GetRectangleArea Marker_GetStringAttribute Marker_GetType Marker_InProximity memdump memdumpf mempoolsizes memtofile memvalidate Misc_AIControlLocalPlayer Misc_ConvertFromAlias Misc_DetectKeyboardInput Misc_DetectMouseInput Misc_DoWeaponHitEffectOnEntity Misc_DoWeaponHitEffectOnPosition Misc_EnablePerformanceTest Misc_GetAbilityEnergyCost Misc_GetCameraPos Misc_GetEmptyControlGroup Misc_GetHiddenPositionOnPath Misc_GetLocalPlayerID Misc_GetMouseonTerrain Misc_GetMouseOverEntity Misc_GetPlayerFromName Misc_GetPlayerName Misc_GetPlayerNameLocalized Misc_GetSelectedEntities Misc_GetSelectedSquads Misc_GetSpeechDebugEnabled Misc_GetSquadControlGroup Misc_IsCommandLineOptionSet Misc_IsEntityOnScreen Misc_IsEntitySelected Misc_IsHumanPlayer Misc_IsMouseOverEntity Misc_IsPerformanceTest Misc_IsPosOnScreen Misc_IsSquadOnScreen Misc_IsSquadSelected Misc_QuickTipsEnabled Misc_ReloadUITextures Misc_ScreenFadeChange Misc_ScreenFadeRemove Misc_ScreenFadeStart Misc_Screenshot Misc_SelectSquad Misc_SetAmbientFXVisibility Misc_SetCursorPosition Misc_SetDefaultCommandsEnabled Misc_SetDesignerSplatsVisibility Misc_SetEntitySelectable Misc_SetSelectionInputEnabled Misc_SetSpeechDebugEnabled Misc_SetSquadControlGroup Misc_SetSquadSelectable Misc_SetSuperScreenshotSize Misc_SetTeamColour Misc_SetTeamColourByChapter Misc_SpawnEffect Misc_SuperScreenshot Modifier_ApplyToEntity Modifier_ApplyToPlayer Modifier_ApplyToSquad Modifier_Create Modifier_Destroy Modifier_RemoveInternal ModMisc_ApplyDeformation ModMisc_MakeWreckAction ModMisc_OOCAction ModMisc_ProfileEnd ModMisc_ProfileStart ModMisc_TriggerDcaAction network_ishost network_sessionname network_show newproxy next nis_clearmarker nis_debugdisplay nis_exists nis_getlength nis_load nis_pause nis_play nis_play2 nis_playambient NIS_PlaySpeech nis_setintranstitiontime nis_setmarker nis_setouttransitionnis nis_setouttransitiontime nis_settime nis_skip nis_stop nis_usegamecamera norenderwithupdate_toggle Obj_AlertSitRep Obj_Create Obj_CreatePopup Obj_GetState Obj_GetVisible Obj_HighlightEntity Obj_HighlightPosition Obj_HighlightSquad Obj_SetCompletionText Obj_SetDescription Obj_Setcon Obj_SetObjectiveFunction Obj_SetShowCompletedAnim Obj_SetState Obj_SetTitle Obj_SetVisible pairs Path_Armageddon Path_CalcSectorStats Path_ClearCells Path_ClearSectors Path_DrawCanBuild Path_DrawCanShoot Path_DrawConnectivity Path_DrawConnectivityLines Path_DrawElements Path_DrawImpass Path_DrawImpassSolid Path_DrawMouseOverSectorConnectivityLines Path_DrawPath Path_DrawPreciseMap Path_DrawResMap Path_DrawSectorConnectivity Path_DrawSectorNumbers Path_DrawSubSector Path_DumpImpassImage Path_IncDebugPassType Path_MajorSector Path_Prediction Path_RenderMelee Path_SetDebugPassType Path_SetPaintedImpassRenderOnTop Path_ShowCell Path_ShowPreciseCell Path_ShowSector Path_SparseOnly Path_ToggleCollisionCircle PBG_CanCapture PBG_CanCaptureEver PBG_ClearLimits PBG_Get PBG_GetCount PBG_GetDefencePriority PBG_GetID PBG_GetLimit PBG_GetName PBG_GetNumCanProduce PBG_GetNumRequestsForProducer PBG_IsSame PBG_IsStructure PBG_ProductionItemCount PBG_ReloadMouseOverEntity PBG_ReloadMouseOverSquad PBG_ReloadMouseOverWeapon PBG_SetLimit pcall pf_anal pf_debug pf_getdebug pf_memusage pf_old pf_sectorcount pf_verbose phy_contact_debug phy_visual_world_snapshot Player_AddAbilityLockoutZone Player_AddAnyAbilityLockoutZone Player_AddSparseGridPlane Player_CanSeeEntity Player_CanSeePosition Player_CanSeeSquad Player_ClearAvailabilities Player_ClearPopCapOverride Player_FindFirstEnemyPlayer Player_FromId Player_GetAIBonusLevel Player_GetCurrentPopulation Player_GetDisplayName Player_GetEntities Player_GetEntityCount Player_GetEntityName Player_GetHero Player_GetID Player_GetMaxPopulation Player_GetNumSlotItem Player_GetNumStrategicPoints Player_GetNumVictoryPoints Player_GetRace Player_GetRaceName Player_GetRaceString Player_GetRelationship Player_GetResource Player_GetResourceRate Player_GetSimVariable Player_GetSlotItemAt Player_GetSlotItemCount Player_GetSquadCount Player_GetSquads Player_GetStartingPosition Player_GetTeam Player_GetTeamColour Player_GetTeamColourName Player_GetUnitCount Player_GetUpgradeCost Player_GetWargearDropEntities Player_GiveSlotItem Player_GrantAbility Player_HasUpgrade Player_IsAlive Player_IsValid Player_Kill Player_NumUpgradeComplete Player_RemoveAbilityLockoutZone Player_RemoveAnyAbilityLockoutZone Player_ReplenishSlotItem Player_SetAbilityAvailability Player_SetAIBonusLevel Player_SetAllCommandAvailability Player_SetCommandAvailability Player_SetCommonRallyPointToSquad Player_SetConstructionMenuAvailability Player_SetDefaultSquadMoodMode Player_SetEntityProductionAvailability Player_SetPopCapOverride - Example >> Player_SetPopCapOverride(Game_GetLocalPlayer(), 1000) Player_SetResource Player_SetSimVariable Player_SetSquadProductionAvailability Player_SetTeamColour Player_SetTeamColourByChapter Player_SetTeamColourByName Player_SetUpgradeAvailability Player_ToggleLastStandInvulnerability Player_WargearPickup PlayerProfile_GetVar PlayerProfile_SetVar PlayerStats_ComparePlayerCombatRatingDiff PlayerStats_ComparePlayerCombatRatingPercentageDiff PlayerStats_CompareTeamCombatRatingDiff PlayerStats_CompareTeamCombatRatingPercentageDiff PlayerStats_EvaluateSquadPurchaseCombatRatingDiff PlayerStats_EvaluateSquadUpgradePurchaseCombatRatingDiff PlayerStats_GetTotalAntiClassRatingSum PlayerStats_GetTotalClassRatingSum PlayerStats_GetTotalHistoryAntiClassRatingSum PlayerStats_GetTotalHistoryClassRatingSum PlayerStats_GetTotalSquadAntiClassRatingSum PlayerStats_GetTotalSquadClassRatingSum postprocess_toggle_blur postprocess_toggle_exposure print quit rawequal rawget rawset reload_property_group render RenderStats_Disable RenderStats_DumpToLogFile RenderStats_Enable RenderStats_Get RenderStats_Set RenderStats_SetUpdateTime RenderStats_SortInstances RenderStats_SortRenderCalls RenderStats_SortShaderChanges RenderStats_SortTris RenderStats_Toggle Request_AISquadProduction Request_Capture Request_Combat Request_Construction Request_EntityAbility Request_FinishIncompleteStructure Request_Generator Request_ImmobileCombat Request_PlayerAbility Request_PlayerAbilityDualTarget Request_PlayerAbilitySingleTarget Request_Production Request_Resurrection Request_Secure Request_Sniper ResourceAmount_Add ResourceAmount_ClampToZero ResourceAmount_Get ResourceAmount_Has ResourceAmount_Mult ResourceAmount_Subtract ResourceAmount_Sum ResourceAmount_Zero restart Rule_AddEvent Rule_EventExists Rule_EventRemoveMe Rule_RefreshEvents Rule_RemoveAllEvents Rule_RemoveEvent RulesProfiler_Activate RulesProfiler_Enable RulesProfiler_IsActive RulesProfiler_ScrollDown RulesProfiler_ScrollUp SBP_Exists Scar_DoFile Scar_DoString Scar_DrawMarkers Scar_GroupInfo Scar_GroupList Scar_Reload scene_togglestatgraph select set_animator_log_data setfenv setmetatable setmultithreading setsimframecap setsimpause Setup_GetVictoryPointTickerOption Setup_SetPlayerName Setup_SetPlayerOnlineLevel Setup_SetPlayerRace Setup_SetPlayerTeam SGroup_Add SGroup_AddGroup SGroup_Clear SGroup_ClearPostureSuggestion SGroup_ClearSpecialAttackChanceOverride SGroup_ClearSyncKillChanceOverride SGroup_ClearSyncKillDOverride SGroup_Compare SGroup_ContainsSGroup SGroup_ContainsSquad SGroup_Count SGroup_CountDeSpawned SGroup_CountSpawned SGroup_Create SGroup_Destroy SGroup_EquipDefaultWargear SGroup_EquipWargear SGroup_Exists SGroup_FacePosition SGroup_ForEach SGroup_ForEachAllOrAny SGroup_ForEachAllOrAnyEx SGroup_ForEachEx SGroup_FromName SGroup_GetDeSpawnedSquadAt SGroup_GetName SGroup_GetPosition SGroup_GetSpawnedSquadAt SGroup_HasWargearEquipped SGroup_Intersection SGroup_Remove SGroup_SetSpecialAttackChanceOverride SGroup_SetSyncKillChanceOverride SGroup_SetSyncKillDOverride SGroup_SnapFacePosition SGroup_SuggestPosture SGroup_UnequipWargear ShaderStats_Disable ShaderStats_DumpToLogFile ShaderStats_Enable ShaderStats_SetUpdateTime ShaderStats_SortPixelCount ShaderStats_SortShaderNames ShaderStats_Toggle shadow_captureconvexhull shadow_captureobjectsinshadow shadow_setdebugconvexhull shadow_setdebugobjectsinshadow shadowmap_depth_bias shadowmap_display shadowmap_display_colour shadowmap_display_position shadowmap_display_size shadowmap_frustum_in_shadow shadowmap_grid shadowmap_light_depth shadowmap_lock_frustum shadowmap_normal_bias shadowmap_resolution shadowmap_set_distance_override shadowmap_toggle shadowmap_toggle_distance_override shadowmap_toggle_pcf shadowmap_toggle_textureformat Sim_CheckRequirements Sim_ClearPlanDebug Sim_CollisionSystemDraw Sim_CollisionSystemResetStats Sim_DoTestPlanOnTarget Sim_DrawAttention Sim_DrawEntityCrusherOBB Sim_DrawFormation Sim_DrawMeleeDist Sim_EntityAbility Sim_EntityActions Sim_EntityCoverInfo Sim_EntityDelay Sim_EntityDrawPosture Sim_EntityFind Sim_EntityHistory Sim_EntityInfo Sim_EntityModifier Sim_EntityOBB Sim_EntityOOCTarget Sim_EntityTargetFiredInfo Sim_EntityUpgrades Sim_KillAllEntitiesOnScreen Sim_KnockBackMouseOverEntity Sim_LogEntities Sim_MeleeKickersToggle Sim_PlayerInfo Sim_ProjectileCollisionInfo Sim_SelectedOnlyToggle Sim_ShotBlockers Sim_SimBox Sim_SquadAI Sim_SquadHistory Sim_SquadInfo Sim_SquadStateDebugRender Sim_SquadSuppression Sim_TestCanShootMap Sim_TestPathfinding Sim_WarnOverlappingEntityOBBs simterrain_reloaddeformdata simulateload Sound_AddToMusicPlaylist Sound_ContainerDebug Sound_DisableSpeechEvent sound_enabledCollectSharkData Sound_Play2D Sound_Play3D Sound_PlayAtLocation Sound_PlayMusic Sound_PlayStreamed Sound_PlayStreamed3D Sound_PlayStreamedAtLocation Sound_PreCacheSinglePlayerSpeech Sound_PreCacheSound Sound_QueueMusic Sound_SetAndLockMusicCombatValue Sound_SetMusicCombatDebug Sound_SetMusicCombatFactor Sound_SetMusicCombatMaxDistance Sound_SetMusicCombatMinDistance Sound_SetMusicFilterFactor Sound_SetVolume_Ambiences Sound_SetVolume_Master Sound_SetVolume_Music Sound_SetVolume_SFX Sound_SetVolume_Speech Sound_SetVolume_Weapons Sound_StartMusicPlaylist Sound_Stop Sound_StopMusic sound_toggleMusicStats sound_toggleSampleStats sound_toggleStreamingStats sound_toggleVoiceGroups sound_toggleVolumeGroups sound_toggleVUMeterStats Sound_UnlockMusicCombatValue sp_dumprendercalls sp_enablecommandbufferlush sp_enablerendercalls sp_enablestatemanagerlog sp_reloadshaders sp_resourcedump sp_setgamma sp_wireframe Speech_DrawCodesEnabled Speech_EnableCodesEnabled Squad_CanCaptureStrategicPoint Squad_CanEquipWargear Squad_CanInstantReinforceNow Squad_CanSeeEntity Squad_CanSeeSquad Squad_CeaseFire Squad_ClearPostureSuggestion Squad_Count Squad_CreateAndSpawn Squad_CreateAndSpawnToward Squad_Despawn Squad_Destroy Squad_EnableRetreat Squad_EnableSurprise Squad_EntityAt Squad_ExtensionEnabled Squad_ExtensionName Squad_FacePosition Squad_FaceSquad Squad_FindCover Squad_FindCoverCompareCurrent Squad_ForcedPositionSpawn Squad_FromWorldID Squad_GetAbilityAvailableUses Squad_GetActiveCommand Squad_GetAttackTargets Squad_GetBaseUnitName Squad_GetBlueprintID Squad_GetBlueprintName Squad_GetCourage Squad_GetDefaultSizeFromSBP Squad_GetDestination Squad_GetEnergy Squad_GetEquippedWargear Squad_GetEquippedWargearCount Squad_GetGameID Squad_GetHeading Squad_GetHealth Squad_GetHealthMax Squad_GetHoldEntity Squad_GetHoldSquad Squad_GetInvulnerableMinCap Squad_GetLastAttacker Squad_GetLastAttackers Squad_GetMax Squad_GetMaxLoadout Squad_GetName Squad_GetSlotItem Squad_GetPlayerOwner Squad_GetPosition Squad_GetPositionDeSpawned Squad_GetResurrectionCost Squad_GetSimVariable Squad_GetSlotItemAt Squad_GetSlotItemCount Squad_GetSquadsHeld Squad_GiveSlotItem Squad_HasActiveCommand Squad_HasDestination Squad_HasEntityOfType Squad_HasUpgrade Squad_IsAllInfiltrated Squad_IsAnyConscious Squad_IsAnyConsciousDespawned Squad_IsAttacking Squad_IsDoingAbility Squad_IsEntityUpgrading Squad_IsFullyInfiltrated Squad_IsHoldingAny Squad_IsInfiltrated Squad_IsInHoldEntity Squad_IsInHoldSquad Squad_IsMoving Squad_IsPartiallyInfiltrated Squad_IsPopCapPreventingInstantReinforce Squad_IsReinforcing Squad_IsSuppressed Squad_IsUnconscious Squad_IsUnderAttack Squad_IsUnderAttackByPlayer Squad_IsUpgrading Squad_IsValid Squad_IsVehicle Squad_Kill Squad_Merge Squad_ModifyEnergy Squad_ReplenishSlotItem Squad_ResetCallForHelpDistance Squad_ResetIdleLeashDistance Squad_ResetMeleeLeashDistance Squad_ResetRetreatToDefault Squad_ResetUnconscious Squad_ResumeFire Squad_SetBerserk Squad_SetCallForHelpDistance Squad_SetCourage Squad_SetHealth Squad_SetIdleLeashDistance Squad_SetInvulnerableMinCap Squad_SetMeleeLeashDistance Squad_SetMoodMode Squad_SetMoveType Squad_SetPlayerOwner Squad_SetSimVariable Squad_SetTeamColour Squad_SetTeamColourByChapter Squad_SetTeamColourByIndex Squad_SetTeamColourByName Squad_SetUnconsciousEnabled Squad_Spawn Squad_SpawnToward Squad_Split Squad_StateEnabled Squad_StateName Squad_SuggestPosture Squad_Teleport SquadQuery_GetAnySquadCombatTarget SquadQuery_IsVehicle SquadStats_GetAntiClassRating SquadStats_GetBuildTicks SquadStats_GetClass SquadStats_GetClassRating SquadStats_GetCost SquadStats_GetPop SquadStats_GetPrimaryClassRating SS_Individual SS_Interval Stamp_Place Stamp_PlaceGroup statgraph >> statgraph statgraph_channel >> Example statgraph_channel("fps") statgraph_channel_get_enabled statgraph_channel_set_enabled statgraph_clear statgraph_get_visible statgraph_list statgraph_pause statgraph_queryaverage statgraph_queryvalue statgraph_save statgraph_set_visible Stats_ActiveArmyCost Stats_BalancePrint Stats_BeginBalanceStatsDump Stats_BuildingsLost Stats_DumpFramesToDisk Stats_DumpFramesToDiskTemp Stats_EndBalanceStatsDump Stats_EntitiesKilled Stats_GetScenarioName Stats_InfantryLost Stats_KillsTotal Stats_PlayerAt Stats_PlayerCount Stats_ResGathered Stats_ResSpent Stats_SoldiersKilled Stats_StructuresKilled Stats_TotalDuration Stats_TotalSquadsLost Stats_UnitSoldierKills Stats_UnitStructureKills Stats_UnitTotalKills Stats_UnitVehicleKills Stats_VehiclesKilled Stats_VehiclesLost Subtitle_EndCurrentSpeech Subtitle_PlaySpeech Subtitle_PlaySpeechAt Subtitle_PlaySquadSpeech Subtitle_PlaySquadSpeechRadiolized Subtitle_UnstickCurrentSpeech switchplayer sysconfig_getsetting sysconfig_setsetting Task_CalcInTaskCombatRating Task_Count Task_CountActive Task_CountActiveInGroup Task_CountActivePBG Task_CountAISquadProduction Task_CountCapturerPBG Task_CountCombat Task_CountCost Task_CountEmpty Task_CountGroupCost Task_CountIncompleteStructure Task_CountInGroup Task_CountPBG Task_CountPopulation Task_CountResources Task_GetInTaskAntiClassRatingSum Task_GetInTaskClassRatingSum Task_KillAll Task_KillGroup Task_KillInactiveTasksInGroup terrain_animator_debug Terrain_DrawCoverMap Terrain_DrawGrid Terrain_DrawGridLines Terrain_DrawMaterialMap Terrain_DrawTerrainType thread_enabledfork timer_add timer_addframe timer_addonce timer_del timer_def tonumber tostring type UI_AddMinionTab UI_AddSquadTab UI_ClearBuildingPlacementCallback UI_ClearConstructionMenuCallback UI_ClearEventCues UI_ClearOptionOverride UI_ClearSubmenuNavigationCallback UI_CoverPreviewHide UI_CoverPreviewShow UI_CreateEntityKickerMessage UI_CreateEntityKickerMessageEx UI_CreateEventCueNonClickable UI_CreateEventCueTutorial UI_CreateEventCueTutorialWithImages UI_CreateEventCueWithPosition UI_CreatePing UI_CreateSquadKickerMessage UI_CreateSquadKickerMessageEx UI_DebugCoverPreview UI_DebugUI UI_DisplayAnonymousHint UI_DisplayHint UI_DisplayPowerNotification UI_DisplayPromptDialog UI_DisplayReqAndPowerNotification UI_DisplayRequisitionNotification UI_EnableEventCueType UI_EnableEventSkip UI_EnableGlobalAbilityCoopOffset UI_EnableResourceTypeKicker UI_EnableSave UI_EnableSaveDecorator UI_EnableSquadMinimapIndicator UI_ForceHudArrowOnObjective UI_GetMiniMapRotates UI_GetScale UI_HideEntityThreatArrow UI_HideSquadControlGroupBindings UI_IsKeyDown UI_PlayAnimatic UI_RemoveHint UI_RemovePing UI_RemoveSquadTab UI_ResetSquadDecorator UI_RestrictBuildingPlacement UI_SetAlliedBandBoxSelection UI_SetBuildingPlacementCallback UI_SetColourForSelectionBoundary UI_SetConstructionMenuCallback UI_SetCustomBossHealth UI_SetGameOverMessage UI_SetMiniMapRotates UI_SetOptionOverride UI_SetPingPosition UI_SetScale UI_SetSelectionUIVisible UI_SetSubmenuNavigationCallback UI_SetWaaaghAndGlobalAbilitiesVisible UI_ShowBlueThreatArrow UI_ShowBossArmourUISegmentVisible UI_ShowBossArmourUIVisible UI_ShowBossHealth UI_ShowBossHealthEntity UI_ShowCoverOnNonSelectedUnits UI_ShowCustomBossHealth UI_ShowDecorators UI_ShowEntityThreatArrow UI_ShowHeroHealth UI_ShowHeroHealthEGroup UI_ShowHeroHealthEntity UI_ShowInGameChatPanel UI_ShowInGameChatPanelMP UI_ShowIntelEventsPanel UI_ShowLevelUpKickers UI_ShowMenuButtonPanel UI_ShowMiniMapPanel UI_ShowObjectivesPanel UI_ShowPauseMenu UI_ShowPressDemoSplashScreen UI_ShowScarPanel UI_ShowSelectionPanel UI_ShowSquadTabs UI_ShowThreatArrow UI_ShowThreatArrowIn UI_TestPings UI_UnrestrictBuildingPlacement UI_WarningShow unbind unpack Util_GetWeaponDPS Vector_Normalize viewmultithread_enable VIS_AutoZPrePass VIS_MinimalShader VIS_OccCullToggleOBB VIS_Wireframe viz_display_axisfx viz_dumpfxobjectlist viz_dumpobjectlist viz_enable_cullspherefx viz_enable_cullsphereobject viz_filter_cullspherefx viz_filter_renderfx viz_lod_force_level viz_lod_set_highest_level viz_toggle_cullsphere viz_toggle_objectslod Wargear_GetWargearBlueprintName Wargear_GetWargearType Wargear_IsInventoryItem Wargear_IsUnique water_reflection_change_mode water_reflection_debug_display water_reflection_debug_update water_reflection_display water_reflection_display_position water_reflection_display_size water_reflection_enable water_reflection_force_refresh_sky_color water_reflection_max_object_distance_to_water water_reflection_optimisation_level water_reflection_view_distance Weapon_AllWeaponAttackGround Weapon_AnimInfo Weapon_AttackRadii Weapon_Firing Weapon_HardPointInfo Weapon_Info Weapon_PrintBestTarget Weapon_ProjectileDetonateTimer Weapon_ProjectileInfo Weapon_ScatterInfo Weapon_Tracking Weather_GetEnabled Weather_GetSplashQuality Weather_SetEnabled Weather_SetSplashQuality WinCondition_GetBestVPEnemyTeam WinCondition_GetMaxVPTickets WinCondition_GetVPTickets WinCondition_GetVPTicketsUntilWin WinWarning_Add WinWarning_Exists WinWarning_FastFinishUpdate WinWarning_PublishLoseReminder WinWarning_Remove WinWarning_SetText WinWarning_SetTextAndNumber WinWarning_SetTicketUpdated WinWarning_UpdateTeamTicker WinWarning_UpdateTickerWinningAndLosing World_ConcessionWinningPlayerSlot World_DisableWargearDrops World_DistanceEGroupToPoint World_DistancePointToPoint World_DistanceSGroupToPoint World_DistanceSquaredPointToPoint World_DropWargearAtPosition World_DropWargearWithoutOwnerAtPosition World_EnablePlayerToPlayerFOW World_EnableWargearDrops World_EndSP World_GenerateAndDropWargearAtPosition World_GetEntitiesNearMarker World_GetEntitiesNearPoint World_GetEntity World_GetEnviroCount World_GetEnviroName World_GetGameTime World_GetLength World_GetNeutralEntitiesNearMarker World_GetNeutralEntitiesNearPoint World_GetNumEntities World_GetNumEntitiesNearPoint World_GetNumStrategicPoints World_GetNumVictoryPoints World_GetOffsetPosition World_GetPBG World_GetPlayerAt World_GetPlayerCount World_GetPlayerIndex World_GetPossibleBuildingsCount World_GetPossibleBuildingsName World_GetPossibleBuildingsPBGID World_GetPossibleSquadsCount World_GetPossibleSquadsName World_GetPropertyBagGroupCount World_GetPropertyBagGroupID World_GetPropertyBagGroupName World_GetPropertyBagGroupPathName World_GetRaceIndex World_GetRand World_GetSpawnablePosition World_GetSquadsNearMarker World_GetSquadsNearPoint World_GetStrategicAndVictoryPoints World_GetSurfaceHeight World_GetWidth World_HasTeamConceded World_Intersect World_IsGameOver World_IsPropertyBagGroupValid World_OwnsEntity World_OwnsSquad World_PointPointProx World_Pos World_PosUnsafe World_RemoveAllResourcePoints World_ResetWargearDropsEnabled World_SetBoringMeleeMode World_SetGameOver World_SetPlayerLose World_SetTeamWin World_SetWargearDropsDisabled World_ToggleBoringMeleeMode xpcall