-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
To increase immersion a sound impact will feature four sound types:
- raise,
- still,
- fall,
- end
The syntax can be as following:
sound = {
on_raise = { sound = "raise.ogg", gain = 0.5, length = "1.4", loop = false },
on_still = { sound = "sound.ogg", gain = 0.5, length = "1.4", loop = true },
on_fall = { sound = "sound.ogg", gain = 0.5, length = "1.4", loop = false },
on_end = { sound = "sound.ogg", gain = 0.5, length = "1.4", loop = false },
to_target = false,
},
I think it's pretty self-explanatory.
- The length var is needed for proper looping of the sound if
loop = true. to_target = truewill play the sound to the target (player) only, while whenfalseit plays it on target position to everyone.- I use the
on_prefix for vars because I don't think I can call endend🙂
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request