How do I simulate the gravgun?

models//props_junk/flare.mdl catches fire, lights the area, fires off effects and a sound when interacted by with the gravgun.
To save me the hassle of making a flare entity that does all this, how do I make it think it’s been picked up/punted by the gravgun?

[editline]11:28PM[/editline]

nevermind, I just needed to make an env_flare.
However, being able to simulate the gravgun might be useful. For making explosive barrels explosive etc.

The flare lighting is triggered by an input when it’s picked up by the Gravity Gun.

As for simulating punting, this should work:
[lua]
local phys = ent:GetPhysObject()
if phys:IsValid() then
phys:AddGameFlag( FVPHYSICS_WAS_THROWN )
end
[/lua]