void self: Calling entity.
int type: Attack type.
int reset: Reset flag for pain animation.
Openborvariant additions:
float lasthitx: X location of last hit.
float lasthita: Y location of last hit.
float lasthitz: Z location of last hit.
New attack supplement: staydown {rise} {riseattack}
{rise} - Additional time in centiseconds before entity's next rise.
{riseattack} - Additional time in centiseconds before entity's next riseattack. If -1, entity cannot rise attack at all.
Both values are reset once entity rises or rise attacks. Open to get & changeentityproperites as:
int iRise = getentityproperty(vEntity, "staydown");
int iRiseattack = getentityproperty(vEntity, "staydownatk");
changeentityproperty(vEntity, "staydown", {rise}, {riseattack});