ScarDoc - Function List

Enum List

AIBuildStyle
BS_Defend
BS_Mines
BS_NearBase
BS_OuterBase
BS_Secure

AICapturePointType
CPT_FuelPoint
CPT_INVALID
CPT_MunitionPoint
CPT_NullPoint
CPT_TacticalPoint
CPT_VictoryPoint

AICombatType
COMBAT_Attack
COMBAT_Default
COMBAT_Defend

AIMilitaryPointType
MPT_COUNT
MPT_Defence
MPT_FuelPoint
MPT_HQ
MPT_MunitionPoint
MPT_NONE
MPT_NullPoint
MPT_Spawner
MPT_SupportStructure
MPT_TacticalPoint
MPT_VictoryPoint

AIMilitaryTargetType
MTARGET_Attack
MTARGET_Defend

AIResourceType
AI_CapturePoint
AI_ProductionQueue
AI_Squad

AITacticTargetPreference
AITacticTargetPreference_Best
AITacticTargetPreference_HighDamage
AITacticTargetPreference_LowHealth
AITacticTargetPreference_Near
AITacticTargetPreference_NearAndBest
AITacticTargetPreference_None
AITacticTargetPreference_Support

AITacticType
TACTIC_Ability
TACTIC_Avoid
TACTIC_CapturePoint
TACTIC_CaptureTeamWeapon
TACTIC_Cover
TACTIC_FinishHealing
TACTIC_ForceAttack
TACTIC_Hold
TACTIC_MinRange
TACTIC_Pickup
TACTIC_ProvideReinforcementPoint
TACTIC_Recrew
TACTIC_RushAtTarget
TACTIC_Vehicle
TACTIC_WarmUp

AITaskType
TASK_Ability
TASK_Capture
TASK_Combat
TASK_Construction
TASK_ImmobileCombat
TASK_Leader
TASK_PlayerAbility
TASK_Production

AIType
AII_LocalHumanTakeover
AII_None
AII_Normal
AII_RemoteAITakeover
AII_RemoteHumanTakeover

Availability
ITEM_DEFAULT
ITEM_LOCKED
ITEM_REMOVED
ITEM_UNLOCKED

BlipType
BT_AttackHere
BT_CaptureHere
BT_Combat
BT_DefendHere
BT_General
BT_ObjectivePrimary
BT_ObjectiveSecondary
BT_RallyPoint
BT_Reveal
BT_SectorArtillery

BuildingFireState
BFS_Burning
BFS_NotOnFire
BFS_Smoking

CameraTuningValue
TV_CameraMode
TV_ClipFar
TV_ClipNear
TV_DeclAbove
TV_DeclBelow
TV_DeclBelowClose
TV_DeclinationEnabled
TV_DeclRateMouse
TV_DefaultAngle
TV_DefaultDeclination
TV_DefaultHeight
TV_DistExp
TV_DistExpMouse
TV_DistExpWheel
TV_DistGroundMin
TV_DistGroundTargetHeight
TV_DistMax
TV_DistMaxDead
TV_DistMin
TV_DistMinDead
TV_DistMinGround
TV_DistRateMouse
TV_DistRateWheelZoomIn
TV_DistRateWheelZoomOut
TV_DistScale
TV_EntityMinViewAngle
TV_FieldOfView
TV_NearPlaneShifter
TV_NISletDeclAbove
TV_NISletDeclBelow
TV_NISletDistGroundMin
TV_NISletDistMax
TV_NISletDistMin
TV_NISletDistMinGround
TV_OrbitRateMouse
TV_PanAccelerate
TV_PanMaxSpeedScalar
TV_PanScaleKeyboardDefZ
TV_PanScaleKeyboardMinZ
TV_PanScaleMouseDefZ
TV_PanScaleMouseMinZ
TV_PanScaleScreenDefZ
TV_PanScaleScreenMinZ
TV_PanStartSpeedScalar
TV_RotationEnabled
TV_SlideDeclBase
TV_SlideDeclRate
TV_SlideDeclThreshold
TV_SlideDistBase
TV_SlideDistRate
TV_SlideDistThreshold
TV_SlideOrbitBase
TV_SlideOrbitRate
TV_SlideOrbitThreshold
TV_SlideTargetBase
TV_SlideTargetRate
TV_SlideTargetThreshold
TV_TrackBoundScale
TV_TrackElastic
TV_ZoomLocked

CanProduceResult
CANPRODUCE_Disabled
CANPRODUCE_Error
CANPRODUCE_NoItem
CANPRODUCE_NoResources
CANPRODUCE_Ok
CANPRODUCE_OutOfReinforceRadius
CANPRODUCE_OutOfTerritory
CANPRODUCE_PopulationCapFull
CANPRODUCE_PrerequisitesItem
CANPRODUCE_PrerequisitesProducer
CANPRODUCE_ProductionItemFull
CANPRODUCE_ProductionQueueFull
CANPRODUCE_UpgradeItemFull

CapType
CT_Medic
CT_Personnel
CT_Vehicle

CheckHiddenType
CHECK_BOTH
CHECK_IN_FOW
CHECK_OFFCAMERA

CriticalUIType
CT_VehicleBack
CT_VehicleCrewShocked
CT_VehicleDriverInjured
CT_VehicleEngineBurning
CT_VehicleEngineGreen
CT_VehicleEngineRed
CT_VehicleEngineYellow
CT_VehicleExhaustDamaged
CT_VehicleFront
CT_VehicleGunnerInjured
CT_VehicleKillCommander
CT_VehicleLeft
CT_VehicleLoseTreadsOrWheels
CT_VehicleOpticsDamaged
CT_VehicleOutOfControl
CT_VehiclePrimaryWeapon
CT_VehicleRight
CT_VehicleSecondaryWeapon

CrushMode
Crush_Heavy
Crush_Light
Crush_Medium
Crush_Off

DialogButton
DB_Button1
DB_Button2
DB_Button3
DB_Close

EntityCommandType
CMD_Ability
CMD_Attack
CMD_AttackForced
CMD_AttackFromHold
CMD_AttackMove
CMD_AttackStop
CMD_BuildEntity
CMD_BuildSquad
CMD_BuildStructure
CMD_CancelProduction
CMD_Capture
CMD_Casualty
CMD_ChooseResource
CMD_Death
CMD_DefaultAction
CMD_DefuseMine
CMD_Destroy
CMD_Evacuate
CMD_Face
CMD_Fidget
CMD_Halt
CMD_InstantBuildSquad
CMD_InstantDeath
CMD_InstantUpgrade
CMD_Load
CMD_Move
CMD_Paradrop
CMD_PlaceCharge
CMD_Projectile
CMD_RallyPoint
CMD_RescueCasualty
CMD_SetHoldHeading
CMD_Stop
CMD_Unload
CMD_UnloadSquads
CMD_Upgrade
CMD_Vault

EntityStateID
STATEID_Capture
STATEID_Dead
STATEID_DefuseMine
STATEID_Evacuate
STATEID_Idle
STATEID_Move
STATEID_RepairEngineer
STATEID_StructureBuilding

GameEventType
GE_AbilityComplete
GE_AbilityExecuted
GE_AbilityRecharged
GE_AccessoryWeaponFired
GE_AIPlayer_Migrated
GE_AIPlayer_ObjectiveNotification
GE_AITakeOver
GE_ArtilleryFired
GE_AttentionChange
GE_BoobyTrapTriggered
GE_BroadcastMessage
GE_BuildItemComplete
GE_BuildItemStart
GE_CasualtySquadSpawned
GE_CasualtyStatus
GE_CompleteIntelBulletinTask
GE_ConstructionComplete
GE_ConstructionFenceComplete
GE_ConstructionFieldComplete
GE_ConstructionPlanComplete
GE_ConstructionStart
GE_CriticalDamage
GE_CriticalRepaired
GE_CustomUIEvent
GE_DamageArea
GE_DefaultCommandIssued
GE_DriverDecrewed
GE_DriverRecrewed
GE_EnemyTerritoryEntered
GE_EntityAbandoned
GE_EntityCommandIssued
GE_EntityCrushed
GE_EntityKilled
GE_EntityParadropComplete
GE_EntityParadropStart
GE_EntityRecrewed
GE_FieldSupportChange
GE_FlankKilled
GE_GameOver
GE_GameStart
GE_Garrison
GE_GarrisonSquad
GE_ImportantUnitSighted
GE_InfoPointActivated
GE_ItemAvailabilityChanged
GE_LOSMove
GE_MineDefused
GE_MoveFailed
GE_NonGlobalCamoDetected
GE_OccupiedBuildingChangedOwner
GE_PathFound
GE_Ping
GE_PlannedStructureCancelled
GE_PlannedStructurePlaced
GE_PlayerBeingAttacked
GE_PlayerCheat
GE_PlayerCommanderSelected
GE_PlayerCommandIssued
GE_PlayerDonation
GE_PlayerDropped
GE_PlayerHostMigrated
GE_PlayerKicked
GE_PlayerKilled
GE_PlayerLagComplaint
GE_PlayerLose
GE_PlayerNameChanged
GE_PlayerObjectiveChanged
GE_PlayerObjectiveCreated
GE_PlayerObjectiveDeleted
GE_PlayerPhaseUp
GE_PlayerPingOfShame
GE_PlayerPingOfShameLocal
GE_PlayerResourcesAwarded
GE_PlayerSkipNIS
GE_PlayerSurrendered
GE_PlayerWin
GE_ProjectileFired
GE_ProjectileLanded
GE_RebuiltEntityCreated
GE_ReinforcementCreated
GE_ResourceDepleted
GE_SectorLinkProviderChanged
GE_SectorOutOfLink
GE_SpawnActionComplete
GE_SpeechAction
GE_SquadBuildCommandIssued
GE_SquadCalledIn
GE_SquadCold
GE_SquadCommandIssued
GE_SquadElementMoveOrder
GE_SquadElementWaitOrder
GE_SquadFreezing
GE_SquadIdle
GE_SquadItemPickup
GE_SquadKilled
GE_SquadMerge
GE_SquadParadropComplete
GE_SquadPinned
GE_SquadProductionQueue
GE_SquadReplaced
GE_SquadRetreat
GE_SquadRetreatMsgReceived
GE_SquadSizeChanged
GE_SquadSplit
GE_SquadSuppressedStateChange
GE_SquadVeterancyRank
GE_StrategicPointChanged
GE_SuperAbility
GE_TerritoryEntered
GE_UpgradeCancelled
GE_UpgradeComplete
GE_UpgradeRemoved
GE_UpgradeStart
GE_WeaponFire

HintPointActionType
HPAT_Artillery
HPAT_Attack
HPAT_AttackLooping
HPAT_Bonus
HPAT_CoverGreen
HPAT_CoverRed
HPAT_CoverYellow
HPAT_Critical
HPAT_DeepSnow
HPAT_Detonation
HPAT_FormationSetup
HPAT_Hint
HPAT_Movement
HPAT_MovementLooping
HPAT_Objective
HPAT_RallyPoint
HPAT_Vaulting

HUDFeatureType
HUDF_AbilityCard
HUDF_CommandCard
HUDF_MiniMap
HUDF_None
HUDF_Upgrades

LoopType
LOOP_NONE
LOOP_NORMAL
LOOP_TOGGLE_DIRECTION

ModalAbilityPhase
MAP_Confirmed
MAP_Facing
MAP_Placing

ModifierApplicationType
MAT_Ability
MAT_Entity
MAT_EntityType
MAT_Player
MAT_Squad
MAT_SquadType
MAT_Upgrade
MAT_Weapon
MAT_WeaponType

ModifierUsageType
MUT_Addition
MUT_Enable
MUT_Multiplication
MUT_MultiplyAdd

ModPropertyBagGroupTypes
PBG_Ability
PBG_CamouflageStance
PBG_Critical
PBG_HitMaterial
PBG_Material
PBG_MoveType
PBG_PassType
PBG_Posture
PBG_Race
PBG_SlotItem
PBG_Tuning
PBG_UISelection
PBG_UITacticalMap
PBG_UITerritory
PBG_Upgrade
PBG_Weapon

MoodMode
MM_Auto
MM_ForceCalm
MM_ForceTense

ObjectiveFunction
FN_LuaTableQuery
FN_OnActivate
FN_OnCounterDisplay
FN_OnSelect
FN_OnShow

ObjectiveState
OS_Complete
OS_Failed
OS_Incomplete
OS_Off

ObjectiveType
OT_Primary
OT_Secondary

OwnerType
OT_Ally
OT_Neutral
OT_Player
OT_Enemy

PlayerCommandType
PCMD_Ability
PCMD_AIPlayer
PCMD_AIPlayer_ObjectiveNotification
PCMD_BroadcastMessage
PCMD_CancelProduction
PCMD_CheatBuildTime
PCMD_CheatKillSelf
PCMD_CheatResources
PCMD_CheatRevealAll
PCMD_ConstructFence
PCMD_ConstructField
PCMD_ConstructStructure
PCMD_CriticalHit
PCMD_DetonateCharges
PCMD_FuelDonation
PCMD_InstantUpgrade
PCMD_ManpowerDonation
PCMD_MunitionDonation
PCMD_SetCommander
PCMD_SlotItemRemove
PCMD_Surrender
PCMD_Upgrade
PCMD_UpgradeRemove
PCMD_WaitObjectDone

ProductionItemType
PITEM_SquadReinforce
PITEM_SquadUpgrade
PITEM_Spawn
PITEM_Upgrade

ProximityType
PT_Circle
PT_Rectangle

Relationship
R_ALLY
R_ENEMY
R_NEUTRAL
R_UNDEFINED

ResourceType
RT_Action
RT_Command
RT_Fuel
RT_Manpower
RT_Munition
RT_Popcap
RT_SovietOrder227
RT_SovietProgression

ResourceUIItem
RUIITEM_Fuel
RUIITEM_Manpower
RUIITEM_Munitions
RUIITEM_Population
RUIITEM_ResourceBar

ScarType
ST_AICAPTUREPOINT
ST_AIPLAYER
ST_AISQUAD
ST_AISTATSMILITARYPOINT
ST_BOOLEAN
ST_CONSTPLAYER
ST_EGROUP
ST_ENTITY
ST_FUNCTION
ST_MARKER
ST_NIL
ST_NUMBER
ST_PBG
ST_PLAYER
ST_SCARPOS
ST_SGROUP
ST_SQUAD
ST_STRING
ST_TABLE
ST_UNKNOWN

SimPropertyBagGroupTypes
PBG_EntityProperties
PBG_Formation
PBG_SquadFormation
PBG_SquadProperties
PBG_TurnPlan

SpeechDebugMode
DEBUG_COMBATZONES
DEBUG_SELECTOR

SquadCommandType
SCMD_AbandonTeamWeapon
SCMD_Ability
SCMD_Attack
SCMD_AttackMove
SCMD_BuildSquad
SCMD_BuildStructure
SCMD_CancelProduction
SCMD_Capture
SCMD_CaptureTeamWeapon
SCMD_DefaultAction
SCMD_DefuseCharge
SCMD_DefuseMine
SCMD_Destroy
SCMD_DoPlan
SCMD_Face
SCMD_InstantLoad
SCMD_InstantReinforceUnit
SCMD_InstantSetupTeamWeapon
SCMD_InstantUpgrade
SCMD_Load
SCMD_Merge
SCMD_Move
SCMD_Patrol
SCMD_PickUpSlotItem
SCMD_Pilfer
SCMD_PlaceCharge
SCMD_RallyPoint
SCMD_Recrew
SCMD_ReinforceUnit
SCMD_RescueCasualty
SCMD_Retreat
SCMD_RevertFieldSupport
SCMD_SetCamouflageStance
SCMD_SetMoveType
SCMD_SlotItemRemove
SCMD_StationaryAttack
SCMD_Stop
SCMD_Surprise
SCMD_Unload
SCMD_UnloadSquads
SCMD_Upgrade

SquadStateID
SQUADSTATEID_Ability
SQUADSTATEID_AttackMove
SQUADSTATEID_Capture
SQUADSTATEID_CaptureTeamWeapon
SQUADSTATEID_Combat
SQUADSTATEID_CombatStance
SQUADSTATEID_Construction
SQUADSTATEID_Defuse
SQUADSTATEID_DefuseMine
SQUADSTATEID_HoldUnload
SQUADSTATEID_Idle
SQUADSTATEID_Load
SQUADSTATEID_Move
SQUADSTATEID_Patrol
SQUADSTATEID_PickUpSlotItem
SQUADSTATEID_PlaceCharges
SQUADSTATEID_Plan
SQUADSTATEID_Recrew
SQUADSTATEID_Retreat
SQUADSTATEID_RevertFieldSupport
SQUADSTATEID_Stop
SQUADSTATEID_Unload
SQUADSTATEID_WeaponTransition

UIEventType
UIE_AbilityExectued
UIE_AllyAttacked
UIE_BoobyTrap
UIE_CasualtySquadSpawned
UIE_CommanderAbilityUnlocked
UIE_CommandPointGained
UIE_ConstructionComplete
UIE_Default
UIE_EnemyReveal
UIE_EnemyTerritoryEntered
UIE_InfantryAttacked
UIE_InfantryComplete
UIE_InfantryReplaced
UIE_InfoPointActivated
UIE_MineDetected
UIE_PhaseUp
UIE_PlayerAttacked
UIE_ResourceDepleted
UIE_Sniped
UIE_SquadCold
UIE_SquadFreezing
UIE_SquadPinned
UIE_SquadVeterancy
UIE_StrategicPointCaptured
UIE_StrategicPointReverting
UIE_StrategicPointSecured
UIE_TerritoryEntered
UIE_UpgradeComplete
UIE_VehicleAttacked
UIE_VehicleComplete
UIE_VehicleReplaced

UIMode
UI_Cinematic
UI_Fullscreen
UI_Normal

UpgradeOwnerType
UOT_None
UOT_Player
UOT_Self