This command will kill all nearby enemies. If a distance is specified, all enemies within that distance from your character will be killed.
The syntax for the killall command is as follows:
This command has the following arguments:
|Distance||Optional. The distance to kill all enemies within (relative to your character).|
Find below working examples of the killall command.
This is the default way to execute this command. It does not specify a distance, and therefore kills all nearby enemies.
This console command would kill all enemies within a distance of 20y.