Description
Wiki Description
Applies damage to the specified Actor Value on this Object Reference.
Documentation Comment
Damages the given actor value
Caveats
Parameters
floatafDamage
CK Wiki Description
The amount of damage to apply to the actor value.
Examples
ActorValue property HealthAV
; Damage the player's health 10 points
Game.GetPlayer().DamageValue(HealthAV, 10)ActorValue property HealthAV
; Damage Bob's health 5 points
Actor Bob = Bob_Alias.GetReference() as Actor
Bob.DamageValue(HealthAV, 5)Auto-Generated Example
ActorValue myActorValue__akAV
float myFloat__afDamage
myObjectReference__toCallFunctionOn.DamageValue(myActorValue__akAV, myFloat__afDamage)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
