ObjectReference Script: Difference between revisions

Jump to navigation Jump to search
→‎SKSE Member Functions: added note that actor's inventories ARE containers
(→‎SKSE Member Functions: added note that actor's inventories ARE containers)
Line 412: Line 412:


:'''Form[] [[GetContainerForms - ObjectReference|GetContainerForms]]()'''
:'''Form[] [[GetContainerForms - ObjectReference|GetContainerForms]]()'''
:* (Container only) Returns an array of the forms in a container.
:* (Container only) Returns an array of the forms in a container. (Actor ObjectReferences are containers)


:'''Int [[GetNumItems - ObjectReference|GetNumItems]]()'''
:'''Int [[GetNumItems - ObjectReference|GetNumItems]]()'''
:* (Container only) Returns the number of forms in the container.
:* (Container only) Returns the number of forms in the container. (Actor ObjectReferences are containers)


:'''Form [[GetNthForm - ObjectReference|GetNthForm]](Int ''index'')'''
:'''Form [[GetNthForm - ObjectReference|GetNthForm]](Int ''index'')'''
:* (Container only) Returns the specified form from the container.
:* (Container only) Returns the specified form from the container. (Actor ObjectReferences are containers)


:'''Float [[GetTotalItemWeight - ObjectReference|GetTotalItemWeight]]()'''
:'''Float [[GetTotalItemWeight - ObjectReference|GetTotalItemWeight]]()'''
155

edits

Navigation menu