SetBroadcastState

Revision as of 14:05, 15 August 2009 by imported>Geckbot (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

DescriptionEdit

SetBroadcastState sets the broadcast state of a radio station.

SyntaxEdit

stationRef.SetBroadcastState [0/1]

ParametersEdit

  • 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.

ExamplesEdit

NPCRadio.SetBroadcastState 1

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

See AlsoEdit