SetValue - RefCollectionAlias

From the Fallout4 CreationKit Wiki
Revision as of 10:51, 3 December 2015 by imported>Plplecuyer (Created page with "Category:Scripting Category:Papyrus '''Member of:''' RefCollectionAlias Script Calls SetValue on all the actors in the collection. ==...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]