ACE3/docs/wiki/framework/cookoff-framework.md
2024-01-27 09:14:10 +01:00

1.1 KiB

layout title description group order parent mod version
wiki Cook Off Framework Explains the Cook off system for developers & mission makers. framework 5 wiki ace
major minor patch
3 7 0

1. Disabling cook-off for individual vehicles

Cook-off can be disabled for a specific vehicle. "Cook-off" refers to the fire effects (visual & sounds) that happen when a vehicle is cooking off:

_vehicle setVariable ["ace_cookoff_enable", false, true];

Mission settings will always apply however, so you can't enable cook-off on a vehicle if the mission settings have cook-off for vehicles disabled.

2. Disabling ammunition cook-off for individual vehicles and boxes

Ammunition cook-off can be disabled for a specific vehicle or box. "Ammunition cook-off" refers to the ammunition exploding in a burning vehicle:

_vehicleOrBox setVariable ["ace_cookoff_enableAmmoCookoff", false, true];

Mission settings will always apply however, so you can't enable ammunition cook-off on a vehicle or box if the mission settings have ammunition cook-off disabled.