SetStagger - Weapon

From the CreationKit Wiki
Jump to navigation Jump to search

SKSE Member of: Weapon Script

Changes the stagger value of this weapon. (This function requires SKSE)

Syntax[edit | edit source]

Function SetStagger(float stagger) native

Parameters[edit | edit source]

  • stagger: The new stagger value of this weapon.

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Double the stagger value of the player's right hand weapon
Weapon PlayerWeapon = Game.GetPlayer().GetEquippedWeapon()
PlayerWeapon.SetStagger(PlayerWeapon.GetStagger() * 2.0)

See Also[edit | edit source]