71
edits
m |
|||
Line 5: | Line 5: | ||
Gets the size of a soul held in the soul gem as int value. (This function requires SKSE)<br> | Gets the size of a soul held in the soul gem as int value. (This function requires SKSE)<br> | ||
== Syntax == | == Syntax == | ||
Line 20: | Line 19: | ||
== Examples == | == Examples == | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
int soulSize = mySoulGem.GetSoulSize() | int soulSize = mySoulGem.GetSoulSize() | ||
</source> | </source> | ||
== Notes == | |||
* '''In SKSE < 2.2.4 this function is broken.''' As confirmed by Ian Patterson, the function returns the size of a soul gem instead of the soul size, due to incorrect binding. The bug was fixed in 2.2.4. | |||
== See Also == | == See Also == | ||
*[[GetGemSize - SoulGem]] | *[[GetGemSize - SoulGem]] |
edits