Fix GetGearValues return value
authorWuzzy
Thu, 10 Sep 2015 00:55:08 +0000
changeset 616 51fafc27af9c
parent 615 632e4dcc8b52
child 617 3a43d4134806
Fix GetGearValues return value
LuaAPI.wiki
--- a/LuaAPI.wiki	Thu Sep 10 00:50:42 2015 +0000
+++ b/LuaAPI.wiki	Thu Sep 10 00:55:08 2015 +0000
@@ -528,11 +528,11 @@
 Get pos of specified gear.
 
 === <tt>!GetGearValues(gearUid)</tt> (0.9.22) ===
-This returns 12 values associated with the gear, their meaning is often depending on the gear type and many values might be unused for certain gear types.
+This returns a bunch of values associated with the gear, their meaning is often depending on the gear type and many values might be unused for certain gear types.
 
 This is returned (all variables are integers):
 
-`Angle, Power, WDTimer, Radius, Karma, DirAngle, AdvBounce, ImpactSound, nImpactSounds, Tint`
+`Angle, Power, WDTimer, Radius, Density, Karma, DirAngle, AdvBounce, ImpactSound, nImpactSounds, Tint`
 
 A rough description of some of the parameters:
 
@@ -542,8 +542,8 @@
 
 Example:
 <code language="lua">
--- Get all 12 values in a single line of code:
-local Angle, Power, WDTimer, Radius, Karma, DirAngle, AdvBounce, ImpactSound, nImpactSounds, Tint = GetGearValues(myGear)
+-- Get all values in a single line of code:
+local Angle, Power, WDTimer, Radius, Density, Karma, DirAngle, AdvBounce, ImpactSound, nImpactSounds, Tint = GetGearValues(myGear)
 </code>
 
 === <tt>!GetVisualGearValues(vgUid)</tt> ===