ID:273737
 
Most of us know about opacity and how blocking light can actually show what would be truly visible to a person if the world was three dimensional. This opacity system is almost exactly what I want to use for my shooting system because I want the player to only be able to shoot what is truly visible to them. However... I don't want to actually black out parts of the map just to make this work.

So, is there a way to use this true sight idea without blacking out areas by using opacity?

Thanks :D
Raycasting :)
You can use the getline proc from AbyssDragon's BasicMath library to get the turfs along the line from the shooter to their target. Before shooting, check that all turfs along the line are clear.