SetValue - RefCollectionAlias

Member of: RefCollectionAlias Script

Calls SetValue on all the actors in the collection.

SyntaxEdit

Function SetValue(ActorValue akActorValue, float fValue)

ParametersEdit

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

Return ValueEdit

None.

ExamplesEdit

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

NotesEdit

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

See AlsoEdit