GetActivationHeight

From the CreationKit Wiki
Jump to navigation Jump to search

When this condition is called on an actor, it retrieves the activation height from somewhere inside of the actor's AI process. If the condition is not called on an actor, or if the actor has no AI process, or if the condition otherwise fails to retrieve the activation height, then the condition returns 0.0.

The exact meaning of "activation height" remains unknown. In testing, the function returned zero when run on humanoid actors, including the player.

Actors have animations for picking items up from the world, e.g. picking daggers off of tables. I think these animations can vary depending on the height offset from the actor's feet to the item, and I think GetActivationHeight is used to check that. I think I remember it being used in actors' animation definitions.