Attention

This page is incomplete and needs better descriptions and research into the behavior of the variables.

Human

Has all the data representing a human such as health, jump height, move speed, and more.

Inherits Object

Variables

Flags (HumanFlags)
A set of bool values which determine the behavior of the human.
LastTriggerDownFrame (int)
The last frame the humans weapon was fired.
Info (HumanInfo)
More human specific data. May be nil.
RenderDistance (ObjectRenderDistance)
THe humans render distance.
XRayMaterial (char)
The xray material of this human. They may or may not be visible via xray depending on their material.
XrayRenderAlpha (char)
The transparency of this human in xray mode.
Rank (int)
Unknown value.
ApproxLocalBmin (Vector)
The minimum point of this humans bounding box.
ApproxLocalBmax (Vector)
The maximum point of this humans bounding box.
LastPosition (Vector)
The last x, y, z position.
TurnToTarget (Vector)
Point that the human is turning towards.
NavCellDetourRequestHandle (unsigned int)
Unknown value.
RaycastHitInfo (HumanRaycastHitInfo)
Info about a raycast starting point and result. Unknown if this is just cast from the humans position or if it’s from the weapon if they possess one.
Velocity (Vector)
The humans velocity.
ActualVelocity (Vector)
Difference from previous value unknown.
TransformFramesSkipped (int)
Unknown value.
SteeringVector (Vector)
Unknown value.
MoveSpeed (float)
Move speed when walking and running.
SteeringHeadingOffset (float)
Unknown value. Possibly an angle offset from 0 degrees.
RotateDirection (HumanRotateDirections)
Determines which direction (clockwise, counter-clockwise) the human will rotate in.
StateSpeedThrottle (float)
Unknown value.
RotateHeadingLeft (float)
Unknown value.
RotateHeadingRight (float)
Unknown value.
RotateInternalHeading (float)
Unknown value.
InertialMotion (Vector)
Unknown value.
GroundObjectHandle (unsigned int)
Unknown value. Possibly the object handle of the ground.
GroundObjectContactPos (Vector)
The point that the human is in contact with the ground.
GroundObjectAltBodyIDX (int)
Unknown value.
GroundObjectShapeKey (int)
Unknown value. Likely related to havok physics.
GroundObjectNormal (float)
The normal vector of the point that the human is in contact with the ground.
ObjectFilterHandle (unsigned int)
Unknown value.
BlockMovementAnimation (int)
Unknown value.
BlockSteeringVector (Vector)
Unknown value.
BlockMovementType (BlockMovementTypes)
Unknown value.
BlockSteeringHeadingOffset (float)
Unknown value.
ReleasedMovementAnim (int)
Unknown value.
ReleasedMovementType (BlockMovementTypes)
Unknown value.
CurrentState (HumanStates)
The state of the human. Jumping, falling, in turret, etc. See HumanStates for more info.
CurrentMovementState (HumanMovementStates)
Running, walking, idle, etc.
CurrentStance (HumanStances)
Current stance. Standing, prone, crouching, etc.
LastStance (HumanStances)
Last stance.
MovementMode (HumanMoveModes)
The current movement mode. Pathfinding, pathfinding to vehicle, etc.
MovementSubmode (HumanMoveSubmodes)
Movement submodes. Jump start, jump pre, jump mid, etc.
PreviousMovementMode (HumanMoveModes)
The previous movement mode.
CustomFireAnimation (AnimationActions)
Fire animation info.
WalkAnimationSpeedPercentage (float)
Unknown value.
FrametimeTally (float)
Unknown value.
ActualVelocityMagnitude (float)
Magnitude of ActualVelocity.
MaxSpeed (float)
Max speed enforced on human.
FallingVelocityMagnitude (float)
Magnitude of falling velocity.
NotMovingUpdate (Timestamp)
Desc… Can be nil.
CharInstance (CharacterInstance)
Character instance info. May be nil.
BoneLODLevel (int)
Unknown value.
WepAnimationFlags (WeaponAnimationFlags)
Weapon animation flags.
RagdollState (HumanRagdollStates)
Ragdoll state. Flinch, active, blend out, etc.
RagdollSourceHumanHandle (unsigned int)
Unknown value.
RagdollIDX (int)
Unknown value.
RagdollBlendPercentage (float)
Unknown value.
RagdollLastFrameVelocity (Vector)
Unknown value.
RagdollOnImpactTime (float)
Unknown value.
RagdollOnImpactMinVelocity (float)
Unknown value.
RagdollDamaged (Timestamp)
Unknown value.
RootBoneOffset (float)
Unknown value.
NanoMaterialFX (unsigned int[16])
Unknown value.
MaterialFXHandleForHeadSkin (unsigned int)
Unknown value.
LastValidPositionBeforeRagdollIndex (unsigned int)
Unknown value.
RagdollNumCollisionsWithWalker (int)
Unknown value.
IK_Joints (IkJoint[4])
Inverse kinematics joints of the humans body.
InitialMaxHitPoints (int)
Initial max hit points.
MaxHitPoints (int)
Current max hit points.
HitPoints (float)
Hit points.
MaxKnockdownHits (int)
Unknown value.
KnockdownHits (float)
Unknown value.
KnockdownTimestamp (Timestamp)
Unknown value.
KnockdownTimeoutTimestamp (Timestamp)
Unknown value.
CollisionDamageTimer (Timestamp)
Unknown value.
CurrentCollisionDamage (float)
Unknown value.
DoRagdollTimestamp (Timestamp)
Unknown value.
FacialPoseTimestamp (Timestamp)
Unknown value.
TurretHoldAnimations (Timestamp)
Unknown value.
Cash (float)
Not used by the game. Likely a remnant of Saints Row 1.
Inventory (InventoryItem)
Desc… Can be nil.
DesiredEquippedInvItem (InventoryItem)
Desc… Can be nil.
LastEquippedWeapon (InventoryItem)
Desc… Can be nil.
SecondLastEquippedWeapon (InventoryItem)
Desc… Can be nil.
GrenadeWeapon (InventoryItem)
Desc… Can be nil.
OffhandProjectileHandle (unsigned int)
Unknown value.
ShieldHandle (unsigned int)
Object handle of the humans shield if they have one.
ReloadTimer (Timestamp)
Timer used for weapon reload.
EquipTagIndex (int)
Unknown value.
EquipOffhandTagIndex (int)
Unknown value.
RootBoneIndex (int)
Root bone index.
LeftFootBoneIndex (int)
Left foot bone index.
RightFootBoneIndex (int)
Right foot bone index.
LeftShoulderBoneIndex (int)
Left shoulder bone index.
RightShoulderBoneIndex (int)
Right shoulder bone index.
LeftHandBoneIndex (int)
Left hand bone index.
RightHandBoneIndex (int)
Right hand bone index.
LeftHipBoneIndex (int)
Left hip bone index.
RightHipBoneIndex (int)
Right hip bone index.
RunStandBlendPoseWeight (float)
Unknown value. Likely used when blending run and stand animations when switching between the two.
LeanWeight (float)
Unknown value.
LeanDirection (Vector)
Direction the human is leaning in.
LeanDisabled (Timestamp)
Unknown value.
LeanLastSteeringVector (Vector)
Unknown value.
FootPlanted (FootPlant)
Information about where and how the foot is planted.
FootPlantTime (Timestamp)
Unknown value.
IsTurning (bool)
Is true if turning.
StartingTurn (bool)
Is true if starting to turn.
RenderAlpha (float)
The humans render opacity.
CameraAlphaOverride (float)
Unknown value.
CastsTransparentShadows (bool)
Is true if it casts transparent shadows.
FadeTimer (Timestamp)
Unknown value.
FadeTime (int)
Unknown value.
StealthPercent (float)
If set to 1.0 the human will have the stealth jetpack “invisible” effect on their body.
VehicleHandle (unsigned int)
The object handle of the humans vehicle if they are in one.
ReservedVehicleHandle (unsigned int)
Unknown value.
VehicleSeatIDX (VehicleSeatIndex)
Unknown value.
BoredIdleTimestamp (Timestamp)
Unknown value.
CorpseCleanupTimer (Timestamp)
Unknown value.
TurnOffFireTimestamp (Timestamp)
Unknown value.
HealthRestoreTimestamp (Timestamp)
Unknown value.
HealthRestoreHitPoints (float)
How many hitpoints to restore each healing tick.
HealthRestoreMinimumHitPoints (float)
Unknown value.
LookAtPos (Vector)
Unknown value.
LookAtHandle (unsigned int)
Unknown value.
LookAtSpeed (float)
The speed at which the human looks at things.
AimOverrideDirection (Vector)
Unknown value.
DamagePercent (float)
Percent of damage to hitpoints. A value of 1.0 is equal to 100%.
DamageFunctionHandle (unsigned int16)
Unknown value.
DeathFunctionHandle (unsigned int16)
Unknown value.
BreathTimer (Timestamp)
Unknown value.
CrouchToStandTestTimestamp (Timestamp)
Unknown value.
LadderHandle (unsigned int)
The object handle of the ladder the human is attached to if they are attached to one.
LadderSlideSpeed (float)
The speed at which the human slides down ladders.
LadderGrabRung (int)
Unknown value.
LadderSlidePlayID (int)
Unknown value.
CodeDrivenStartJump (bool)
Unknown value.
CodeDrivenJumpTimer (float)
Unknown value.
CodeDrivenJumpHeight (float)
The humans jump height.
JumpStateTimer (Timestamp)
Unknown value.
LastSupported (Timestamp)
Unknown value.
AirTime (Timestamp)
Unknown value.
UpdateTimer (Timestamp)
Unknown value.
ImportanceLevel (ObjectImportanceLevels)
Unknown value.
ScriptedActionNodeHandle (unsigned int)
Unknown value.
NanoCBInfo (NanoCallbackInfo[16])
Unknown value.
NanoIndex (int)
Unknown value.
LightEffects (unsigned int[2])
Unknown value.
LightTags (int[2])
Unknown value.
AvoidanceCheckTimer (Timestamp)
Unknown value.
AvoidanceRequestTimer (Timestamp)
Unknown value.
AvoidanceRequestHuman (unsigned int)
Unknown value.
AvoidanceMoveDirection (Vector)
Unknown value.
AvoidanceHintDirection (Vector)
Unknown value.
AvoidancePauseTimer (Timestamp)
Unknown value.
AvoidanceOriginalMovementState (HumanMovementStates)
Unknown value.
MinimapFlags (int)
Unknown value.
EquippedInventoryItemLastFrame (InventoryItem)
Unknown value. May be nil.
EquippedInventoryItem (InventoryItem)
Unknown value. May be nil.
CurrentTeam (HumanTeams)
The humans team. EDF, Guerrilla, etc.
UndercoverTeam (HumanTeams)
Unknown value.
DialogueFoleyInfo (int)
Unknown value.
QueuedVoiceLine (VoiceLineHandle)
Unknown value.
SituationalVoiceLine (VoiceLines)
Unknown value.
VoicePriority (VoiceLinePriorities)
Unknown value.
VoiceCuePriority (AudiolibCuePriorities)
Unknown value.
RadioInstance (unsigned int16)
Unknown value.
VoiceInstance (int)
Unknown value.
VoiceTimeSinceFinish (Timestamp)
Unknown value.
LipsyncHandle (LipsyncDataHandle)
Unknown value.
VoiceDelayTime (Timestamp)
Unknown value.
AcknowledgedTime (Timestamp)
Unknown value.
ReportedTimer (Timestamp)
Unknown value.
Lifetime (Timestamp)
The time the human has been in existance.
Invincible (bool)
If true the human won’t take any damage. Shortcut for someHuman.Flags.Invulnerable
AiIgnore (bool)
If true, the human will be ignored by other AI. Useful for when you want the player to be ignored when walking around EDF bases. Shortcut for someHuman.Flags.AiIgnore
AllowRagdoll (bool)
If false, the human won’t ragdoll. Shortcut for someHuman.Flags.DisallowFlinchesAndRagdolls

Functions

Heal (Human Self)
Fully heals the human. Since the first argument is self, you call it with a colon instead of a period. So someHuman:ResetMoveSpeed()