Difference between revisions of "GetGemSize - SoulGem"

From the CreationKit Wiki
Jump to navigation Jump to search
 
Line 23: Line 23:


== Notes ==
== Notes ==
* Black Soul Gems and Azura's Star considered as Grand (has the value of 5). See discussion page for actual values of other soul gems.
* 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 Also ==
== See Also ==
*[[GetSoulSize - SoulGem]]
*[[GetSoulSize - SoulGem]]

Latest revision as of 10:39, 13 July 2023

SKSE Member of: SoulGem Script

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

Syntax[edit | edit source]

int Function GetGemSize() native

Parameters[edit | edit source]

  • None

Return Value[edit | edit source]

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

Examples[edit | edit source]

int gemSize = mySoulGem.GetGemSize()

Notes[edit | edit source]

  • 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 Also[edit | edit source]