SetAttackDamage
From GECK
A function added by the Fallout Script Extender.
Contents
Description
Sets the attack damage of the specified Base Form. If no BaseForm is specified, will instead set the attack damage of the calling reference's Base Form.
Syntax
reference.SetAttackDamage damage:int BaseForm
Or:
reference.SetDamage damage:int BaseForm
Example
SetAttackDamage 10 Weap10mmPistol
This sets the damage of every single 10mm Pistol references that belongs to this base form to 10.
player.SetAttackDamage 10 Weap10mmPistol
This performs the same task as the above; "player." is ignored.
player.SetAttackDamage 10
This does nothing, given that internally, the "player" class does not have an attack damage class.
SetAttackDamage 20 CrSuperMutant2Nightkin
This sets the damage of the CrSuperMutant2Nightkin base form to 20, meaning every single reference belonging to this base form will now deal 20 damage in an unarmed attack (see Stats Tab - Creatures).