IsBow - Weapon

From the CreationKit Wiki
Revision as of 00:17, 12 May 2012 by imported>Fg109 (Created page for IsBow)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

SKSE Member of: Weapon Script

Returns whether this weapon has the "WeapTypeBow" keyword. (This function requires SKSE)

Syntax[edit | edit source]

bool Function IsBow()

Parameters[edit | edit source]

  • None

Return Value[edit | edit source]

True if the weapon has the "WeapTypeBow" keyword. False otherwise.

Examples[edit | edit source]

if (Game.GetPlayer().GetEquippedWeapon().IsBow()
	Debug.Trace("Player is equipped with a bow.")
endif

Notes[edit | edit source]

See Also[edit | edit source]