OnStoryJail - Quest

From Creation Kit
Jump to: navigation, search


Member of: Quest Script

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

Syntax

Event OnStoryJail(ObjectReference akGuard, Form akCrimeGroup, Location akLocation, int aiCrimeGold)

Parameters

  • akGuard: The ObjectReference that put the player in jail.
  • akCrimeGroup: The crime group whose jail the player was put in.
  • akLocation: The Location where the jail is.
  • aiCrimeGold: The amount of crime gold the jail is for.


Examples

Event OnStoryJail(ObjectReference akGuard, Form akCrimeGroup, Location akLocation, int aiCrimeGold)
  Debug.Trace("The player was put into a jail owned by " + akCrimeGroup + " by " + akGuard)
endEvent

See Also