Update onHogAttack
authoralmikes@aol.com
Sun, 21 Dec 2014 12:10:49 +0000
changeset 535 5cb76f048bd9
parent 534 f50cf1771b7f
child 536 119440f053e0
Update onHogAttack
LuaAPI.wiki
--- a/LuaAPI.wiki	Sun Dec 21 04:46:37 2014 +0000
+++ b/LuaAPI.wiki	Sun Dec 21 12:10:49 2014 +0000
@@ -242,8 +242,8 @@
 === <tt>onDownUp()</tt> ===
 This function is called when you release the down key.
  
-=== <tt>onHogAttack()</tt> ===
-This function is called when you press the attack key.
+=== <tt>onHogAttack(ammoType)</tt> ===
+This function is called when you press the attack key. Beginning with 0.9.21, the parameter `ammoType` is provided. It contains the ammo type of the weapon used for the attack.
 
 === <tt>onLeftUp()</tt> ===
 This function is called when you release the left key.