Difference between revisions of "GetGemSize - SoulGem"

From the CreationKit Wiki
Jump to navigation Jump to search
(Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' SoulGem Script Gets the size of a soul gem as int value. (This function requires SKSE)...")
 
m
Line 15: Line 15:


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


== Examples ==
== Examples ==
Line 23: Line 23:


== Notes ==
== Notes ==
* Black Soul Gems and Azura's Star considered as Grand (has the value of 4).
* Black Soul Gems and Azura's Star considered as Grand (has the value of 5).


== See Also ==
== See Also ==
*[[GetSoulSize - Soul Gem]]
*[[GetSoulSize - Soul Gem]]

Revision as of 08:18, 13 July 2023

SKSE Member of: SoulGem Script

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

Syntax

int Function GetGemSize() native

Parameters

  • None

Return Value

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

Examples

int gemSize = mySoulGem.GetGemSize()

Notes

  • Black Soul Gems and Azura's Star considered as Grand (has the value of 5).

See Also