Difference between revisions of "MiscObject Script"
Jump to navigation
Jump to search
imported>Qazaaq m (added category and editor reference crosslink) |
imported>Qazaaq m |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
'''Extends:''' [[Form Script]] | '''Extends:''' [[Form Script]] | ||
<BR/> | |||
'''Editor:''' [[MiscItem]] | '''Editor:''' [[MiscItem]] | ||
Line 16: | Line 12: | ||
== Properties == | == Properties == | ||
None | None | ||
== F4SE Structs == | |||
*Struct [[MiscComponent Struct - MiscObject|MiscComponent]] | |||
**A structure that holds information about the ''Component Data'' of a MiscItem. | |||
== Global Functions == | == Global Functions == | ||
Line 21: | Line 21: | ||
== Member Functions == | == Member Functions == | ||
*int Function [[GetObjectComponentCount - MiscObject|GetObjectComponentCount]]( Component akComponent ) | *int Function [[GetObjectComponentCount - MiscObject|GetObjectComponentCount]](Component akComponent) | ||
** | **Gets the quantity of the given Component from the MiscItem ''Component Data''. | ||
== F4SE Member Functions == | |||
*MiscComponent[] Function [[GetMiscComponents - MiscObject|GetMiscComponents]]() | |||
**Gets the ''Component Data'' for this MiscItem as an array of MiscComponent structures. | |||
*Function [[SetMiscComponents - MiscObject|SetMiscComponents]](MiscComponent[] akComponents) | |||
**Sets the ''Component Data'' for this MiscItem using an array of MiscComponent structures. | |||
== Events == | == Events == | ||
Line 28: | Line 35: | ||
== See Also == | == See Also == | ||
*[[MiscItem]] | |||
*[[:Category:Items|Items Category]] | *[[:Category:Items|Items Category]] | ||
[[Category:Scripting]] | |||
[[Category:Papyrus]] | |||
[[Category:Script Objects]] | |||
[[Category:Items]] |
Latest revision as of 19:05, 2 December 2018
Extends: Form Script
Editor: MiscItem
Script for the manipulation of miscellaneous base objects.
Definition[edit | edit source]
ScriptName MiscObject extends Form Native Hidden
Properties[edit | edit source]
None
F4SE Structs[edit | edit source]
- Struct MiscComponent
- A structure that holds information about the Component Data of a MiscItem.
Global Functions[edit | edit source]
None
Member Functions[edit | edit source]
- int Function GetObjectComponentCount(Component akComponent)
- Gets the quantity of the given Component from the MiscItem Component Data.
F4SE Member Functions[edit | edit source]
- MiscComponent[] Function GetMiscComponents()
- Gets the Component Data for this MiscItem as an array of MiscComponent structures.
- Function SetMiscComponents(MiscComponent[] akComponents)
- Sets the Component Data for this MiscItem using an array of MiscComponent structures.
Events[edit | edit source]
None