LuaAPI.wiki
changeset 75 2ef49675d837
parent 74 6130cad02b02
child 76 0cdebc52edad
equal deleted inserted replaced
74:6130cad02b02 75:2ef49675d837
   160 </blockquote>
   160 </blockquote>
   161 === <tt>!GetGearPosition(gearUid)</tt> ===
   161 === <tt>!GetGearPosition(gearUid)</tt> ===
   162 
   162 
   163 <blockquote>returns tuple of x,y coordinates for the specified gear
   163 <blockquote>returns tuple of x,y coordinates for the specified gear
   164 </blockquote>
   164 </blockquote>
   165 === <tt>!GetGearVelocity(gearUid)</tt> (dev) ===
   165 === <tt>!GetGearVelocity(gearUid)</tt> (0.9.15) ===
   166 
   166 
   167 <blockquote>returns tuple of dx,dy values for the specified gear
   167 <blockquote>returns tuple of dx,dy values for the specified gear
   168 </blockquote>
   168 </blockquote>
   169 === <tt>!GetGearElasticity(gearUid)</tt> ===
   169 === <tt>!GetGearElasticity(gearUid) (0.9.15)</tt> ===
   170 
   170 
   171 <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.
   171 <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.
   172 </blockquote>
       
   173 === <tt>!GetGearVelocity(gearUid)</tt> (dev) ===
       
   174 
       
   175 <blockquote>returns tuple of dx,dy values for the specified gear
       
   176 </blockquote>
   172 </blockquote>
   177 === <tt>!GetHogClan(gearUid)</tt> ===
   173 === <tt>!GetHogClan(gearUid)</tt> ===
   178 
   174 
   179 <blockquote>returns the clan id of the specified hedgehog gear
   175 <blockquote>returns the clan id of the specified hedgehog gear
   180 </blockquote>
   176 </blockquote>