SetValue - RefCollectionAlias

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: RefCollectionAlias Script

Calls SetValue on all the actors in the collection.

Syntax[edit | edit source]

Function SetValue(ActorValue akActorValue, float fValue)

Parameters[edit | edit source]

  • akActorValue: The actor value to set
  • fValue: The value to set

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Set the health of everyone
SickPeople.SetValue(HealthAV, 10)

Notes[edit | edit source]

This only calls SetValue on actors, even though it can be called on references.

See Also[edit | edit source]