No rain through walls
#1

Is it even possible for the weather not to affect when you're inside a structure you made? Example, I placed a wall, made a home, but still, the rain, thunder, goes inside still. Is there any way to avoid that? How? Thanks.
Reply
#2

Yes, with a player timer you can check, if the player is in that area.

If so, use
Код:
SetPlayerWeather
so the weather is good just for him, cause he is inside a building.

If he leave it, it gets rainy again
Reply
#3

I think objects that you place in your code will always make the rain go through the objects that you placed, because they're not detected by the game as places where the rain shouldn't be. I guess the best thing you can do it's changing the weather when the player goes into the house, just like Kaliber said.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)