A
          / \      _             Play Now                         Nemesis on fb
          | |     | |  _______   _        _   _______    _______   _    _______
          | |\    | | |   ____| |  \    /  | |   ____|  /   ____| | |  /   ____|
 /-------/-------------------------------------------------------------------,
O= Home <=XX|  About  News  Pics  Adventurers  Wizards  Download  Connect     >
 \-------\-------------------------------------------------------------------'
          | |   \   | |  |____  | |      | | |  |____   ___ \  \  | |  ___ \  \
          | |     \_| |_______| |_|      |_| |_______| |_______/  |_| |_______/
          \ /
           V  

Documentation Area

Document Path: /doc/room/query_light_level


Name: query_light_level - get the current light level from a room

Syntax:
	#include <room2.h>
	int query_light_level();

Description:
	The query_light_level gets the light level from a room. 

Return value:
	A light level greater than zero means that it is light, a light level
	less or equal than zero means that it is dark.

Examples:
	int level;
	level=query_light_level();

See also:


This page was generated in LPC

Imprint / Impressum