Difference between revisions of "ObjectReference Script"

Jump to navigation Jump to search
818 bytes added ,  03:15, 10 May 2012
→‎SKSE Member Functions: Added SKSE Member Function list
imported>Jog
imported>Behippo
(→‎SKSE Member Functions: Added SKSE Member Function list)
Line 399: Line 399:
'''bool Function [[WaitForAnimationEvent - ObjectReference|WaitForAnimationEvent]](string asEventName)'''
'''bool Function [[WaitForAnimationEvent - ObjectReference|WaitForAnimationEvent]](string asEventName)'''
*Waits for the animation graph to send the specified event.
*Waits for the animation graph to send the specified event.
== SKSE Member Functions ==
'''int Function [[GetNumItems - ObjectReference|GetNumItems]]()'''
* (Container only) Returns the number of forms in the container.
'''Form Function [[GetNthForm - ObjectReference|GetNthForm]](int index)'''
* (Container only) Returns the specified form from the container.
'''float Function [[GetTotalItemWeight - ObjectReference|GetTotalItemWeight]]()'''
* (Container only - perhaps Player only) Returns the total weight of all items held in the container.
'''float Function [[GetTotalArmorWeight - ObjectReference|GetTotalArmorWeight]]()'''
* (Container only - perhaps Player only) Returns the total weight of the armor in the container.
'''bool Function [[IsHarvested - ObjectReference|IsHarvested]]()'''
* (Flora and Tree only) Returns whether the flora has been harvested or not.


== Events ==
== Events ==
Anonymous user

Navigation menu