http://maniacsvault.net/ecwolf/w/index.php?title=A_CustomPunch&feed=atom&action=historyA CustomPunch - Revision history2024-03-29T13:12:42ZRevision history for this page on the wikiMediaWiki 1.35.8http://maniacsvault.net/ecwolf/w/index.php?title=A_CustomPunch&diff=88&oldid=prevBlzut3: Created page with "'''A_CustomPunch''' (int ''damage''[, bool ''norandom''[, int ''flags''[, string ''pufftype''[, float ''range''[, float ''lifesteal'']]]]]) Performs a player melee attack. * ..."2012-10-01T19:39:20Z<p>Created page with "'''A_CustomPunch''' (int ''damage''[, bool ''norandom''[, int ''flags''[, string ''pufftype''[, float ''range''[, float ''lifesteal'']]]]]) Performs a player melee attack. * ..."</p>
<p><b>New page</b></p><div>'''A_CustomPunch''' (int ''damage''[, bool ''norandom''[, int ''flags''[, string ''pufftype''[, float ''range''[, float ''lifesteal'']]]]])<br />
<br />
Performs a player melee attack.<br />
* ''damage'': The amount of damage the attack will deal.<br />
* ''norandom'': If true the damage will not be multiplied by a random factor. By default it is multiplied by some number 1-8.<br />
* ''flags'': Changes the behavior of the function.<br />
** '''CPF_USEAMMO''' - Causes the function to draw from the weapon's ammo supply.<br />
** '''CPF_ALWAYSPLAYSOUND''' - The function will play the attack sound even if nothing is hit.<br />
* ''pufftype'': Ignored for now. Will eventually default to BulletPuff.<br />
* ''range'': Is the range of the attack in map pixels.<br />
* ''lifesteal'': The factor of the amount of damage to give back to the calling actor. (Default is 0.)</div>Blzut3