OnStoryRemoveFromPlayer - Quest
Revision as of 15:26, 17 November 2011 by imported>Henning
Member of: Quest Script
Event called when this quest is started via a remove from player story manager event.
Syntax
Event OnStoryRemoveFromPlayer(ObjectReference akOwner, ObjectReference akItem, Location akLocation, \
Form akItemBase, int aiRemoveType)
Parameters
- akOwner: The ObjectReference that owns the item.
- akItem: The ObjectReference that was removed.
- akLocation: The Location where the remove happened.
- akItemBase: The base object of the removed item.
- aiRemoveType: The type of remove performed. Will be one of the following:
- 0: None
- 1: Stolen
- 2: Consumed
- 3: Script
- 4: Dropped
- 5: Given
- 6: Put in container
Examples
Event OnStoryRemoveFromPlayer(ObjectReference akOwner, ObjectReference akItem, Location akLocation, \
Form akItemBase, int aiRemoveType)
if aiRemoveType == 2
Debug.Trace("The player just consumed " + akItemBase)
endIf
endEvent