Difference between revisions of "Component Script"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Qazaaq
m (Added to a category.)
imported>Qazaaq
(added f4se member)
Line 1: Line 1:
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Script Objects]]
[[Category:Miscellaneous]]
'''Extends:''' [[Form Script]]
'''Extends:''' [[Form Script]]


Line 22: Line 18:
== Member Functions ==
== Member Functions ==
None
None
== F4SE Member Functions ==
*MiscObject Function [[GetScrapItem - Component|GetScrapItem]]()
** Returns the scrap item for this component.
*Function [[SetScrapItem - Component|SetScrapItem]](MiscObject akMisc)
** Sets the scrap item for this component.
*GlobalVariable Function [[GetScrapScalar - Component|GetScrapScalar]]()
** Returns the scrap scalar for this component.
*Function [[SetScrapScalar - Component|SetScrapScalar]](GlobalVariable akGlobal)
** Sets the scrap scalar for this component.


== Events ==
== Events ==
Line 28: Line 34:
== See Also ==
== See Also ==
*[[:Category:Miscellaneous|Miscellaneous Category]]
*[[:Category:Miscellaneous|Miscellaneous Category]]
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Script Objects]]
[[Category:Miscellaneous]]

Revision as of 00:19, 13 October 2017

Extends: Form Script

Editor: Component

Script for the manipulation of component base objects.

Definition

ScriptName Component extends Form Native Hidden

Properties

None

Global Functions

None

Member Functions

None

F4SE Member Functions

  • MiscObject Function GetScrapItem()
    • Returns the scrap item for this component.
  • Function SetScrapItem(MiscObject akMisc)
    • Sets the scrap item for this component.
  • GlobalVariable Function GetScrapScalar()
    • Returns the scrap scalar for this component.
  • Function SetScrapScalar(GlobalVariable akGlobal)
    • Sets the scrap scalar for this component.

Events

None

See Also