Skip to content

Class Documentation

Edit documentation

An announcer event type that picks a line by the listener's role in the event: the killer, the victim, a member of the succeeding team, a member of the other team, or a spectator. AudioContextEventType describes the trigger context.

When the succeeding team is Order (100) or Chaos (200), the client tests the team players first and the spectators second. Otherwise it tests every client in one pass, as a player.

For a player, the first rule that applies picks the line:

Order Test Line Behaviour
1 the listener is the killer's player and IndividualSucceededEvent is set IndividualSucceededEvent IndividualPriorityBehavior
2 the listener is the victim's player and IndividualFailedEvent is set IndividualFailedEvent IndividualPriorityBehavior
3 the succeeding team is 100 or 200 and the listener is on it TeamSucceededEvent TeamSucceededPriorityBehavior
4 the succeeding team is 100 or 200 and the listener is not on it TeamFailedEvent TeamFailedPriorityBehavior
5 there is no succeeding team GenericEvent GeneralPriorityBehavior

For a spectator, the line is BlueTeamSpectatorEvent when the succeeding team is 100 and RedTeamSpectatorEvent when it is 200. If that string is empty, the line is GenericEvent. The behaviour is GeneralPriorityBehavior.

If the picked string is empty, the listener gets no line. The type does not use the assister. The client does not play the line, and it does not read the priority behaviours.

Properties

BlueTeamSpectatorEvent

String = ""
Edit documentation

The line for spectators when Order (100) is the succeeding team. Empty falls back to GenericEvent.

GenericEvent

String = ""
Edit documentation

The line for every listener when there is no succeeding team, and the spectator fallback.

IndividualFailedEvent

String = ""
Edit documentation

The line for the victim's player.

IndividualSucceededEvent

String = ""
Edit documentation

The line for the killer's player.

RedTeamSpectatorEvent

String = ""
Edit documentation

The line for spectators when Chaos (200) is the succeeding team. Empty falls back to GenericEvent.

TeamFailedEvent

String = ""
Edit documentation

The line for the players of the other team.

TeamSucceededEvent

String = ""
Edit documentation

The line for the players of the succeeding team.