diff -r 0803dadcc229 -r 54e178bb6986 LuaAPI.wiki --- a/LuaAPI.wiki Thu Mar 24 10:18:02 2011 +0000 +++ b/LuaAPI.wiki Thu Mar 24 12:43:03 2011 +0000 @@ -93,6 +93,47 @@
This function is called when the game is initialized to request the available ammo and ammo probabilities. Use !SetAmmo here.
+ +=== onAttack() === + +
This function is called when your Hedgehog attacks. +
+ +=== onHJummp() === + +
This function is called when you press the high jump key. +
+ +=== onLJummp() === + +
This function is called when you press the long jump key. +
+ +=== onPrecise() === + +
This function is called when you press the precise key. +
+ +=== onLeft() === + +
This function is called when you press the left key. +
+ +=== onRight() === + +
This function is called when you press the right key. +
+ +=== onUp() === + +
This function is called when you press the up key. +
+ +=== onDown() === + +
This function is called when you press the down key. +
+ == Functions for creating gears == === !AddGear(x, y, gearType, state, dx, dy, timer) ===