Code: Select all
Actor StaffPuffEx : StaffPuff2
{
	+NoDamageThrust
	+PuffGetsOwner
	States
	{
	Spawn:
		PUF4 A 0 Bright
		PUF4 A 0 A_RadiusGive ("SS_Staff2Push", 1, RGF_Players|RGF_Monsters|RGF_Objects|RGF_Voodoo|RGF_NoTarget|RGF_Cube, 1)
		Goto Super::Spawn
	}
}
This suggestion is for an added flag ("RGF_Touch"?) that will actually behave like A_Explode, and give to any eligible actor that is even partially inside the give area. Unsure if this would work with the default "spherical" AOE, if it implies RGF_Cube that's perfectly fine with me.
(And no, I can't "just" use Pain state hacks or anything else that requires editing every actor that could possibly be attacked. This function is supposed to replace that crap.)

