Difference between revisions of "Manual:DIL Manual/visible()"

From DikuMUD Wiki
Jump to navigation Jump to search
(XML import)
 
(No difference)

Latest revision as of 13:08, 27 May 2020


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)) ...
---~---~---~---~---~---~---~---~---