mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
668 B
668 B
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 |
|
1. Disabling / Enabling Cook off for individual vehicles
You can dynamically enable and/or disable vehicle cook off for individual vehicles by using setVariable
:
VEHICLE setVariable ["ace_cookoff_enable", true, true];
The above will enable cook off for that specific vehicle, no matter the mission settings.
Likewise, cook off can also be disabled for a specific vehicle:
VEHICLE setVariable ["ace_cookoff_enable", false, true];