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