# HG changeset patch # User RedGrinner@gmail.com # Date 1316957250 0 # Node ID dd7605730ec5639f30429699a713310c904bf396 # Parent 538adf2596b53c1b7157420a4fd58c1276f41330 Edited wiki page LuaAPI through web user interface. diff -r 538adf2596b5 -r dd7605730ec5 LuaAPI.wiki --- 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 @@
Sets the hat of the specified hedgehog gear
+=== GetGearTarget(gearUid, x, y) (0.9.16) === + +
Returns the x and y coordinate of target-based weapons/utilities. Note: : This can't be used in onGearAdd() but must be called after gear creation. +
+=== SetGearTarget(gearUid, x, y) (0.9.16) === + +
Sets the x and y coordinate of target-based weapons/utilities. Note: : This can't be used in onGearAdd() but must be called after gear creation. +
=== GetX(gearUid) ===
returns x coordinate of the gear