{"name":"Arma 3: Leaflets","title":"Arma 3: Leaflets","type":"topic","url":"https://community.bistudio.com/wiki/Arma_3:_Leaflets","revid":353253,"updated":"2024-03-14T16:15:06Z","aliases":["Arma 3 Leaflets"],"markdown":"Propaganda leaflets are a new feature introduced in Arma 3 Laws of War DLC (Arma 3 v1.76)\n\n#### Mission Usage\n\nLeaflets are a special weapon which can be fired both by a player or AI.\n\nTo add leaflets to an Utility Drone, use pylons settings in Eden Editor:\n\nAlternatively, you can add them by script:\n\n```sqf\nmyDrone addMagazine \"1Rnd_Leaflets_West_F\";\nmyDrone addWeapon \"Bomb_Leaflets\";\n```\n\nSeveral leaflet types exist apart from *West*, see the table below.\n\nTo let AI drop the leaflets, simply fire the weapon:\n\n```sqf\nmyDrone fire \"Bomb_Leaflets\";\n```\n\n#### Custom Leaflets\n\nLeaflet visuals are tied to specific magazine type. They are defined in global Config.cpp, but can be overridden in Description.ext:\n\n```cpp\nclass CfgLeaflets\n{\n    class West // configuration for 1Rnd_Leaflets_West_F\n    {\n        text = \"Text of the leaflet\";    // text shown when previewing the leaflet full-screen. Should ideally be localised, so even player who cannot read the image can get the information\n        texture = \"myLeaflet_ca.paa\";    // leaflet texture shown when previewing the leaflet full-screen\n        model = \"myLeaflet.p3d\";        // in-flight model. Optional; When undefined, generic white leaflet is used\n    };\n};\n```\n\n#### Leaflet Classes\n\n| Magazine class | CfgLeaflets class | Default Texture |\n|---|---|---|\n| `1Rnd_Leaflets_West_F` | `West` |  |\n| `1Rnd_Leaflets_East_F` | `East` |  |\n| `1Rnd_Leaflets_Guer_F` | `Guer` |  |\n| `1Rnd_Leaflets_Civ_F` | `Civ` |  |\n| `1Rnd_Leaflets_Custom_01_F` | `Custom_01` | *Empty* |\n| `1Rnd_Leaflets_Custom_02_F` | `Custom_02` | *Empty* |\n| `1Rnd_Leaflets_Custom_03_F` | `Custom_03` | *Empty* |\n| `1Rnd_Leaflets_Custom_04_F` | `Custom_04` | *Empty* |\n| `1Rnd_Leaflets_Custom_05_F` | `Custom_05` | *Empty* |\n| `1Rnd_Leaflets_Custom_06_F` | `Custom_06` | *Empty* |\n| `1Rnd_Leaflets_Custom_07_F` | `Custom_07` | *Empty* |\n| `1Rnd_Leaflets_Custom_08_F` | `Custom_08` | *Empty* |\n| `1Rnd_Leaflets_Custom_09_F` | `Custom_09` | *Empty* |\n| `1Rnd_Leaflets_Custom_10_F` | `Custom_10` | *Empty* |\n\n#### Leaflet Preview\n\nOnce a leaflet falls on the ground, it can be inspected using hold action. It will bring up a full-screen leaflet preview with the ability to show localized text of the leaflet.\n\n#### Scripting Functions\n\n- BIS_fnc_initLeaflet\n- BIS_fnc_initInspectable","sections":[{"heading":null,"level":1,"markdown":"Propaganda leaflets are a new feature introduced in Arma 3 Laws of War DLC (Arma 3 v1.76)"},{"heading":"Mission Usage","level":4,"markdown":"Leaflets are a special weapon which can be fired both by a player or AI.\n\nTo add leaflets to an Utility Drone, use pylons settings in Eden Editor:\n\nAlternatively, you can add them by script:\n\n```sqf\nmyDrone addMagazine \"1Rnd_Leaflets_West_F\";\nmyDrone addWeapon \"Bomb_Leaflets\";\n```\n\nSeveral leaflet types exist apart from *West*, see the table below.\n\nTo let AI drop the leaflets, simply fire the weapon:\n\n```sqf\nmyDrone fire \"Bomb_Leaflets\";\n```"},{"heading":"Custom Leaflets","level":4,"markdown":"Leaflet visuals are tied to specific magazine type. They are defined in global Config.cpp, but can be overridden in Description.ext:\n\n```cpp\nclass CfgLeaflets\n{\n    class West // configuration for 1Rnd_Leaflets_West_F\n    {\n        text = \"Text of the leaflet\";    // text shown when previewing the leaflet full-screen. Should ideally be localised, so even player who cannot read the image can get the information\n        texture = \"myLeaflet_ca.paa\";    // leaflet texture shown when previewing the leaflet full-screen\n        model = \"myLeaflet.p3d\";        // in-flight model. Optional; When undefined, generic white leaflet is used\n    };\n};\n```"},{"heading":"Leaflet Classes","level":4,"markdown":"| Magazine class | CfgLeaflets class | Default Texture |\n|---|---|---|\n| `1Rnd_Leaflets_West_F` | `West` |  |\n| `1Rnd_Leaflets_East_F` | `East` |  |\n| `1Rnd_Leaflets_Guer_F` | `Guer` |  |\n| `1Rnd_Leaflets_Civ_F` | `Civ` |  |\n| `1Rnd_Leaflets_Custom_01_F` | `Custom_01` | *Empty* |\n| `1Rnd_Leaflets_Custom_02_F` | `Custom_02` | *Empty* |\n| `1Rnd_Leaflets_Custom_03_F` | `Custom_03` | *Empty* |\n| `1Rnd_Leaflets_Custom_04_F` | `Custom_04` | *Empty* |\n| `1Rnd_Leaflets_Custom_05_F` | `Custom_05` | *Empty* |\n| `1Rnd_Leaflets_Custom_06_F` | `Custom_06` | *Empty* |\n| `1Rnd_Leaflets_Custom_07_F` | `Custom_07` | *Empty* |\n| `1Rnd_Leaflets_Custom_08_F` | `Custom_08` | *Empty* |\n| `1Rnd_Leaflets_Custom_09_F` | `Custom_09` | *Empty* |\n| `1Rnd_Leaflets_Custom_10_F` | `Custom_10` | *Empty* |"},{"heading":"Leaflet Preview","level":4,"markdown":"Once a leaflet falls on the ground, it can be inspected using hold action. It will bring up a full-screen leaflet preview with the ability to show localized text of the leaflet."},{"heading":"Scripting Functions","level":4,"markdown":"- BIS_fnc_initLeaflet\n- BIS_fnc_initInspectable"}],"categories":["Arma 3: Editing"],"groups":["General"]}