Difference between revisions of "Osiris/API/CreateSurfaceAtPosition"
From Divinity Engine Wiki
(Created page with "===== Full Definition(s) ===== * call '''CreateSurfaceAtPosition'''(''(REAL)'''''_X''',''(REAL)'''''_Y''',''(REAL)'''''_Z''', ''(STRING)'''''_SurfaceType''', ''(REAL)'''''_Rad...") |
(No difference)
|
Revision as of 14:02, 20 December 2017
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.