Background for Skyrim SE
Member of the Actor script
eventOnVampirismStateChanged(boolabIsVampire)

Description

Wiki Description

Event called when this actor's vampirism state has changed

Documentation Comment

Received when the vampirism state of this actor changes (when SendVampirismStateChanged is called)


Parameters

  1. boolabIsVampire

    CK Wiki Description

    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

Auto-Generated Example

Scriptname MyCoolScript extends Actor

event OnVampirismStateChanged(bool abIsVampire)
    Debug.trace("Event received - OnVampirismStateChanged: abIsVampire = " + abIsVampire)
endEvent

Related Pages


Additional References

View this event’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.