Osiris/API/CreateSurfaceAtPosition

From Divinity Engine Wiki
Revision as of 22:45, 22 February 2018 by Tinkerer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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