Difference between revisions of "Osiris/API/CreateSurface"
From Divinity Engine Wiki
m |
m |
||
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 | + | * Use -1.0 as '''_Lifetime''' for a permanent surface. |
===== See Also ===== | ===== See Also ===== | ||
* [[Osiris/API/CreatePuddle|CreatePuddle]] | * [[Osiris/API/CreatePuddle|CreatePuddle]] |
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
- CreatePuddle
- GetSurfaceTurns
- CreateSurfaceAtPosition
- DrawSurfaceOnPath
- GetSurfaceCloudAt
- GetSurfaceCloudOwnerAt
- GetSurfaceGroundAt
- GetSurfaceGroundOwnerAt
- GetSurfaceNameByTypeIndex
- GetSurfaceSize
- GetSurfaceTypeIndex
- StopDrawSurfaceOnPath
- TransformSurface
- TransformSurfaceAtPosition
- List of surface types