MDE Scripting: Player Entity
From Nomad DB
How to | Get the Player entity |
---|---|
Entity type | 9 (enums.EntityType.PLAYER) |
Properties
- Player.health
- Player.healthfall
- Player.healthmax
- Player.healthmaxvar
- Player.healthrel
- Player.healthrestore
- Player.healthrestoredown
- Player.invulnerability
- Player.nonplayerdamage
- Player.nonplayerdamagedist
- Player.shield
Methods
- Player:AbortBattleDestination
- Player:Activate
- Player:ActivateExtraCollisionElement
- Player:ActivateEyeLookAt
- Player:ActivateRagdoll
- Player:ActivateRoadDetector
- Player:AddAITag
- Player:AddBattleFakeTarget
- Player:AddBattleReaction
- Player:AddCalmPerceptionScopeArea
- Player:AddCalmPerceptionScopeAreaName
- Player:AddCalmPerceptionScopeBox
- Player:AddCalmPerceptionScopeCircle
- Player:AddCalmPerceptionScopeCirclePos
- Player:AddCalmPerceptionScopeVolume
- Player:AddComponent
- Player:AddExclusionScopeArea
- Player:AddExclusionScopeAreaName
- Player:AddExclusionScopeBox
- Player:AddExclusionScopeCircle
- Player:AddExclusionScopeCirclePos
- Player:AddExclusionScopeVolume
- Player:AddMeleeTimedTag
- Player:AddSkillPoints
- Player:AddSpecialItem
- Player:AddTag
- Player:AddToCollection
- Player:AddViScript
- Player:Aim
- Player:AimAt
- Player:AnimEffectStop
- Player:AnimPlay
- Player:AnimPlayEffect
- Player:AnimStop
- Player:AnnouncePoliceOffence
- Player:ApplyImpulse
- Player:ApplyPerkUpgrade
- Player:ApplyRagdollRadialSpeed
- Player:AreControlsLocked
- Player:AttachObject
- Player:Attack
- Player:AttackMelee
- Player:BattleDefendArea
- Player:BattleDefendAreaBox
- Player:BattleDefendAreaCircle
- Player:BattleDefendAreaCirclePos
- Player:BattleDefendDynamicObject
- Player:BattleDefendStaticObject
- Player:BattleGetInCar
- Player:BattleGetPlayerPathDist
- Player:BattleMoveToScriptPos
- Player:BattleSearch
- Player:BattleStopDefend
- Player:Block
- Player:BlockSituationsGlobally
- Player:BlockSpeech
- Player:BroadcastPerceptionEvent
- Player:CalmSearch
- Player:CanCarryBody
- Player:CanEnterSafeHouse
- Player:CheckHumanPresence
- Player:ClampMoveSpeed
- Player:ClampSprintSpeed
- Player:ClearAnimationDescriptor
- Player:ClearCustomDeathAnimation
- Player:ClearHERDHostileZone
- Player:ClearHERDTrespassZone
- Player:ClearInventory
- Player:ClearItemsInHands
- Player:ClearOverridePlayerSpawnProfile
- Player:ClearPoliceTrespassZone
- Player:ClearShopkeeperTrespassZone
- Player:ClearSpeedCurveOverride
- Player:ClimbShoreFromSwimmingEnabled
- Player:ComputeApproachAngle
- Player:ContainsTags
- Player:CustomLockpick
- Player:DbgEnableWeaponLightOnPlayer
- Player:DbgPlaySpeechFromSoundFilename
- Player:DbgTesting_AimAtDir
- Player:DbgTesting_AimAtHuman
- Player:DbgTesting_AimAtPos
- Player:DbgTesting_AimAtStop
- Player:DbgTesting_Cover
- Player:DbgTesting_CoversMove
- Player:DbgTesting_GetEnumValue
- Player:DbgTesting_HelperCombatAction_IsActive
- Player:DbgTesting_HelperCover_IsActionAvailable
- Player:DbgTesting_HelperFire_GetAmmoCountInEquipedWeapon
- Player:DbgTesting_HelperInventory_AddWeapon
- Player:DbgTesting_HelperInventory_GetInventorySelected
- Player:DbgTesting_HelperInventory_GetItem
- Player:DbgTesting_HelperInventory_GetItemsCount
- Player:DbgTesting_HelperInventory_GetRightHand
- Player:DbgTesting_HelperInventory_GetWeapon
- Player:DbgTesting_HelperInventory_IsArmed
- Player:DbgTesting_HumanCombatAction
- Player:DbgTesting_Inventory
- Player:DbgTesting_LookAtDir
- Player:DbgTesting_LookAtPos
- Player:DbgTesting_LookAtStop
- Player:DbgTesting_Movement
- Player:DbgTesting_SemaphoreNextFrame
- Player:DbgTesting_SetAiUpdateFrequency
- Player:DbgTesting_SetBodyDir
- Player:DbgTesting_SetPose
- Player:DbgTesting_ShootReload
- Player:DbgTesting_UseAB
- Player:Deactivate
- Player:DeactivateExtraCollisionElement
- Player:DeactivateEyeLookAt
- Player:DebugClearDescriptor
- Player:DebugSetDescriptor
- Player:DesirePlayAnimation
- Player:DesirePlayAnimationWithDocking
- Player:DesirePlayAnimationWithDockingTransform
- Player:DespawnImmunity
- Player:DetachObject
- Player:DisableAnimationLoop
- Player:DisableAutoExitFromExplodedCar
- Player:DisableInput
- Player:DoDamage
- Player:DoTalk
- Player:DoTalkAI
- Player:DoTalkAIAll
- Player:DoTalkAIAll2
- Player:DoTalkAIAvailable
- Player:DoTalkAIAvailableVariation
- Player:DoTalkAIVariation
- Player:DoTalkDialogLine
- Player:DoTalkGhostAI
- Player:DoTalkGhostAIVariation
- Player:DropBody
- Player:DropHat
- Player:DynamicMove
- Player:EnableBloodParticles
- Player:EnableClimbShoreFromSwimming
- Player:EnableCloseCombat
- Player:EnableDragBody
- Player:EnableElevatorMovement
- Player:EnableInjury
- Player:EnableInjuryDiff
- Player:EnablePushObjectHandler
- Player:EnableWeaponLight
- Player:Follow
- Player:ForceComplexCollision
- Player:ForceMaxLOD
- Player:ForceStandHandler
- Player:ForceVoice
- Player:Forget
- Player:GameRestore
- Player:GetAction
- Player:GetActionByType
- Player:GetActionsCount
- Player:GetAggressivity
- Player:GetAimDiff
- Player:GetAIType
- Player:GetAnimationVariableBool
- Player:GetAnimationVariableFloat
- Player:GetAnimationVariableInt
- Player:GetArmor
- Player:GetBattleArchetype
- Player:GetBattleArchetypeBase
- Player:GetBonePos
- Player:GetCanBreakIntoVehicles
- Player:GetCanLockpick
- Player:GetCanStealVehicles
- Player:GetCanTraverse
- Player:GetCarriedBody
- Player:GetCivilArchetype
- Player:GetClosestPolicePos
- Player:GetCollisionPriorityGroup
- Player:GetComponent
- Player:GetControlStyleStr
- Player:GetCurrentReactionPriority
- Player:GetDebugPath
- Player:GetDecideFateAfterInterrogation
- Player:GetDir
- Player:GetEnemyPerceptionState
- Player:GetEquippedWeaponSceneObject
- Player:GetGroupObjects
- Player:GetGUID
- Player:GetHumanEscapeEnabled
- Player:GetInOutCar
- Player:GetInventoryWeapons
- Player:GetInventoryWeaponsInSlotType
- Player:GetMaxArmor
- Player:GetMoveDir
- Player:GetName
- Player:GetNearestCoverPosInRange
- Player:GetOffVehicle
- Player:GetOnVehicle
- Player:GetOppositePosRot
- Player:GetOutCarFast
- Player:GetOwner
- Player:GetOwnerSceneObject
- Player:GetPerkConfig
- Player:GetPerkDataValue
- Player:GetPhysState
- Player:GetPos
- Player:GetPreventAIScriptPrio
- Player:GetReactionOnSound
- Player:GetRot
- Player:GetSeePlayer
- Player:GetSingleTagValue
- Player:GetSkillPoints
- Player:GetSpeedCurveOverride
- Player:GetSubobjectByIndex
- Player:GetSubobjectByName
- Player:GetSubobjectsCount
- Player:GetSubobjectsWithComponent
- Player:GetSubobjectsWithNamePrefix
- Player:GetTagValueCount
- Player:GetTransform
- Player:GetType
- Player:GetVoice
- Player:GetWeaponMagazineSize
- Player:GiveArmor
- Player:GiveFullArmor
- Player:HasSpecialItem
- Player:HasTag
- Player:HasTagWithValue
- Player:HaveEmptyHand
- Player:HaveFireWeaponInHand
- Player:HealByMedkit
- Player:Hide
- Player:IgnoreCollisions
- Player:IncreaseDecreaseTargetRangedScalar
- Player:InterrogationTarget
- Player:InterruptAvoidingCar
- Player:InterruptBattle
- Player:InterruptCivilWander
- Player:InterruptPatrol
- Player:InventoryAddAmmo
- Player:InventoryAddAmmoByCategory
- Player:InventoryAddGrenades
- Player:InventoryAddItem
- Player:InventoryAddMoney
- Player:InventoryAddWeapon
- Player:InventoryArmed
- Player:InventoryCalcNumAddableGrenades
- Player:InventoryCanAddAmmoByCategory
- Player:InventoryDrop
- Player:InventoryEnsureMinCheckpointAmmo
- Player:InventoryGetAmmo
- Player:InventoryGetAmmoCategoryForWeapon
- Player:InventoryGetAmmoLimit
- Player:InventoryGetGrenadeCapacity
- Player:InventoryGetGrenadeCount
- Player:InventoryGetMedkitCapacity
- Player:InventoryGetMedkitCount
- Player:InventoryGetMoney
- Player:InventoryGetSelected
- Player:InventoryGetSelectedExplosive
- Player:InventoryHasWeaponInSlot
- Player:InventoryHaveItem
- Player:InventoryHaveWeapon
- Player:InventoryHolster
- Player:InventoryLoadWeapons
- Player:InventoryReload
- Player:InventoryRemoveAmmoByCategory
- Player:InventoryRemoveGrenades
- Player:InventoryRemoveItem
- Player:InventoryRemoveMoney
- Player:InventoryRemoveWeapon
- Player:InventorySelect
- Player:InventorySelectExplosive
- Player:InventorySelectSmallWeapon
- Player:InventorySetUnlimitedAmmo
- Player:InventorySetUnlimitedAmmoInWeakestWeapon
- Player:IsActive
- Player:IsBlindFiring
- Player:IsButtonDown
- Player:IsCarryingBody
- Player:IsClothSimulated
- Player:IsCoverCrouch
- Player:IsDeath
- Player:IsFidgetDisabled
- Player:IsHealthInCriticalState
- Player:IsInCover
- Player:IsInCoverFull
- Player:IsInputDisabled
- Player:IsLookPointOfInterest
- Player:IsMeleeFighting
- Player:IsModelVisible
- Player:IsPlayerUsingDefaultCostume
- Player:IsReloading
- Player:IsSeenByPolice
- Player:IsSprinting
- Player:IsStalkMove
- Player:IsStealthMove
- Player:IsStunned
- Player:IsTaxiPassenger
- Player:IsValid
- Player:IsVisibleByPlayerAim
- Player:IsVisibleFromCamera
- Player:KillAndThrowNPCOutOfCar
- Player:LockControls
- Player:LockControlsKeepMoving
- Player:LockControlsToPlayAnim
- Player:LockControlsWithId
- Player:LockPlayerWeaponSlot
- Player:LockPullGetSyncObjects
- Player:MakeCarOwnership
- Player:MergeTags
- Player:MimicFriend
- Player:ModelToHands
- Player:ModelToMouth
- Player:MountTurret
- Player:MoveAwayAndDespawn
- Player:MoveAwayAndDespawn2
- Player:MoveAwayAndRequestDespawn
- Player:MoveAwayAndRequestDespawn2
- Player:MoveEnt
- Player:MoveVec
- Player:NeverLoseTrackOfPlayer
- Player:OverrideAudioMaterial
- Player:OverrideMaterial
- Player:OverrideMaterialParam
- Player:OverrideMoveSpeed
- Player:OverrideWanderMoveMode
- Player:PanicCrouch
- Player:PanicRunAway
- Player:Patrol
- Player:PatrolWayPoints
- Player:PickClosestPatrolPoint
- Player:PlayAnimation
- Player:PlayAnimationDockTransform
- Player:PlayerShouldRemainPassenger
- Player:PlaySyncedAnimation
- Player:PlaySyncedAnimationWithDocking
- Player:PlaySyncedAnimationWithDockingTransform
- Player:PlayWeaponAnimation
- Player:PostAIEvent
- Player:PreBattleMove
- Player:PreventAIScriptThisPrioAndLower
- Player:PushObjectHandlerEnabled
- Player:QueueFullbodyNoTransition
- Player:ReadGamepadAnalog
- Player:RegisterEvent
- Player:RegisterInputControlListener
- Player:RegisterRangedScalar
- Player:RegisterToMessages
- Player:RemoveAITag
- Player:RemoveAllArmor
- Player:RemoveAllTags
- Player:RemoveBloodDecals
- Player:RemovePerkUpgrade
- Player:RemoveSkillPoints
- Player:RemoveSpecialItem
- Player:RemoveTag
- Player:RemoveTagWithValue
- Player:RemoveTagWithValuePair
- Player:RemoveViScript
- Player:Reset
- Player:ResetDisabledInputsMoveSpeed
- Player:ResetMoveSpeed
- Player:ResetPreventAIScript
- Player:RestoreCollisionsDelayed
- Player:ResumeAvoidingCar
- Player:ResumeBattle
- Player:ResumeCivilWander
- Player:ResumePatrol
- Player:ReviveDownedHuman
- Player:Rotate
- Player:RunAwayAndDespawn
- Player:RunAwayAndDespawn2
- Player:RunAwayAndRequestDespawn
- Player:RunAwayAndRequestDespawn2
- Player:RunAwayFromEntity
- Player:RunAwayFromPosition
- Player:SafehouseInventoryRefill
- Player:ScriptControl
- Player:SelectMatchingVoice
- Player:SetAggressivity
- Player:SetAnimationAttitude
- Player:SetAnimationDescriptor
- Player:SetAnimationStyle
- Player:SetAnimationVariableBool
- Player:SetAnimationVariableFloat
- Player:SetAnimationVariableInt
- Player:SetAnimStyle
- Player:SetAssetCriminalOperationData
- Player:SetAssetData
- Player:SetAssetServiceData
- Player:SetAssetState
- Player:SetBattleArchetype
- Player:SetBattleDefendEngageArea
- Player:SetBattleDefendEngageAreaBox
- Player:SetBattleDefendEngageAreaCircle
- Player:SetBattleDefendEngageAreaCirclePos
- Player:SetBattleDefendEngageVolume
- Player:SetBattleDefendVolume
- Player:SetBattleDestination
- Player:SetBattleLeader
- Player:SetBattleShootingImportance
- Player:SetBattleTactic
- Player:SetBlacklistBossCriminalOperationState
- Player:SetBlacklistCriminalOperationState
- Player:SetBlacklistState
- Player:SetCanBreakIntoVehicles
- Player:SetCanLockpick
- Player:SetCanStealVehicles
- Player:SetCanTraverse
- Player:SetCarAttackGetOutPermission
- Player:SetCarAttackPermission
- Player:SetCivilArchetype
- Player:SetCollisionPriorityGroup
- Player:SetCombatMode
- Player:SetControlStyle
- Player:SetControlStyleStr
- Player:SetCoverMode
- Player:SetCustomDeathAnimation
- Player:SetDecideFateAfterInterrogation
- Player:SetDefaultTurnRadius
- Player:SetDemigod
- Player:SetDir
- Player:SetDirtBlend
- Player:SetDrunk
- Player:SetFidgetDisabled
- Player:SetFullBodyInjuryReactionThreshold
- Player:SetHERDHostileZoneArea
- Player:SetHERDHostileZoneBox
- Player:SetHERDHostileZoneCircle
- Player:SetHERDHostileZoneCirclePos
- Player:SetHERDHostileZoneVolume
- Player:SetHERDTierLevel
- Player:SetHERDTrespassZoneArea
- Player:SetHERDTrespassZoneBox
- Player:SetHERDTrespassZoneCircle
- Player:SetHERDTrespassZoneCirclePos
- Player:SetHERDTrespassZoneVolume
- Player:SetHERDType
- Player:SetHumanEscapeEnabled
- Player:SetInSafeHouse
- Player:SetInvestigationMode
- Player:SetLookPointOfInterest
- Player:SetMaxHealth
- Player:SetMovementSpeedMult
- Player:SetNoRagdollNoAnimAtDeath
- Player:SetOnFireCinematic
- Player:SetPerceptionConfig
- Player:SetPhysStandCollPriority
- Player:SetPhysState
- Player:SetPlayerHealthSegmentCnt
- Player:SetPoliceTrespassZoneArea
- Player:SetPoliceTrespassZoneBox
- Player:SetPoliceTrespassZoneCircle
- Player:SetPoliceTrespassZoneCirclePos
- Player:SetPoliceTrespassZoneVolume
- Player:SetPos
- Player:SetPosDir
- Player:SetPosDirObject
- Player:SetPosRot
- Player:SetPosRotObject
- Player:SetPreventCleaning
- Player:SetPriorityScopeArea
- Player:SetPriorityScopeAreaName
- Player:SetPriorityScopeBox
- Player:SetPriorityScopeCircle
- Player:SetPriorityScopeCirclePos
- Player:SetPriorityScopeNull
- Player:SetPriorityScopeVolume
- Player:SetRagdollPreventSleep
- Player:SetReactionOnSound
- Player:SetRot
- Player:SetScale
- Player:SetScopeAnnulus
- Player:SetScopeAnnulusPos
- Player:SetScopeArea
- Player:SetScopeAreaName
- Player:SetScopeBox
- Player:SetScopeCircle
- Player:SetScopeCirclePos
- Player:SetScopeEnemyDistance
- Player:SetScopeNull
- Player:SetScopeOffset
- Player:SetScopeOffsetPos
- Player:SetScopeVolume
- Player:SetShootPrecision
- Player:SetShootTargetPriority
- Player:SetShootTargetScopeNull
- Player:SetShootTargetScopeVolume
- Player:SetShopkeeperTrespassZoneArea
- Player:SetShopkeeperTrespassZoneBox
- Player:SetShopkeeperTrespassZoneCircle
- Player:SetShopkeeperTrespassZoneCirclePos
- Player:SetShopkeeperTrespassZoneVolume
- Player:SetSilentCarjacking
- Player:SetSpatialAwareness
- Player:SetSpeedCurveOverride
- Player:SetStalkMove
- Player:SetStealthMove
- Player:SetThrownVoodooDollDetonatable
- Player:SetTransform
- Player:SetTransparency
- Player:SetTrespassingState
- Player:SetTurnRadius
- Player:SetVisible
- Player:SetVisibleByPlayerAim
- Player:ShootAt
- Player:ShootEffect
- Player:ShootWeapon
- Player:Show
- Player:ShowHat
- Player:ShowModel
- Player:ShutUp
- Player:SimulateCloth
- Player:SlideToSeat
- Player:Spawn
- Player:StartInvestigateObject
- Player:StartLockPull
- Player:StartLookAtDir
- Player:StartLookAtTarget
- Player:StartWatchByDir
- Player:StartWatchByTarget
- Player:StopAllAnimations
- Player:StopAnimation
- Player:StopDynamicMove
- Player:StopLookAt
- Player:StopPatrolling
- Player:StopWatch
- Player:SuspendBattle
- Player:SwitchBrain
- Player:SwitchDefaultPlayerSpawnProfile
- Player:SwitchHealthSystem
- Player:SwitchOverridePlayerSpawnProfile
- Player:SwitchPlayerSpawnProfile
- Player:TakeBody
- Player:TakeCover
- Player:Teleport
- Player:TurnAt
- Player:TurnAtDir
- Player:TurnAtVec
- Player:Unblock
- Player:UnlockAnimationStyle
- Player:UnlockPlayerWeaponSlot
- Player:UnregisterEvent
- Player:UnregisterFromMessages
- Player:UnregisterInputControlListener
- Player:UnregisterRangedScalar
- Player:UseAB
- Player:UseSoundScene
- Player:WanderAway
Class Hierarchy
Implements