Difference between revisions of "Osiris/API/TransformSurfaceAtPosition"

From Divinity Engine Wiki
Jump to: navigation, search
(Created page with "===== Full Definition(s) ===== * call '''TransformSurfaceAtPosition'''(''(REAL)'''''_X''', ''(REAL)'''''_Y''', ''(REAL)'''''_Z''', ''(STRING)'''''_TransformType''', ''(STRING)...")
 
m
 
Line 30: Line 30:
 
* [[Osiris/API/GetSurfaceGroundOwnerAt|GetSurfaceGroundOwnerAt]]
 
* [[Osiris/API/GetSurfaceGroundOwnerAt|GetSurfaceGroundOwnerAt]]
 
* [[Osiris/API/GetSurfaceNameByTypeIndex|GetSurfaceNameByTypeIndex]]
 
* [[Osiris/API/GetSurfaceNameByTypeIndex|GetSurfaceNameByTypeIndex]]
 +
* [[Osiris/API/GetSurfaceTurns|GetSurfaceTurns]]
 
* [[Osiris/API/GetSurfaceTypeIndex|GetSurfaceTypeIndex]]
 
* [[Osiris/API/GetSurfaceTypeIndex|GetSurfaceTypeIndex]]
 
* [[Osiris/API/StopDrawSurfaceOnPath|StopDrawSurfaceOnPath]]
 
* [[Osiris/API/StopDrawSurfaceOnPath|StopDrawSurfaceOnPath]]

Latest revision as of 21:47, 22 February 2018

Full Definition(s)
  • call TransformSurfaceAtPosition((REAL)_X, (REAL)_Y, (REAL)_Z, (STRING)_TransformType, (STRING)_TransformLayer, (REAL)_Radius, (REAL)_Lifetime, (GUIDSTRING)_Owner, (REAL)_GrowTime)
Description
  • Subject the surface in the _TransformLayer at the _X, _Y, _Z coordinates to _TransformType, out to a distance of _Radius metres where applicable. The lifetime and owner of the resulting surface are given by _Lifetime and _Owner.
Notes
  • _TransformType must be of the following:
    • Ignite: Ignites oil, poison.
    • Bless: Blesses.
    • Purify: Removes Blessed & Cursed.
    • Curse: Curses.
    • Electrify: Electrifies water and blood
    • Melt: Melts frozen water and blood.
    • Freeze: Freezes water and blood.
    • Condense: Turns a cloud into a ground-layer surface.
    • Vaporize: Turns a ground-layer surface into a cloud.
    • Bloodify: Turns water into blood.
    • Contaminate: Turns water and blood into poison.
  • _TransformLayer must be one of the following:
    • Ground: the transform affects surfaces on the ground.
    • Cloud: the transform affects clouds
See Also