Difference between revisions of "MatSwap Script"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Qazaaq
(added f4se script)
 
imported>Crestfall
 
(4 intermediate revisions by one other user not shown)
Line 2: Line 2:
<BR>
<BR>
'''Editor:''' [[Material Swap]]
'''Editor:''' [[Material Swap]]
{{Template:Papyrus:RequiredF4SE|version=0.6.5}}


Script for the manipulation of material swaps.
Script for the manipulation of material swaps.
Line 12: Line 13:
== F4SE Structs ==
== F4SE Structs ==
*Struct [[RemapData Struct - MatSwap|RemapData]]
*Struct [[RemapData Struct - MatSwap|RemapData]]
**A structure that holds information about a material swap.
**A structure that holds information about a material swap remapping.


== F4SE Functions ==
== F4SE Functions ==
Line 23: Line 24:
== Events ==
== Events ==
None
None
== Notes ==
* The Creation Kit cannot fill a property to a [[MatSwap Script]] type. Use [[GetFormFromFile - Game]] to fill a MatSwap property or variable, or cast it from a [[FormList Script]] property.





Latest revision as of 08:23, 5 April 2018

Extends: Form Script
Editor: Material Swap
Requires F4SE version 0.6.5 or higher.

Script for the manipulation of material swaps.

Definition[edit | edit source]

Scriptname MatSwap extends Form Native Hidden

F4SE Structs[edit | edit source]

  • Struct RemapData
    • A structure that holds information about a material swap remapping.

F4SE Functions[edit | edit source]

  • RemapData[] Function GetRemapData()
    • Gets the RemapData for this material swap.
  • bool Function SetRemapData(RemapData[] data)
    • Sets the RemapData for this material swap.

Events[edit | edit source]

None

Notes[edit | edit source]