Difference between revisions of "Osiris/API/CreateSurface"
From Divinity Engine Wiki
(Created page with "===== Full Definition(s) ===== * call '''CreateSurface'''(''(GUIDSTRING)'''''_Source''', ''(STRING)'''''_SurfaceType''', ''(REAL)'''''_Radius''', ''(REAL)'''''_Lifetime''') ==...") |
|||
Line 20: | Line 20: | ||
* [[Osiris/API/TransformSurfaceAtPosition|TransformSurfaceAtPosition]] | * [[Osiris/API/TransformSurfaceAtPosition|TransformSurfaceAtPosition]] | ||
* [[Scripting_surface_types|List of surface types]] | * [[Scripting_surface_types|List of surface types]] | ||
+ | |||
+ | |||
+ | [[Category:Osiris Calls|CreateSurface]] |
Revision as of 12:33, 20 December 2017
Full Definition(s)
- call CreateSurface((GUIDSTRING)_Source, (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 _Source.
Notes
- Use -1.0 for the _Lifetime for a permanent surface.