Open main menu
Home
Random
Log in
Settings
About the CreationKit Wiki
Disclaimers
the CreationKit Wiki
Search
Editing
Weapon Script
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== SKSE Member Functions == :'''Int [[GetBaseDamage - Weapon|GetBaseDamage]]()''' :*Returns the base damage of this weapon. :'''[[SetBaseDamage - Weapon|SetBaseDamage]](Int ''damage'')''' :*Changes the base damage of this weapon. :'''Int [[GetCritDamage - Weapon|GetCritDamage]]()''' :*Returns the critical damage of this weapon. :'''[[SetCritDamage - Weapon|SetCritDamage]](Int ''damage'')''' :*Changes the critical damage of this weapon. :'''Float [[GetReach - Weapon|GetReach]]()''' :*Returns the reach of this weapon. :'''[[SetReach - Weapon|SetReach]](Float ''reach'')''' :*Changes the reach of this weapon. :'''Float [[GetMinRange - Weapon|GetMinRange]]()''' :*Returns the minimum range of this weapon. :'''[[SetMinRange - Weapon|SetMinRange]](Float ''minRange'')''' :*Changes the minimum range of this weapon. :'''Float [[GetMaxRange - Weapon|GetMaxRange]]()''' :*Returns the maximum range of this weapon. :'''[[SetMaxRange - Weapon|SetMaxRange]](Float ''maxRange'')''' :*Changes the maximum range of this weapon. :'''Float [[GetSpeed - Weapon|GetSpeed]]()''' :*Returns the speed of this weapon. :'''[[SetSpeed - Weapon|SetSpeed]](Float ''speed'')''' :*Changes the speed of this weapon. :'''Float [[GetStagger - Weapon|GetStagger]]()''' :*Returns the stagger value of this weapon. :'''[[SetStagger - Weapon|SetStagger]](Float ''stagger'')''' :*Changes the stagger value of this weapon. :'''Int [[GetWeaponType - Weapon|GetWeaponType]]()''' :*Returns the weapon type of this weapon. :'''[[SetWeaponType - Weapon|SetWeaponType]](Int ''type'')''' :*Changes the weapon type of this weapon. :'''String [[GetModelPath - Weapon|GetModelPath]]()''' :*Returns the path to the file representing the in-game model of this weapon. :'''[[SetModelPath - Weapon|SetModelPath]](String ''path'')''' :*Changes the path to the file representing the in-game model of this weapon. :'''String [[GetIconPath - Weapon|GetIconPath]]()''' :*Returns the path to the file representing the icon of this weapon in the inventory. :'''[[SetIconPath - Weapon|SetIconPath]](String ''path'')''' :*Changes the path to the file representing the icon of this weapon in the inventory. :'''String [[GetMessageIconPath - Weapon|GetMessageIconPath]]()''' :*Returns the path to the file representing the message icon for this weapon. :'''[[SetMessageIconPath - Weapon|SetMessageIconPath]](String ''path'')''' :*Changes the path to the file representing the message icon for this weapon. :'''Enchantment [[GetEnchantment - Weapon|GetEnchantment]]()''' :*Returns the Enchantment associated with the weapon. :'''[[SetEnchantment - Weapon|SetEnchantment]](Enchantment ''e'')''' :*Set the Enchantment associated with the weapon. :'''Int [[GetEnchantmentValue - Weapon|GetEnchantmentValue]]()''' :*Returns the Enchantment Value of the associated weapon :'''[[SetEnchantmentValue - Weapon|SetEnchantmentValue]](Int ''value'')''' :*Set the Enchantment value associated with the weapon. :'''Static [[GetEquippedModel - Weapon|GetEquippedModel]]()''' :*Returns the Equipped Model of the associated weapon. :'''[[SetEquippedModel - Weapon|SetEquippedModel]](Static ''model'')''' :*Sets the Equipped Model of the associated weapon. :'''EquipSlot [[GetEquipType - Weapon|GetEquipType]]()''' :*Returns the EquipSlot type of the weapon. :'''[[SetEquipType - Weapon|SetEquipType]](EquipSlot ''type'')''' :*Sets the EquipSlot of the weapon. :'''String [[GetSkill - Weapon|GetSkill]]()''' :*Returns the Skill associated with the weapon. :'''[[SetSkill - Weapon|SetSkill]](String ''skill'')''' :*Sets the Skill associated with the weapon. :'''String [[GetResist - Weapon|GetResist]]()''' :*Returns the Actor Value Name of the Resistance that affects the damage of the weapon. :'''[[SetResist - Weapon|SetResist]](String ''resist'')''' :*Sets the Resistance associated to the weapon. :'''Spell [[GetCritEffect - Weapon|GetCritEffect]]()''' :*Returns the Crit Effect associated with the weapon. :'''[[SetCritEffect - Weapon|SetCritEffect]](Spell ''ce'')''' :*Sets the Critical Effect of the weapon. :'''Bool [[GetCritEffectOnDeath - Weapon|GetCritEffectOnDeath]]()''' :*Returns whether the Critical Effect associated with the weapon should only occur on death. :'''[[SetCritEffectOnDeath - Weapon|SetCritEffectOnDeath]](Bool ''ceod'')''' :*Sets or unsets, if the Critical Effect should only occur on death. :'''Float [[GetCritMultiplier - Weapon|GetCritMultiplier]]()''' :*Returns the weapon's Crit Multiplier. :'''[[SetCritMultiplier - Weapon|SetCritMultiplier]](Float ''crit'')''' :*Sets the Crit Multiplier of the weapon to the specified amount. :'''Bool [[IsBattleAxe - Weapon|IsBattleAxe]]()''' :*Returns whether this weapon has the "WeapTypeBattleaxe" keyword. :'''Bool [[IsBow - Weapon|IsBow]]()''' :*Returns whether this weapon has the "WeapTypeBow" keyword. :'''Bool [[IsDagger - Weapon|IsDagger]]()''' :*Returns whether this weapon has the "WeapTypeDagger" keyword. :'''Bool [[IsGreatsword - Weapon|IsGreatsword]]()''' :*Returns whether this weapon has the "WeapTypeGreatsword" keyword. :'''Bool [[IsMace - Weapon|IsMace]]()''' :*Returns whether this weapon has the "WeapTypeMace" keyword. :'''Bool [[IsStaff - Weapon|IsStaff]]()''' :*Returns whether this weapon has the "WeapTypeStaff" keyword. :'''Bool [[IsSword - Weapon|IsSword]]()''' :*Returns whether this weapon has the "WeapTypeSword" keyword. :'''Bool [[IsWarhammer - Weapon|IsWarhammer]]()''' :*Returns whether this weapon has the "WeapTypeWarhammer" keyword. :'''Bool [[IsWarAxe - Weapon|IsWarAxe]]()''' :*Returns whether this weapon has the "WeapTypeWarAxe" keyword.
Summary:
Please note that all contributions to the CreationKit Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see
CreationKit:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)