"mob/proc/Attack(Target as mob|obj|null in view())" returns this warning message.
Removing "in view()" gets rid of the warning. Putting "in view()" between "Target" and "as mob|obj|null" does not work at all.
The code works with the warning, but figured I better figure out why I get it.
Note: This code is an oversimplified version of what actually exists. I've tested it with this code and duplicated the warning message.