Background for Fallout 4
Member of the RefCollectionAlias script
voidfunctionStartCombatAll(ActorakCombatTarget)

Description

Wiki Description

Calls Actor.StartCombat(...) on all the actors in the collection.

Documentation Comment

kmk
convenience function - everything in the collection starts combat with target


Caveats


Parameters

ActorakCombatTarget

CK Wiki Description

The combat target for each actor in the collection.


Examples

; Make everyone go into combat with the player
Bandits.StartCombatAll(Game.GetPlayer())

Auto-Generated Example

Actor myActor__akCombatTarget

myRefCollectionAlias__toCallFunctionOn.StartCombatAll(myActor__akCombatTarget)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.