Manual:DIL Manual/visible()

From DikuMUD Wiki
Jump to navigation Jump to search


integer visible(u1 : unitptr, u2 : unitptr)
   u1: The character who is looking at u2
   u2: The unit which the character u1 is trying to see.
   return: TRUE if u1 can see u2, FALSE otherwise.
   Example: if (visible(self, victim)) ...
---~---~---~---~---~---~---~---~---