SetCreatedCount - ConstructibleObject

From the Fallout4 CreationKit Wiki
Revision as of 13:28, 21 January 2018 by imported>Qazaaq (added required f4se version)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Sets the amount of Forms created by this constructible object.

Syntax[edit | edit source]

Function SetCreatedCount(int count) Native

Parameters[edit | edit source]

  • count: The amount of Forms created by this constructible object.

Return Value[edit | edit source]

None

Examples[edit | edit source]

int myAmount = 100
myConstructibleObject.SetCreatedCount(myAmount)
Debug.Trace("The constructible object now creates " + myAmount + " objects.")

Notes[edit | edit source]

None

See Also[edit | edit source]