Method 1: set projectile to detonate on alt-trigger, proximity.
- Seems easiest way to do it. My concern is is that, once fired, it would detect that the player is in proximity and would explode immediately once fired.
Method 2: set trigger type to "detonates" like C4, then somehow detonate it when it's in the right place
- I can conceive of a way to detonate it via script at the appropriate distance. Problem is, I only know the method for detonating all placed charges simultaneously, player.DetonatePlacedExplosives. If multiple rounds are in the air simultaneously, it would detonate all of them simultaneously, which would definitely be undesirable, and it would detonate any placed C4, which is also undesirable. Is there a way to detonate an individual placed explosive? Or is there somewhere I can go to learn more about predefined functions like this? I tried searching the GECK wiki for it and found bupkis (projectile page doesn't even include the mention of the "detonates" trigger).