DingleMcDonglic Posted August 22, 2015 Share Posted August 22, 2015 Is there a way I can get an npc to do something if the player is being irradiated? does a "IsInRadiation" condition exist? Example: short dooncefloat ftimer begin gamemode if ((player being in radiation condition) == 1 && (doonce == 0)if timer < 5 set timer to timer + GetSecondsPassed NPCREF.additem caps001 1(I'm not actually looking to add caps)else set timer to 0 endifendifend I made that example ^^^ in a few sec so there is bound to be an error. Link to comment Share on other sites More sharing options...
Athelbras Posted August 22, 2015 Share Posted August 22, 2015 I am not aware of any such function call. However, you could monitor the value of "Player.GetAV RadiationRads" over time, and draw appropriate conclusions when (or as) it notably changes. Link to comment Share on other sites More sharing options...
DingleMcDonglic Posted August 22, 2015 Author Share Posted August 22, 2015 thanks for the quick answer! Link to comment Share on other sites More sharing options...
rickerhk Posted August 22, 2015 Share Posted August 22, 2015 Yes, there's a GetRadiationLevel function:http://geck.bethsoft.com/index.php?title=GetRadiationLevel Link to comment Share on other sites More sharing options...
Recommended Posts