Jump to content

Recommended Posts

So a friend asked me to use the bathat nightvision from hamlet on a character, and it took me a while but I finally got it to work properly and only work at night but the actual "nightvision" part doesn't (You can see everything, but the character is counted as in the dark, so they get hit by charlie still). I was wondering if I could get a second set of eyes on this to see where I went wrong.

friend mod template.rar

Don't see anything obvious. IIRC, the playervision component should handle nightvision darkness protection as long as the server is executing that part of the code.

It may be worthwhile to use commands to verify that AllPlayers[1].components.playervision.forcenightvision is true from the perspective of the server.

Edited by Bumber64
39 minutes ago, Bumber64 said:

Don't see anything obvious. IIRC, the playervision component should handle nightvision darkness protection as long as the server is executing that part of the code.

It may be worthwhile to use commands to verify that AllPlayers[1].components.playervision.forcenightvision is true from the perspective of the server.

Thank you, I'll check it out and get back to you!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...