Difference between revisions of "OnStoryCraftItem - Quest"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Sagitarius22
imported>Chesko
 
Line 16: Line 16:
*akLocation: The [[Location Script|Location]] the object was made at.
*akLocation: The [[Location Script|Location]] the object was made at.
*akCreatedItem: The base object of the item that was made.
*akCreatedItem: The base object of the item that was made.
== Notes ==
* This event appears to be broken. It never appears in any of Bethesda's scripts, and using it seems to crash the game.


== Examples ==
== Examples ==

Latest revision as of 23:22, 10 August 2012

Member of: Quest Script

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

Syntax[edit | edit source]

Event OnStoryCraftItem(ObjectReference akBench, Location akLocation, Form akCreatedItem)

Parameters[edit | edit source]

  • akBench: The ObjectReference bench that the item was made at.
  • akLocation: The Location the object was made at.
  • akCreatedItem: The base object of the item that was made.

Notes[edit | edit source]

  • This event appears to be broken. It never appears in any of Bethesda's scripts, and using it seems to crash the game.

Examples[edit | edit source]

Event OnStoryCraftItem(ObjectReference akBench, Location akLocation, Form akCreatedItem)
  Debug.Trace(akItemBase + " was made at " + akBench + " in location " + akLocation)
endEvent

See Also[edit | edit source]