# HG changeset patch # User RedGrinner@gmail.com # Date 1316957912 0 # Node ID 6bf231a611a7ce9f1efb7a463639a3d4a3848ce6 # Parent 9ca80a93aae0a6622b933bae424cf2f0255511af Edited wiki page LuaAPI through web user interface. diff -r 9ca80a93aae0 -r 6bf231a611a7 LuaAPI.wiki --- a/LuaAPI.wiki Sun Sep 25 13:31:17 2011 +0000 +++ b/LuaAPI.wiki Sun Sep 25 13:38:32 2011 +0000 @@ -229,26 +229,15 @@
returns the name of the specified hedgehog gear-=== !SetHogName(gearUid, name) === - -
Sets the name of the specified hedgehog gear -=== !GetHogHat(gearUid) ===
Returns the hat of the specified hedgehog gear-=== !SetHogHat(gearUid, hat) === -
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 @@ -429,6 +418,18 @@Makes the gameclient follow the specifiec gear.+=== !SetHogName(gearUid, name) === + +Sets the name of the specified hedgehog gear ++=== !SetHogHat(gearUid, hat) === + +Sets the hat of the specified hedgehog gear ++=== !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. +=== !SetState(gearUid, state) ===Sets the state of the specified gear to one of [States].