Difference between revisions of "PlayerKnows"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Mojo
imported>SkylerModder
 
Line 1: Line 1:
Checks to see if the player "knows" the effect. This is used for [[MagicEffect Script|Magic Effects]] and [[WordOfPower Script|Words of Power]].
Checks to see if the player "knows" the form. This is used for [[MagicEffect Script|Magic Effects]], [[WordOfPower Script|Words of Power]], and [[Enchantment Script|Enchantments]].
==Parameters==
==Parameters==
* Knowable Form: The effect to check for.
* Knowable Form: The form to check for.


==Return Value==
==Return Value==
Returns 1 if the Player knows the effect.
Returns 1 if the Player knows the form.
 
== Bugs ==
* While this Condition Function does accept Enchantments as valid forms to check for the Known flag (this was verified by editing a PlayerKnows condition function via xEdit to point at an Enchantment form; it saves correctly and even functions correctly when loaded by the game), the Creation Kit by default is bugged and will not list any enchantments in the list of forms for the PlayerKnows condition function. This bug is fixed by the mod [https://www.nexusmods.com/skyrimspecialedition/mods/20061 SSE Creation Kit Fixes] by Nukem.


==Papyrus Version==
==Papyrus Version==

Latest revision as of 18:32, 2 September 2021

Checks to see if the player "knows" the form. This is used for Magic Effects, Words of Power, and Enchantments.

Parameters[edit | edit source]

  • Knowable Form: The form to check for.

Return Value[edit | edit source]

Returns 1 if the Player knows the form.

Bugs[edit | edit source]

  • While this Condition Function does accept Enchantments as valid forms to check for the Known flag (this was verified by editing a PlayerKnows condition function via xEdit to point at an Enchantment form; it saves correctly and even functions correctly when loaded by the game), the Creation Kit by default is bugged and will not list any enchantments in the list of forms for the PlayerKnows condition function. This bug is fixed by the mod SSE Creation Kit Fixes by Nukem.

Papyrus Version[edit | edit source]