LuaAPI.wiki
changeset 137 dd7605730ec5
parent 136 538adf2596b5
child 138 9ca80a93aae0
--- a/LuaAPI.wiki	Sun Sep 25 13:21:02 2011 +0000
+++ b/LuaAPI.wiki	Sun Sep 25 13:27:30 2011 +0000
@@ -241,6 +241,14 @@
 
 <blockquote>Sets the hat of the specified hedgehog gear
 </blockquote>
+=== <tt>GetGearTarget(gearUid, x, y)  (0.9.16)</tt> ===
+
+<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. 
+</blockquote>
+=== <tt>SetGearTarget(gearUid, x, y) (0.9.16)</tt> ===
+
+<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. 
+</blockquote>
 === <tt>GetX(gearUid)</tt> ===
 
 <blockquote>returns x coordinate of the gear