Sequence (Effects) - emd4600/SporeModder-FX GitHub Wiki

Sequence components are used to play a series of effects in a sequenced way, in order.

Keyword: sequence

Attributes

play <effect> -range <float> (<float>)

Used to play a single effect. Use this attribute as many times as effects you want to play.

The -range option is use to specify a time frame; if it is not specified, the effect will play until it dies. First <float> argument is how long the section will play, the second (<float>) is the bound value where the true value is radomly distributed between the two.

The sequence is played out with the first play in the list to the last one at the bottom.

Example:

sequence sequence-101
	play underwater_effect -range 12 
	play underwater_effect1 -range 2 
end

This code above will play the underwater_effect effect for 12 seconds, and then play the underwater_effect1 for 2 seconds.


flags <bitfield>

⚠️ **GitHub.com Fallback** ⚠️