SheatheWeapon - Actor

From the CreationKit Wiki
Revision as of 22:18, 31 May 2013 by imported>Bot Owned (→‎Examples: Small Fix to Example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

SKSE Member of: Actor Script

Forces this actor to sheathe his weapon.

Syntax[edit | edit source]

Function SheatheWeapon() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

None.

Examples[edit | edit source]

Actor PlayerRef = Game.GetPlayer()

If PlayerRef.IsWeaponDrawn() ;If Player has a weapon drawn,
    PlayerRef.SheatheWeapon() ;Sheathe the drawn weapon.
EndIf


See Also[edit | edit source]