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
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
endEventAuto-Generated Example
Scriptname MyCoolScript extends Actor
event OnVampirismStateChanged(bool abIsVampire)
Debug.trace("Event received - OnVampirismStateChanged: abIsVampire = " + abIsVampire)
endEvent