checkhole(x,z,y)
~it returns 1 if there's hole here, otherwise it returns 0
~y is optional but if you use it, then you can detect an hole just if hole height (default 0) >= y
checkholeindex(x,z,y)
~it works like checkhole() but it returns the index of hole in the level, otherwise it returns -1
~y is optional
~you can use hole index for get/change levelproperty
checkwall(x,z,y)
~it returns the height of wall from 0 (not wall or height 0) to... X height
~y is optional but if you use it, then you can detect walls from height y, otherwise with just 2 params (x,z) it uses the default value (y = 100000)
checkwallindex(x,z,y)
~it works like checkwall() but it returns the index of wall in the level, otherwise it returns -1
~y is optional
~you can use wall index for get/change levelproperty
checkbasemap(x,z)
~it returns the base height in X,Z coords.
~if there is a hole, it returns -1000
checkbasemapindex(x,z)
~it works like checkbasemap() but it returns the index of basemap in the level, otherwise it returns -1
~you can use basemap index for get/change levelproperty
checkplatformbelow(x,z,y)
~it returns the platform handler (entity) in X,Z coords below y height, otherwise it returns NULL()
checkplatformabove(x,z,y)
~it returns the platform handler (entity) in X,Z coords above y height, otherwise it returns NULL()
checkplatformbetween(x,z,y_min,y_max)
~it returns the platform handler (entity) in X,Z coords and bewteen y_min and y_max, otherwise it returns NULL()
generatebasemap(map_index,rx,rz,x_size,z_size,min_y,max_y,x_cont)
~It generates an inclined terrain
~map_index: is the index of basemap. the new basemap must have last_index + 1 -> last_index + 1 == openborvariant("numbasempas")
~rx: it generates basemap from coord X
~rz: it generates basemap from coord Z
~x_size: it generates basemap from coord X to x+x_size
~z_size: it generates basemap from coord Z to z+z_size
~min_y: is the minimum height
~max_y: is the maxmimum height
~you can invert min_y and max_y too!
~x_cont: is an optional parameter. yif you set it you generate a basemap from x to x_cont as you set from min_y,max_y param, but from x_cont to x_size
the basemap will have max_y height. Example: generate_basemap(index, rx, rz, x_size, z_size, min_y, max_y, x_cont); from x_cont to x_size basemap will have the max_y height.
you can find them in manual:
http://dcemulation.org/?title=OpenBORManual