# HG changeset patch # User Wuzzy # Date 1441849912 0 # Node ID e463f9d97820b4ba6ee89b8c502c13be4409f8ed # Parent e5a43575072374cf38b29594c4410b544d2eb531 Some copy-editing diff -r e5a435750723 -r e463f9d97820 LuaAPI.wiki --- 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 @@ === !GetGearMessage(gearUid) === -Returns the message of the gear. +Returns the message of the gear. This is a bitmask built out of flags seen in [GearMessages]. === !GetTag(gearUid) === 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 @@ === !SetGearMessage(gearUid, message) === ->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]. === !SetTag(gearUid, tag) === 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: