Difference between revisions of "GetRadiationLevel"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Qazaaq
(correcting syntax and description)
imported>Jazzisparis
 
(4 intermediate revisions by 3 users not shown)
Line 5: Line 5:
=='''Syntax'''==
=='''Syntax'''==


  [''ActorRef.'']GetRadiationLevel
  (float) [''ActorRef.'']GetRadiationLevel


=='''Examples'''==
=='''Examples'''==
Line 12: Line 12:
Condition is true if the player is currently in an area with a radiation level of 100.
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'''.
*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.

See Also[edit | edit source]