Difference between revisions of "MiscObject Script"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Qazaaq
m (added category and editor reference crosslink)
imported>ShadeMe
(Add missing F4SE member functions)
Line 16: Line 16:
== Properties ==
== Properties ==
None
None
== F4SE Structs ==
*Struct [[MiscComponent Struct - MiscItem|MiscComponent]]
**A structure that holds information about a component of the MiscObject.


== Global Functions ==
== Global Functions ==
Line 21: Line 25:


== Member Functions ==
== Member Functions ==
*int Function [[GetObjectComponentCount - MiscObject|GetObjectComponentCount]]( Component akComponent )
*int Function [[GetObjectComponentCount - MiscObject|GetObjectComponentCount]](Component akComponent)
**Returns the number of the given component this form has.
**Returns the number of the given component this form has.
== F4SE Member Functions ==
*MiscComponent[] Function [[GetMiscComponents - MiscObject|GetMiscComponents]]()
**Returns the MiscComponents this MiscObject has.
*Function [[SetMiscComponents - MiscObject|SetMiscComponents]](MiscComponent[] akComponents)
**Sets the MiscComponents this MiscObject has.


== Events ==
== Events ==

Revision as of 00:23, 22 October 2017

Extends: Form Script

Editor: MiscItem

Script for the manipulation of miscellaneous base objects.

Definition

ScriptName MiscObject extends Form Native Hidden

Properties

None

F4SE Structs

  • Struct MiscComponent
    • A structure that holds information about a component of the MiscObject.

Global Functions

None

Member Functions

  • int Function GetObjectComponentCount(Component akComponent)
    • Returns the number of the given component this form has.

F4SE Member Functions

  • MiscComponent[] Function GetMiscComponents()
    • Returns the MiscComponents this MiscObject has.
  • Function SetMiscComponents(MiscComponent[] akComponents)
    • Sets the MiscComponents this MiscObject has.

Events

None

See Also