SlashCo Wiki

SlashCo.GetSpectatableSet

 table<Entity> SlashCo.GetSpectatableSet( )

Description

Returns all players and dead bodies that can currently be spectated.
Survivors and dead bodies are always included.
Slashers are included only if their CannotBeSpectated slasher value is not enabled.

Returns

1table<Entity> targets

A table containing the entities that can currently be spectated.