Difference between revisions of "SetScrapScalar - Component"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Qazaaq
(Created page with "'''F4SE Member of:''' Component Script Sets the Global scrap scalar for this component. == Syntax == <source lang="papyrus"> Function SetScrapScalar(GlobalVariable a...")
 
imported>Qazaaq
(added required f4se version)
 
Line 1: Line 1:
'''F4SE Member of:''' [[Component Script]]
'''F4SE Member of:''' [[Component Script]]
{{Template:Papyrus:RequiredF4SE|version=0.4.2}}


Sets the [[Global]] scrap scalar for this component.
Sets the [[Global]] scrap scalar for this component.

Latest revision as of 13:05, 21 January 2018

F4SE Member of: Component Script
Requires F4SE version 0.4.2 or higher.

Sets the Global scrap scalar for this component.

Syntax[edit | edit source]

Function SetScrapScalar(GlobalVariable akGlobal) Native

Parameters[edit | edit source]

  • akGlobal: Sets the Global scrap scalar for this component.

Return Value[edit | edit source]

None

Examples[edit | edit source]

c_Gold.SetScrapScalar(MyGlobalVariable)
Debug.Trace(c_Gold+" now has "+MyGlobalVariable+" as its scrap scalar.")

Notes[edit | edit source]

None

See Also[edit | edit source]