Skip to content

SmokeGenerator (Special Effect)

aubergine10 edited this page Oct 20, 2015 · 2 revisions

##Overview

Yes, you can now generate smoke with the aptly named SmokeGenerator object.

##Modding

The following modding options are available...

###data/materials.txt

It's not defined anywhere, it's some sort of internal object.

###data/scripts/

-- create smoke generator
local smoke = Object.Spawn( 'SmokeGenerator', this.Pos.x, this.Pos.y )

-- some time later
smoke.Delete() -- remove smoke generator

##Notes

Note that Fire special effect automatically generates smoke as the fire starts to burn out.

##See Also

  • [Special Effects](Special Effects):
    • [Fire](Fire (Special Effect))

^ Open "Pages" to Search



Scripting:

Object-based:

  • [Fire](Fire (Special Effect))
  • [SmokeGenerator](SmokeGenerator (Special Effect))

Script-based:

Other Finds:

  • [Collectable](Collectable (Special Effect)) ⚠️
Clone this wiki locally