OnStoryInfection - Quest

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: Quest Script

Event called when this quest is started via an infection story manager event.

Syntax[edit | edit source]

Event OnStoryInfection(ObjectReference akTransmittingActor, Form akInfection)

Parameters[edit | edit source]

  • akTransmittingActor: The actor that gave the player the infection.
  • akInfection: The infection the player got infected with.

Examples[edit | edit source]

Event OnStoryInfection(ObjectReference akTransmittingActor, Form akInfection)
  Debug.Trace(akTransmittingActor + " just infected the player with " + akInfection)
endEvent

See Also[edit | edit source]