heAd3r Posted September 9, 2012 Share Posted September 9, 2012 '#Hey Forum I got a question, I want to create a room where you got a level of radioactivity like in fallout, so when u enter the area u get sick or a disease kind of thing, maybe is possible for the entire room, but how can i just effect an area? thx! Link to comment Share on other sites More sharing options...
jshepler Posted September 10, 2012 Share Posted September 10, 2012 I'm new at this stuff, but I would guess a trigger volume? Link to comment Share on other sites More sharing options...
tnt90 Posted September 10, 2012 Share Posted September 10, 2012 I would say either a volume trigger like jshepler mentioned or a GetDistance(Game.GetPlayer()) function on an object in the center of where you want the 'radiation' to be. Could also be used to make the 'radiation' counter increase faster nearer the center if you want it completely like fallout. Link to comment Share on other sites More sharing options...
Cthuloot Posted September 10, 2012 Share Posted September 10, 2012 You almost certainly need a new variable to keep track of the radiation as well if you want it to stay with the player after leaving the room. Link to comment Share on other sites More sharing options...
assterixxx Posted September 11, 2012 Share Posted September 11, 2012 if you only have the disease in one room and you aren't effected long term, you could just attach a script to the door you enter with the effect, and the opposite at the door you exit from. This is a crude way of doing it, but it could be easier to do, if you only have the radiation in the closed room. Hope it helps Link to comment Share on other sites More sharing options...
Recommended Posts