Difference between revisions of "GetRadiationLevel"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Kkuhlmann
 
imported>Qazaaq
(correcting syntax and description)
Line 1: Line 1:
=='''Description'''==
=='''Description'''==


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


=='''Syntax'''==
=='''Syntax'''==


  GetRadiationLevel[''.ActorRef'']
  [''ActorRef.'']GetRadiationLevel


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


  if GetRadiationLevel.Player == 100
  if player.GetRadiationLevel == 100
Condition is true if the player currently has 100 points of radiation.
Condition is true if the player is currently in an area with a radiation level of 100.
 
=='''Notes'''==
=='''Notes'''==
*None at this time.
*To get the current radiation value of an actor use [[GetAV]] '''radiationrads'''.


[[Category:Functions]]
[[Category:Functions]]
[[Category:Condition Functions]]
[[Category:Condition Functions]]
[[Category:Actor State Functions]]
[[Category:Actor State Functions]]

Revision as of 04:29, 17 December 2008

Description

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

Syntax

[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

  • To get the current radiation value of an actor use GetAV radiationrads.