Welcome to the Creatures Wiki! Log in and join the community.

VISI

From Creatures Wiki
Jump to navigation Jump to search

VISI is a CAOS command that checks if an object is visible on a camera.

Usage[edit]

Syntax: VISI checkallcameras(integer)

Checks if the object or any of its parts is visible on a camera. If checkallcameras is 0, it only checks the main game camera; if 1, it also checks remote cameras. Returns 1 if visible and 0 if not.

Example[edit]

Several scripts first check if an object is on-screen:

doif visi 0 eq 1