Jump to content

Recommended Posts

Posted

'#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!

Posted
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.
Posted
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.
Posted

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...