GetScrapScalar - Component

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

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

Returns the Global scrap scalar for this component.

Syntax[edit | edit source]

GlobalVariable Function GetScrapScalar() Native

Parameters[edit | edit source]

None

Return Value[edit | edit source]

Returns the Global scrap scalar for this component.

Examples[edit | edit source]

GlobalVariable variable = c_Gold.GetScrapScalar()
Debug.Trace("The scrap scalar is "+variable)

Notes[edit | edit source]

None

See Also[edit | edit source]