LuaAPI.wiki
changeset 141 b10bef9ac535
parent 140 04d82b673bc4
child 142 4926fef16e6c
equal deleted inserted replaced
140:04d82b673bc4 141:b10bef9ac535
   235 </blockquote>
   235 </blockquote>
   236 === <tt>!GetHogHat(gearUid)</tt> ===
   236 === <tt>!GetHogHat(gearUid)</tt> ===
   237 
   237 
   238 <blockquote>Returns the hat of the specified hedgehog gear
   238 <blockquote>Returns the hat of the specified hedgehog gear
   239 </blockquote>
   239 </blockquote>
   240 
   240 === <tt>!GetAmmoCount(gearUid, ammoType) (0.9.16)</tt> ===
       
   241 
       
   242 <blockquote>Returns the ammo count of the specified ammo type for the specified hedgehog gear.
       
   243 </blockquote>
   241 === <tt>!GetGearTarget(gearUid, x, y)  (0.9.16)</tt> ===
   244 === <tt>!GetGearTarget(gearUid, x, y)  (0.9.16)</tt> ===
   242 
   245 
   243 <blockquote>Returns the x and y coordinate of target-based weapons/utilities. <b> Note: </b>: This can't be used in onGearAdd() but must be called after gear creation. 
   246 <blockquote>Returns the x and y coordinate of target-based weapons/utilities. <b> Note: </b>: This can't be used in onGearAdd() but must be called after gear creation. 
   244 </blockquote>
   247 </blockquote>
   245 === <tt>GetX(gearUid)</tt> ===
   248 === <tt>GetX(gearUid)</tt> ===