noannoyances doesn't include detpacks and pipes?
Just wondering why detpacks and pipes can still go off when grenades and other things do not when I have a trigger set with the name noannoyances. Is there a way around this?
|
Code:
function noannoyances:onexplode( explode_entity ) return EVENT_DISALLOWED end By default, it's set to check whether it's a grenade exploding, disallow if it is, but allow if it isn't. This will make any noannoyances in your map remove all explosions (detpacks, pipes - maybe RPG rockets as well, however). |
This didn't work. I replaced the original noannoyances grenade code from the base teamplay lua file with your function and it still prevents grenades from exploding, but detpacks and pipes still explode when they go off in game.
|
That's annoying.
|
Very strange.
I guess Lua simply doesn't recognise detpacks and pipes as exploding entities. Nothing you can really do in that case. |
All times are GMT. The time now is 05:07 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.