OnStoryPayFine - Quest

From Creation Kit
Jump to: navigation, search

Member of: Quest Script

Event called when this quest is started via a pay fine story manager event.

Syntax

Event OnStoryPayFine(ObjectReference akCriminal, ObjectReference akGuard, Form akCrimeGroup, int aiCrimeGold)

Parameters

  • akCriminal: The ObjectReference that is paying the fine.
  • akGuard: The ObjectReference that is being paid.
  • akCrimeGroup: The crime group that is being paid.
  • aiCrimeGold: The amount being paid.

Examples

Event OnStoryPayFine(ObjectReference akCriminal, ObjectReference akGuard, Form akCrimeGroup, int aiCrimeGold)
  Debug.Trace(akCriminal + " is paying " + aiCrimeGold + " crime gold to " + akGuard)
endEvent

See Also