Skip to content

Manual:DIL Manual visible()

iamnove edited this page Jan 18, 2023 · 55 revisions


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)) ...
---~---~---~---~---~---~---~---~---
Clone this wiki locally