LuaGears: nImpactSounds: Add link
authorWuzzy
Mon, 15 Jul 2019 15:46:50 +0100
changeset 1947 3cc17b9eed3f
parent 1946 fabbc283a035
child 1948 e62b8461ec01
LuaGears: nImpactSounds: Add link
LuaGears.wiki
--- a/LuaGears.wiki	Mon Jul 15 15:44:47 2019 +0100
+++ b/LuaGears.wiki	Mon Jul 15 15:46:50 2019 +0100
@@ -382,7 +382,7 @@
 
  * `Radius`: Effect or collision radius, most of the time
  * `ImpactSound`: Sound it makes on a collision (see [Sounds])
- * `nImpactSounds`: Must be used together with `ImpactSound`. Number of different impact sounds to use. `0`: Disable impact sound. `1`: Use sound selected in `ImpactSound`. `2` or higher: Uses a random impact sound each impact. The first possible sound is `ImpactSound`, the second possible sound is `ImpactSound+1`, and so on. For example, if `ImpactSound` is `sndHellishImpact1` and `nImpactSounds` equals 4, the impact sounds will be `sndHellishImpact1` to `sndHellishImpact4`
+ * `nImpactSounds`: Must be used together with `ImpactSound`. Number of different impact sounds to use. `0`: Disable impact sound. `1`: Use sound selected in `ImpactSound`. `2` or higher: Uses a random impact sound each impact. The first possible sound is `ImpactSound`, the second possible sound is `ImpactSound+1`, and so on. The order of sounds is specified at [https://hg.hedgewars.org/hedgewars/file/default/hedgewars/uTypes.pas#l120]. For example, if `ImpactSound` is `sndHellishImpact1` and `nImpactSounds` equals 4, the impact sounds will be `sndHellishImpact1` to `sndHellishImpact4`
  * `Tint`: Used by some gear types to determine its colorization. The color is in RGBA format.
  * `Boom`: Used by most gears to determine the damage dealt.