OnVampirismStateChanged - Actor

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: Actor Script (Requires SSE 1.5.3)

Event called when this actor's vampirism state has changed

Syntax[edit | edit source]

Event OnVampirismStateChanged(bool abIsVampire)

Parameters[edit | edit source]

  • abIsVampire: If true, the actor is now a vampire. If false, they have been cured.

Examples[edit | edit source]

Event OnVampirismStateChanged(bool abIsVampire)
  if (abIsVampire)
    Debug.Trace("Actor is now a vampire - they should probably not be eating garlic bread")
  endIf
endEvent

See Also[edit | edit source]