IsBow - Weapon

SKSE Member of: Weapon Script

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

SyntaxEdit

bool Function IsBow()

ParametersEdit

  • None

Return ValueEdit

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

ExamplesEdit

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

NotesEdit

See AlsoEdit