Difference between revisions of "Osiris/API/CreateSurfaceAtPosition"

From Divinity Engine Wiki
Jump to: navigation, search
(Created page with "===== Full Definition(s) ===== * call '''CreateSurfaceAtPosition'''(''(REAL)'''''_X''',''(REAL)'''''_Y''',''(REAL)'''''_Z''', ''(STRING)'''''_SurfaceType''', ''(REAL)'''''_Rad...")
 
m
 
Line 7: Line 7:
 
===== See Also =====
 
===== See Also =====
 
* [[Osiris/API/CreatePuddle|CreatePuddle]]
 
* [[Osiris/API/CreatePuddle|CreatePuddle]]
 +
* [[Osiris/API/GetSurfaceTurns|GetSurfaceTurns]]
 
* [[Osiris/API/CreateSurface|CreateSurface]]
 
* [[Osiris/API/CreateSurface|CreateSurface]]
 
* [[Osiris/API/DrawSurfaceOnPath|DrawSurfaceOnPath]]
 
* [[Osiris/API/DrawSurfaceOnPath|DrawSurfaceOnPath]]

Latest revision as of 21:45, 22 February 2018

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