Types/TriggerEffect

From Official Factorio Wiki
Jump to navigation Jump to search

The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/types/TriggerEffect.html

This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.


An array of types/tables, or just one types/table. The tables are each loaded as one of the Types/TriggerEffectItem extensions, depending on the value of the type key in the table.

type

Type: Types/string

Mandatory member of each table in the array. Either "damage", "create-entity", "create-explosion", "create-fire", "create-smoke", "create-trivial-smoke", "create-particle", "create-sticker", "create-decorative", "nested-result", "play-sound", "push-back", "destroy-cliffs", "show-explosion-on-chart", "insert-item", "script", "set-tile", "invoke-tile-trigger", "destroy-decoratives" or "camera-effect".

Prototype properties that use this type