Difference between revisions of "GetRemapData - MatSwap"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Qazaaq
(added see also)
imported>Qazaaq
(removed incomplete flag)
 
Line 1: Line 1:
{{Template:Incomplete Article}}
'''F4SE Member of:''' [[MatSwap Script]]
'''F4SE Member of:''' [[MatSwap Script]]
{{Template:Papyrus:RequiredF4SE|version=0.6.5}}
{{Template:Papyrus:RequiredF4SE|version=0.6.5}}

Latest revision as of 14:45, 11 February 2018

F4SE Member of: MatSwap Script
Requires F4SE version 0.6.5 or higher.

Gets an array of the RemapData for this material swap.

Syntax[edit | edit source]

RemapData[] Function GetRemapData() Native

Parameters[edit | edit source]

  • None

Return Value[edit | edit source]

Examples[edit | edit source]

;Get the material swaps remapping data.
MatSwap:RemapData[] remapping = MyMaterialSwap.GetRemapData()
Debug.Trace(remapping)


{For each material remapping data}
MatSwap:RemapData[] remapping = MyMaterialSwap.GetRemapData()
If (remapping)
    int index = 0
    While (index < remapping.Length)
        Debug.Trace("Remapping '" + remapping[index] + "' at index " + index)
        index += 1
    EndWhile
Else
    Debug.Trace("The material swap remapping data is empty or none.")
EndIf


See Also[edit | edit source]