Osiris/API/CreateSurfaceAtPosition

From Divinity Engine Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Full Definition(s)
  • call CreateSurfaceAtPosition((REAL)_X,(REAL)_Y,(REAL)_Z, (STRING)_SurfaceType, (REAL)_Radius, (REAL)_Lifetime)
Description
  • Creates a circular surface of type _SurfaceType, with a radius of _Radius meters and a lifetime of _Lifetime seconds, around the position given by _X and _Z. The _Y parameter isn't actually used because the surface is created on the AIgrid anyway.
Notes
  • Use -1.0 for the _Lifetime for a permanent surface.
See Also