# HG changeset patch # User Wuzzy # Date 1441846508 0 # Node ID 51fafc27af9cfac7c5b767a35ba2c410d9dca970 # Parent 632e4dcc8b52c8386583c9826ab85796ae694c62 Fix GetGearValues return value diff -r 632e4dcc8b52 -r 51fafc27af9c 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. === !GetGearValues(gearUid) (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: --- 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) === !GetVisualGearValues(vgUid) ===