GetEventID routine

TURBU

GetEventID routine

 

Returns the ID # of the event at a certain square.

 

Syntax

 

function getEventID(x, y: word): word;

 

Description

 

This function is used to find the ID # of the event on the map at grid position x,y.  If x,y is not a valid location, orif there is no event at that square, the function returns a value of 0.

 

Related topics

getTerrainID routine

This help file was created with the free trial version of HelpScribble.