Difference between revisions of "GetRadiationLevel"
Jump to navigation
Jump to search
imported>Henning (→Notes) |
imported>Jazzisparis |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
=='''Syntax'''== | =='''Syntax'''== | ||
[''ActorRef.'']GetRadiationLevel | (float) [''ActorRef.'']GetRadiationLevel | ||
=='''Examples'''== | =='''Examples'''== | ||
Line 14: | Line 14: | ||
*The radiation level is directly proportional to your rads/sec meter. So a radiation level of 3 would give you 3 rads/sec. | *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'''. | *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.