OnStoryJail - Quest

From the CreationKit Wiki
Revision as of 16:08, 23 November 2011 by imported>Henning
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Member of: Quest Script

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

Syntax[edit | edit source]

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

Parameters[edit | edit source]

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

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