Difference between revisions of "PipBoyRadio"
Jump to navigation
Jump to search
imported>Kkuhlmann |
imported>Gdx711 |
||
(13 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Function | |||
|origin = GECK1 | |||
|summary = Controls the Pipboy radio. Can switch it on or off and tune into a specific radio station. | |||
|alias = PRAD | |||
|returnType = void | |||
|arguments = {{FunctionArgument | |||
|Name = Command | |||
|Type = string | |||
|Value = 0,1,Tune | |||
}}{{FunctionArgument | |||
|Name = RadioStation | |||
|Type = ObjectReferenceID | |||
|Optional = y | |||
}} | |||
}} | |||
==Examples== | |||
'''Tune in to Galaxy News Radio:''' | |||
PipboyRadio tune RadioGalaxyNewsRef02 | |||
'''Turn off the radio:''' | |||
PipboyRadio 0 | |||
'''Turn on the radio to the last played station:''' | |||
PipboyRadio 1 | |||
'''Turn on the radio to Radio New Vegas:''' | |||
PipboyRadio 1 RNVTARef | |||
==Notes== | |||
* The radio station is specified by passing a reference to the talking activator that broadcasts the radio station. | |||
* If the radio station is disabled or out of range, it cannot be selected using "tune". | |||
* Tuning in to a specific radio station with "Tune" only works if the Pipboy radio is currently active. If it is not active, the station will not change, and <tt>PipboyRadio 1</tt> will start playing the last radio station the player was listening to, not the one specified by "Tune". | |||
* If no station is specified when using pipboyradio 1 it will cause a bug where one incorrect song will be played before returning to the last played stations correct audio. This also applies when using the tune function after pipboyradio 1, so make sure to always specify a station when using pipboyradio 1. | |||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Functions (GECK 1.1)]] | |||
[[Category:Radio Functions]] | [[Category:Radio Functions]] | ||
[[Category:Radio Functions (GECK 1.1)]] |
Latest revision as of 23:12, 27 May 2015
< [[::Category:Functions|Category:Functions]]
A function included in the GECK version 1.1.0.36.
Description
Controls the Pipboy radio. Can switch it on or off and tune into a specific radio station.
Syntax
PipBoyRadio Command:string{0,1,Tune} RadioStation:ObjectReferenceID
Or:
PRAD Command:string{0,1,Tune} RadioStation:ObjectReferenceID
Examples
Tune in to Galaxy News Radio:
PipboyRadio tune RadioGalaxyNewsRef02
Turn off the radio:
PipboyRadio 0
Turn on the radio to the last played station:
PipboyRadio 1
Turn on the radio to Radio New Vegas:
PipboyRadio 1 RNVTARef
Notes
- The radio station is specified by passing a reference to the talking activator that broadcasts the radio station.
- If the radio station is disabled or out of range, it cannot be selected using "tune".
- Tuning in to a specific radio station with "Tune" only works if the Pipboy radio is currently active. If it is not active, the station will not change, and PipboyRadio 1 will start playing the last radio station the player was listening to, not the one specified by "Tune".
- If no station is specified when using pipboyradio 1 it will cause a bug where one incorrect song will be played before returning to the last played stations correct audio. This also applies when using the tune function after pipboyradio 1, so make sure to always specify a station when using pipboyradio 1.