Background for Skyrim SE
Member of the Form script
boolfunctionPlayerKnows()Native

Description

Wiki Description

Is the "Known" flag set for this form? This is used for MagicEffect, WordOfPower, and Enchantment.

Documentation Comment

Is the "Known" flag set for this form?


Caveats

CK Wiki - Notes

  • When using this function on an Enchantment, keep in mind that the actual enchantment that is known by the player is usually only the "Base" version of the Enchantment - and it is this Base Enchantment that must be tested for this function to return the correct value.

Examples

; Does the player know this effect?
if CoolMagicEffect.PlayerKnows()
  Debug.Trace("Player knows the cool effect")
endIf

Auto-Generated Example

bool returnedValue = myForm__toCallFunctionOn.PlayerKnows()

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.