OnStoryPayFine - Quest

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: Quest Script

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

Syntax[edit | edit source]

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

Parameters[edit | edit source]

  • 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[edit | edit source]

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

See Also[edit | edit source]