SetBroadcastState

Revision as of 16:21, 26 November 2008 by imported>Kkuhlmann
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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