AMARANT Posted January 21, 2014 Share Posted January 21, 2014 Hello there. How can I check that a player got caught in the rain? I know I can easily check the weather to see if it rains. But I want to do it more accurately so the player could seek shelter from the rain. For example, if you stand under the bridge while raining then my script won't have any effect. Thanks in advance. Link to comment
DiSaMe Posted January 21, 2014 Share Posted January 21, 2014 isLineOfSightClear processLineOfSight 1 Link to comment
AMARANT Posted January 22, 2014 Author Share Posted January 22, 2014 That will do, thanks Link to comment
Dretax Posted August 9, 2017 Share Posted August 9, 2017 This is actually interesting. Is rain some sort of a collosion or wut? Link to comment
_DrXenon Posted August 9, 2017 Share Posted August 9, 2017 (edited) @Dretax no, rain actually sucks in GTA:SA. I can easily recognize it as long dx lines on your 2D screen, especially when you set the rain level into a great level. Anyway, using processLineOfSight function will allow you to check whether or not you got a bridge above you and if returned true this means that rain can't reach you because the bridge is above not because the function checked if rain can reaxh you or not. Edited August 9, 2017 by SuperCroz Link to comment
Zorgman Posted August 10, 2017 Share Posted August 10, 2017 frostfall + real shelters Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now