Difference between revisions of "GetRadiationLevel"
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 | '''GetRadiationLevel''' returns the radiation level in the specified actor's current environment. | ||
=='''Syntax'''== | =='''Syntax'''== | ||
[''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'''== | ||
* | *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.