Added GetGearElasticity
authorRedGrinner
Thu, 30 Dec 2010 23:01:07 +0000
changeset 74 6130cad02b02
parent 73 c6623486d077
child 75 2ef49675d837
Added GetGearElasticity
LuaAPI.wiki
--- a/LuaAPI.wiki	Mon Dec 13 19:23:34 2010 +0000
+++ b/LuaAPI.wiki	Thu Dec 30 23:01:07 2010 +0000
@@ -166,6 +166,14 @@
 
 <blockquote>returns tuple of dx,dy values for the specified gear
 </blockquote>
+=== <tt>!GetGearElasticity(gearUid)</tt> ===
+
+<blockquote>Returns the elasticity of the specified gear. Useful for determining if a hog is on a rope or not. If a hog is attached to a rope, or is busy firing one, the elasticity of the rope will be non-zero.
+</blockquote>
+=== <tt>!GetGearVelocity(gearUid)</tt> (dev) ===
+
+<blockquote>returns tuple of dx,dy values for the specified gear
+</blockquote>
 === <tt>!GetHogClan(gearUid)</tt> ===
 
 <blockquote>returns the clan id of the specified hedgehog gear