https://github.com/coelckers/gzdoom/blo ... s.txt#L883
Code: Select all
override void Activate (Actor activator)
{
if (health > 0) A_Die();
{
DamageMobj (activator, activator, 10, 'Melee', DMG_THRUSTLESS); // 'ring' the bell
}
}
Moderator: GZDoom Developers
Code: Select all
override void Activate (Actor activator)
{
if (health > 0) A_Die();
{
DamageMobj (activator, activator, 10, 'Melee', DMG_THRUSTLESS); // 'ring' the bell
}
}
Code: Select all
void AZBell::Activate (AActor *activator)
{
if (health > 0)
{
P_DamageMobj (this, activator, activator, 10, NAME_Melee, DMG_THRUSTLESS); // 'ring' the bell
}
}