Background for Starfield
Member of the RefCollectionAlias script
voidfunctionKillAll(ObjectReferenceakKiller=NONE)

Description

Wiki Description

Kills all the actors in this collection

Documentation Comment

kmk
convenience function - kills everything in the collection (ships or actors)


Caveats


Parameters

ObjectReferenceakKiller=NONE

CK Wiki Description

The Actor who is the guilty party in killing this one.


Examples

;kill everybody, blame the player
Alias_TownsPeople.KillAll(Game.GetPlayer())

Auto-Generated Example

ObjectReference myObjectReference__akKiller

myRefCollectionAlias__toCallFunctionOn.KillAll(myObjectReference__akKiller)

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.