Difference between revisions of "GetRadiationLevel"
Jump to navigation
Jump to search
imported>Kkuhlmann |
imported>Jazzisparis |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
=='''Description'''== | =='''Description'''== | ||
'''GetRadiationLevel''' returns the specified actor's current | '''GetRadiationLevel''' returns the radiation level in the specified actor's current environment. | ||
=='''Syntax'''== | =='''Syntax'''== | ||
(float) [''ActorRef.'']GetRadiationLevel | |||
=='''Examples'''== | =='''Examples'''== | ||
if GetRadiationLevel | if player.GetRadiationLevel == 100 | ||
Condition is true if the player currently | Condition is true if the player is currently in an area with a radiation level of 100. | ||
=='''Notes'''== | =='''Notes'''== | ||
* | *The radiation level is directly proportional to your rads/sec meter. So a radiation level of 3 would give you 3 rads/sec. | ||
*To get the current radiation value of an actor use [[GetAV]] '''radiationrads'''. | |||
==See Also== | |||
*[[GetRadiationLevelAlt]] | |||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Functions (GECK 1.1)]] | |||
[[Category:Condition Functions]] | [[Category:Condition Functions]] | ||
[[Category:Condition Functions (GECK 1.1)]] | |||
[[Category:Actor State Functions]] | [[Category:Actor State Functions]] | ||
[[Category:Actor State Functions (GECK 1.1)]] |
Latest revision as of 19:36, 30 March 2016
Description[edit | edit source]
GetRadiationLevel returns the radiation level in the specified actor's current environment.
Syntax[edit | edit source]
(float) [ActorRef.]GetRadiationLevel
Examples[edit | edit source]
if player.GetRadiationLevel == 100
Condition is true if the player is currently in an area with a radiation level of 100.
Notes[edit | edit source]
- The radiation level is directly proportional to your rads/sec meter. So a radiation level of 3 would give you 3 rads/sec.
- To get the current radiation value of an actor use GetAV radiationrads.