LuaAPI.wiki
changeset 138 9ca80a93aae0
parent 137 dd7605730ec5
child 139 6bf231a611a7
equal deleted inserted replaced
137:dd7605730ec5 138:9ca80a93aae0
   239 </blockquote>
   239 </blockquote>
   240 === <tt>!SetHogHat(gearUid, hat)</tt> ===
   240 === <tt>!SetHogHat(gearUid, hat)</tt> ===
   241 
   241 
   242 <blockquote>Sets the hat of the specified hedgehog gear
   242 <blockquote>Sets the hat of the specified hedgehog gear
   243 </blockquote>
   243 </blockquote>
   244 === <tt>GetGearTarget(gearUid, x, y)  (0.9.16)</tt> ===
   244 === <tt>!GetGearTarget(gearUid, x, y)  (0.9.16)</tt> ===
   245 
   245 
   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. 
   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. 
   247 </blockquote>
   247 </blockquote>
   248 === <tt>SetGearTarget(gearUid, x, y) (0.9.16)</tt> ===
   248 === <tt>!SetGearTarget(gearUid, x, y) (0.9.16)</tt> ===
   249 
   249 
   250 <blockquote>Sets 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. 
   250 <blockquote>Sets 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. 
   251 </blockquote>
   251 </blockquote>
   252 === <tt>GetX(gearUid)</tt> ===
   252 === <tt>GetX(gearUid)</tt> ===
   253 
   253 
   254 <blockquote>returns x coordinate of the gear
   254 <blockquote>returns x coordinate of the gear
   255 </blockquote>
   255 </blockquote>