Effect on ammo removal

Discussion in 'Mod Support' started by YourLocalMadSci, June 24, 2014.

  1. YourLocalMadSci

    YourLocalMadSci Well-Known Member

    Messages:
    766
    Likes Received:
    762
    Currently, ammo entities can have a "lifetime" value, which removes them from the world after a number of seconds. Is there any way to trigger an effect at the end of that lifetime when the ammo gets removed, for example, having a shell which explodes after 1 second, even if it doesn't hit anything? It seems the "events":{"died": } flag will only trigger when the shell hits something, and I've only seen it been used for playing a visual effect, rather than triggering a weapon (such as an AOE). I've also tried giving ammo a death-weapon, and using "sim_fire_effect" to see if I can trigger a pbaoe effect, but I've still not had any luck.

    Any suggestions, or is this not possible without additional hooks?
    ace63 and nanolathe like this.

Share This Page