Detonate( <newowner> )

Module: Entity


Causes a grenade to explode. Must be called on a grenade.

Call this on:

<entity> A grenade


grenade Detonate( attacker );

Optional Args

  • 1 : <newowner> The player who will be the attacker if the grenade does damage to another player. If not specified, will be the original owner of the grenade.