ACE3/addons/grenades/script_component.hpp
johnb432 9760095c42
Grenades - Fix how incendiary grenades do damage to vehicles (#9983)
* Allow incendiary grenades to damage multiple vehicles

Disable incendiaries damaging invulnerable vehicles

* Apply fire damage to vehicles even after grenade detonation

* Update fnc_damageEngineAndWheels.sqf

* Update fnc_incendiary.sqf

* Update fnc_damageEngineAndWheels.sqf

* british people don't exist

---------

Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
2024-06-11 07:59:36 -07:00

27 lines
619 B
C++

#define COMPONENT grenades
#define COMPONENT_BEAUTIFIED Grenades
#include "\z\ace\addons\main\script_mod.hpp"
// #define DEBUG_MODE_FULL
// #define DISABLE_COMPILE_CACHE
// #define ENABLE_PERFORMANCE_COUNTERS
#ifdef DEBUG_ENABLED_GRENADES
#define DEBUG_MODE_FULL
#endif
#ifdef DEBUG_SETTINGS_GRENADES
#define DEBUG_SETTINGS DEBUG_SETTINGS_GRENADES
#endif
#include "\z\ace\addons\main\script_macros.hpp"
#define EFFECT_STAGE_RESETAI 0
#define EFFECT_STAGE_DELETELIGHT 1
#define EFFECT_STAGE_PARTIALRECOVERY 2
#define EFFECT_STAGE_FULLRECOVERY 3
#define EFFECT_SIZE 1
#define MIN_EXPLOSION_TIME_FOR_ROLL 1