GetGemSize - SoulGem

Revision as of 11:39, 13 July 2023 by Ingvion (talk | contribs) (→‎Notes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

SKSE Member of: SoulGem Script

Gets the size of a soul gem as int value. (This function requires SKSE)

SyntaxEdit

int Function GetGemSize() native

ParametersEdit

  • None

Return ValueEdit

The size of a soul gem as int value, from 1 (Petty Soul Gem) to 5 (Grand Soul Gem).

ExamplesEdit

int gemSize = mySoulGem.GetGemSize()

NotesEdit

  • Black Soul Gems and Azura's Star considered as Grand (have the value of 5). See discussion page for actual values of other soul gems.

See AlsoEdit