Osiris/API/CreateSurfaceAtPosition

From Divinity Engine Wiki
Revision as of 13:02, 20 December 2017 by LarIlya (talk | contribs) (Created page with "===== Full Definition(s) ===== * call '''CreateSurfaceAtPosition'''(''(REAL)'''''_X''',''(REAL)'''''_Y''',''(REAL)'''''_Z''', ''(STRING)'''''_SurfaceType''', ''(REAL)'''''_Rad...")
(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