StartCombatAll - RefCollectionAlias

From the Fallout4 CreationKit Wiki
Revision as of 10:38, 3 December 2015 by imported>Plplecuyer (Created page with "Category:Scripting Category:Papyrus '''Member of:''' RefCollectionAlias Script Calls StartCombat on all the actors in the collection. == Syn...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: RefCollectionAlias Script

Calls StartCombat on all the actors in the collection.

Syntax[edit | edit source]

Function StartCombatAll(Actor akCombatTarget)

Parameters[edit | edit source]

  • akCombatTarget: The combat target for each actor in the collection.

Return Value[edit | edit source]

None.

Examples[edit | edit source]

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

See Also[edit | edit source]