Difference between revisions of "GetRadiationLevel"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
imported>Ladez
m (Added returntype.)
Line 5: Line 5:
=='''Syntax'''==
=='''Syntax'''==


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


=='''Examples'''==
=='''Examples'''==

Revision as of 11:54, 29 January 2012

Description

GetRadiationLevel returns the radiation level in the specified actor's current environment.

Syntax

(float) [ActorRef.]GetRadiationLevel

Examples

if player.GetRadiationLevel == 100

Condition is true if the player is currently in an area with a radiation level of 100.

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.