Difference between revisions of "Component Script"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Plplecuyer
 
imported>Qazaaq
m (crosslinked)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Script Objects]]
'''Extends:''' [[Form Script]]
'''Extends:''' [[Form Script]]
<BR/>
'''Editor:''' [[Component]]


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


== Events ==
== Events ==
None
None
== See Also ==
* [[:Category:Miscellaneous|Miscellaneous Category]]
* [[MiscItem]]
* [[Global]]
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Script Objects]]
[[Category:Miscellaneous]]

Latest revision as of 20:11, 1 November 2017

Extends: Form Script
Editor: Component

Script for the manipulation of component base objects.

Definition[edit | edit source]

ScriptName Component extends Form Native Hidden

Properties[edit | edit source]

None

Global Functions[edit | edit source]

None

Member Functions[edit | edit source]

None

F4SE Member Functions[edit | edit source]

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

Events[edit | edit source]

None

See Also[edit | edit source]