OpenXcom Forum

Modding => Help => Topic started by: The Martian on August 14, 2023, 06:34:08 pm

Title: meleeMissSound:
Post by: The Martian on August 14, 2023, 06:34:08 pm
On the Ruleset Reference (https://www.ufopaedia.org/index.php?title=OpenXcom) I noticed that meleeMissSound's description says:
Quote
meleeMissSound - Sound ID from BATTLE.CAT played when this weapon misses a target with melee. Can be a list with multiple options.
I'm taking that to mean a sound will be randomly selected from the list and not that each will be played in sequence.

So far I haven't found an example of meleeMissSound: being used on the forum.

When used how is it phrased in the code, like this?
Code: [Select]
items:
  - type: STR_EXAMPLE_ITEM
    meleeMissSound: [3, 55, 66, 88, 77, 10]