-
Notifications
You must be signed in to change notification settings - Fork 11
Sound (Effects)
Ramone Kemono edited this page May 21, 2023
·
3 revisions
This component is used to play a sound at the effect's position.
The sound
component is inline, meaning that is is written directly in the effect that uses it. For example:
effect MyEffect
sound -name 0xCAFED00D
end
Keyword: sound
-name <id>
The name of the sound .soundProp
file.
-loop
This option loop the audio after it is played. Note: Without the -loop
option, the sound would be played once, however, it will not stop if the effect is terminated mid-way, such as in Test Drive mod. With the -loop
option, it will end the moment the effect is terminated.
-soundFlags <bitfield>
-field_18 <int>
-field_1C <float>
-field_20 <float>
-field_24 <float>