Types/TriggerEffect: Difference between revisions
Jump to navigation
Jump to search
0.17 |
Prototype property type usage |
||
| Line 19: | Line 19: | ||
* If this is <code>"show-explosion-on-chart"</code>, that definition is loaded as a [[Types/ShowExplosionOnChartTriggerEffectItem]], | * If this is <code>"show-explosion-on-chart"</code>, that definition is loaded as a [[Types/ShowExplosionOnChartTriggerEffectItem]], | ||
* If this is <code>"insert-item"</code>, that definition is loaded as a [[Types/InsertItemTriggerEffectItem]]. | * If this is <code>"insert-item"</code>, that definition is loaded as a [[Types/InsertItemTriggerEffectItem]]. | ||
{{Prototype property type usage|{{FULLPAGENAME}}}} | |||
Revision as of 16:27, 8 August 2019
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", "nested-result", "play-sound", "push-back", "destroy-cliffs" or "show-explosion-on-chart".
- If this is
"damage", that definition is loaded as a Types/DamageTriggerEffectItem, - If this is
"create-entity", that definition is loaded as a Types/CreateEntityTriggerEffectItem, - If this is
"create-explosion", that definition is loaded as a Types/CreateExplosionTriggerEffectItem, - If this is
"create-fire", that definition is loaded as a Types/CreateFireTriggerEffectItem, - If this is
"create-smoke", that definition is loaded as a Types/CreateSmokeTriggerEffectItem, - If this is
"create-trivial-smoke", that definition is loaded as a Types/CreateTrivialSmokeEffectItem, - If this is
"create-particle", that definition is loaded as a Types/CreateParticleTriggerEffectItem, - If this is
"create-sticker", that definition is loaded as a Types/CreateStickerTriggerEffectItem, - If this is
"nested-result", that definition is loaded as a Types/NestedTriggerEffectItem, - If this is
"play-sound", that definition is loaded as a Types/PlaySoundTriggerEffectItem, - If this is
"push-back", that definition is loaded as a Types/PushBackTriggerEffectItem, - If this is
"destroy-cliffs", that definition is loaded as a Types/DestroyCliffsTriggerEffectItem, - If this is
"show-explosion-on-chart", that definition is loaded as a Types/ShowExplosionOnChartTriggerEffectItem, - If this is
"insert-item", that definition is loaded as a Types/InsertItemTriggerEffectItem.