Hello,
I am facing an issue where Satchels can be picked up after using a water gun to put out the fuse and when picked up it counts as EntityKill which makes sense.
What is the best way to check if the Satchel has actually been killed from exploding or a player picking it up?
void OnEntityKill(TimedExplosive explosive, BaseNetworkable entity)
{
BasePlayer creator = explosive.creatorEntity as BasePlayer;
if (explosive.ShortPrefabName == "explosive.satchel.deployed")
{
Puts("Exploded or picked up");
}
}