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)))
Description[edit | edit source]
SetBroadcastState sets the broadcast state of a radio station.
Syntax[edit | edit source]
stationRef.SetBroadcastState [0/1]
Parameters[edit | edit source]
- 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[edit | edit source]
NPCRadio.SetBroadcastState 1
NPCRadio will now broadcast whatever audio is assigned to that station.