SetBroadcastState

From GECK
Jump to: navigation, search

Description

SetBroadcastState sets the broadcast state of a radio station.

Syntax

stationRef.SetBroadcastState [0/1]

Parameters

  • 0 turns off continuous broadcast -- the station will play static except when playing scripted conversations using StartRadioConversation.
  • 1 turns on continuous broadcast -- the station will generate and play radio conversations one after another.

Examples

NPCRadio.SetBroadcastState 1

NPCRadio will now broadcast whatever audio is assigned to that station.

See Also