IsDagger - Weapon

From Creation Kit
Jump to: navigation, search

SKSE Member of: Weapon Script

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

Syntax

bool Function IsDagger()

Parameters

  • None

Return Value

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

Examples

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

Notes

See Also