SphereCommunity

Full Version: Cansee Request
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I have a request for CANSEE and CANSEELOS
A method to know where ur visión gets blocked. Just adding a local during process.


Code:
Local.BlockingPOS R
Explanation:
This local would be generated when there is no vision, and it should store the coordenates where the vision gets blocked.

Example:
Code:
CAll src.canseelos <target.p>
if <local.BlockingPOS> //you cant see the target
    
else //you does

endif

This way allow u to know if u see target as usual, but also the coordinate where your visión gets blocked. I think this is the best way. So, if u need to know where vision gets blocked, u just call "cansee". If u dont need it, u use the functions as always.

I´m going to do my own function by script anyway. Even with this Little change, i would not be allow to do what i need. I need much more. xD But I think, this "local.blockpos" should be implemented.
Reference URL's