Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CfgPatches
- {
- class MyAddon
- {
- // Meta information for editor
- name = "my_fps";
- author = "FloatyBoi";
- url = "http://xkcd.com";
- // Minimum compatible version. When the game's version is lower, pop-up warning will appear when launching the game. Note: was disabled on purpose some time late into Arma 2: OA.
- requiredVersion = 1.60;
- // Required addons, used for setting load order. (CfgPatches classname NOT PBO filename!)
- // When any of the addons are missing, a pop-up warning will appear when launching the game.
- requiredAddons[] = { "A3_Functions_F" , "DNI_ZeusFPSMonitor" };
- // List of objects (CfgVehicles classes) contained in the addon. Important also for Zeus content (units and groups) unlocking.
- units[] = {};
- // List of weapons (CfgWeapons classes) contained in the addon.
- weapons[] = {};
- };
- };
- class CfgFunctions //Script converted to function to be run at the beginning of missions.
- {
- class FPS //Prefix or tag to keep things tidy. Register it on http://www.ofpec.com/tags/ to aid in compatibility with other addons/mods. See this for a better explanation http://www.ofpec.com/faq/index.php?action=read&cat=202&id=56
- {
- tag = "FPS";
- class startup //Define for postInit below. It looks for files with this format fn_thisClassName.sqf (fn_clientFPSinit.sqf)
- {
- file = "\My_Addon\functions";// Location of the .sqf function within the .pbo file.
- class spawnScript{postInit = 1;};
- }; //Call the function at the beginning of every mission. https://community.bistudio.com/wiki/Functions_Library_(Arma_3)#Pre_and_Post_Init
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement