OnVampirismStateChanged - Actor

From Creation Kit
Jump to: navigation, search

Member of: Actor Script (Requires SSE 1.5.3)

Event called when this actor's vampirism state has changed

Syntax

Event OnVampirismStateChanged(bool abIsVampire)

Parameters

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

Examples

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