GetSoulSize - SoulGem

From the CreationKit Wiki
Revision as of 08:29, 13 July 2023 by Ingvion (talk | contribs)
Jump to navigation Jump to search

SKSE Member of: SoulGem Script

Gets the size of a soul held in the soul gem as int value. (This function requires SKSE)
In SKSE 2.2.3 this function is broken. As confirmed by Ian Patterson, it returns the size of a soul gem instead of held soul size due to incorrect binding.

Syntax

int Function GetSoulSize() native

Parameters

  • None

Return Value

The size of a soul the gem is holding as int value.

Examples

; note, that function is currently broken, the following syntax is deductive

int soulSize = mySoulGem.GetSoulSize()

See Also