Background for Skyrim SE
Member of the iEquip_ActorExt script
floatfunctionGetAVDamage(Actora_actor, inta_actorValue)NativeGlobal

Description

Documentation Comment

@brief Returns the damage dealt to the specified actor value.
@param a_actor The actor to fetch the actor value from.
@param a_actorValue The actor value to calculate.
@return Returns 0.0 on error, else returns the damage dealt to the actor value as a function of its maximum - current.
@notes Valid actor values:
Anything in the range [0, 163]
24 - Health
25 - Magicka
26 - Stamina


Parameters

  1. Actora_actor

  2. inta_actorValue


Examples

Auto-Generated Example

Actor myActor__a_actor
int myInt__a_actorValue

float returnedValue = iEquip_ActorExt.GetAVDamage(myActor__a_actor, myInt__a_actorValue)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.