Difference between revisions of "Osiris/API/CreateSurface"

From Divinity Engine Wiki
Jump to: navigation, search
(Created page with "===== Full Definition(s) ===== * call '''CreateSurface'''(''(GUIDSTRING)'''''_Source''', ''(STRING)'''''_SurfaceType''', ''(REAL)'''''_Radius''', ''(REAL)'''''_Lifetime''') ==...")
 
m
 
(3 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
* Creates a circular surface of type '''_SurfaceType''', with a radius of '''_Radius''' meters and a lifetime of '''_Lifetime''' seconds, around the '''_Source'''.
 
* Creates a circular surface of type '''_SurfaceType''', with a radius of '''_Radius''' meters and a lifetime of '''_Lifetime''' seconds, around the '''_Source'''.
 
===== Notes =====
 
===== Notes =====
* Use -1.0 for the _Lifetime for a permanent surface.
+
* Use -1.0 as '''_Lifetime''' for a permanent surface.
 
===== See Also =====
 
===== See Also =====
* [[Osiris/API/GetSurfaceSize|GetSurfaceSize]]
 
 
* [[Osiris/API/CreatePuddle|CreatePuddle]]
 
* [[Osiris/API/CreatePuddle|CreatePuddle]]
 +
* [[Osiris/API/GetSurfaceTurns|GetSurfaceTurns]]
 
* [[Osiris/API/CreateSurfaceAtPosition|CreateSurfaceAtPosition]]
 
* [[Osiris/API/CreateSurfaceAtPosition|CreateSurfaceAtPosition]]
 
* [[Osiris/API/DrawSurfaceOnPath|DrawSurfaceOnPath]]
 
* [[Osiris/API/DrawSurfaceOnPath|DrawSurfaceOnPath]]
Line 15: Line 15:
 
* [[Osiris/API/GetSurfaceGroundOwnerAt|GetSurfaceGroundOwnerAt]]
 
* [[Osiris/API/GetSurfaceGroundOwnerAt|GetSurfaceGroundOwnerAt]]
 
* [[Osiris/API/GetSurfaceNameByTypeIndex|GetSurfaceNameByTypeIndex]]
 
* [[Osiris/API/GetSurfaceNameByTypeIndex|GetSurfaceNameByTypeIndex]]
 +
* [[Osiris/API/GetSurfaceSize|GetSurfaceSize]]
 
* [[Osiris/API/GetSurfaceTypeIndex|GetSurfaceTypeIndex]]
 
* [[Osiris/API/GetSurfaceTypeIndex|GetSurfaceTypeIndex]]
 
* [[Osiris/API/StopDrawSurfaceOnPath|StopDrawSurfaceOnPath]]
 
* [[Osiris/API/StopDrawSurfaceOnPath|StopDrawSurfaceOnPath]]
Line 20: Line 21:
 
* [[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]]

Latest revision as of 22:31, 11 March 2019

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 as _Lifetime for a permanent surface.
See Also