PlayerKnows - Form

From the Fallout4 CreationKit Wiki
(Redirected from Form.PlayerKnows (Papyrus))
Jump to navigation Jump to search

Member of: Form Script

Is the "Known" flag set for this form? This is used for Magic Effects and Words of Power.

Syntax[edit | edit source]

bool Function PlayerKnows() native

Parameters[edit | edit source]

None

Return Value[edit | edit source]

Whether or not the Known flag is set on the form.

Examples[edit | edit source]

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

See Also[edit | edit source]