Difference between revisions of "onMapSingleClick"

From Bohemia Interactive Community
Jump to navigation Jump to search
(false and other types clarified.)
m (puncuation)
Line 18: Line 18:
 
* _shift, _alt [[Boolean]] key states
 
* _shift, _alt [[Boolean]] key states
  
When click is processed, code should ultimately return [[true]] back to the engine. If [[false]] is returned, default processing by the game engine is done. Return value of any other type (including [[Nothing]] is an error. (In such case default processing by the game engine is done, and error message may be displayed).
+
When click is processed, code should ultimately return [[true]] back to the engine. If [[false]] is returned, default processing by the game engine is done. Return value of any other type (including [[Nothing]]) is an error. In such case default processing by the game engine is done, and error message may be displayed.
  
 
The code is executed on every click, until the '''Command''' is  
 
The code is executed on every click, until the '''Command''' is  

Revision as of 12:34, 28 November 2007