Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

setAudience

setAudience(authority, entity, audience): boolean

Sets which pages entity’s Reach.Audience traits reach, of the pages that hold it: Audience.Nobody until set, so a trait whose audience was never set reaches no page. The owner is not added: Reach.Owner stays the one way to reach the owner.

Parameter Type
authority EntityAuthority
entity Entity
audience AudienceLike

boolean

setAudience(step, player, impostors);
// The player's RoleTrait reaches the impostors