--- a/LuaAPI.wiki Thu Sep 10 01:43:18 2015 +0000
+++ b/LuaAPI.wiki Thu Sep 10 01:51:52 2015 +0000
@@ -510,7 +510,7 @@
=== <tt>!GetGearMessage(gearUid)</tt> ===
-Returns the message of the gear.
+Returns the message of the gear. This is a bitmask built out of flags seen in [GearMessages].
=== <tt>!GetTag(gearUid)</tt> ===
Returns the tag of the specified gear (by `gearUid`).
@@ -554,7 +554,7 @@
A rough description of some of the parameters:
* `Radius`: Effect or collision radius, most of the time
- * `ImpactSound`: Sound it makes on a collision (see [[Sounds]])
+ * `ImpactSound`: Sound it makes on a collision (see [Sounds])
* `Tint`: Used by some gear types to determine its colorization. The color is in RGBA format.
Example:
@@ -826,7 +826,7 @@
</code>
=== <tt>!SetGearMessage(gearUid, message)</tt> ===
->Sets the message of the specified gear.
+Sets the gear messages of the specified gear. `message` is a bitmask built out of flags seen in [GearMessages].
=== <tt>!SetTag(gearUid, tag)</tt> ===
Sets the tag of the specified gear (by `gearUid`). A “tag” of a gear is simply an extra variable to modify misc. things. The meaning of a tag depends on the gear type. For example, for gtBall gears, it specifies the ball color, for gtAirAttack gears (airplane) it specifies the direction of the plane, etc. `tag` has to be an integer.
@@ -999,7 +999,7 @@
* `voicepack`: The name of the team’s voice pack (equals the directory name)
* `flag`: Optional argument for the name of the team’s flag (equals file name without the suffix)
-*Note: This works only for singleplayer training missions for now and will desync multiplayer games.
+*Note*: This works only for singleplayer training missions for now and will desync multiplayer games.
Example: