{"name":"allActiveTitleEffects","operator":null,"title":"allActiveTitleEffects","type":"command","url":"https://community.bistudio.com/wiki/allActiveTitleEffects","revid":377719,"updated":"2026-01-02T09:16:16Z","groups":["GUI Control"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.98"}],"since":{"game":"arma3","name":"Arma 3","version":"1.98"},"arma3_since":"1.98","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns a list of all layers that have currently active title effect. Numbers equal to or greater than 0 represent cut layers, where as -1 represents title layer (see Title Effect Type). Named layers are represented by their respective index.\n\n> [!NOTE]\n> Effects created with titleText, titleRsc and titleObj commands do not have a numbered layer, so they are represented as -1 layer in the result. Effects created with cutText, cutRsc and cutObj are created either on layer 0, if no layer is specified, or on the given layer, if the layer index is specified, so they are represented by the layer index.","syntaxes":[{"syntax":"allActiveTitleEffects","since":null,"effect":null,"exec":null,"params":[],"returns":{"type":"Array of Numbers","types":["Array","Number"],"description":"indexes of currently active effect layer","text":"Array of Numbers - indexes of currently active effect layer"},"form":"nullary","operator":null,"left":null,"right":null}],"examples":[{"text":"```sqf\ncutText [\"Hello World!\" ,\"PLAIN\", 2];\nhint str allActiveTitleEffects; // [0]\n```","code":["cutText [\"Hello World!\" ,\"PLAIN\", 2];\nhint str allActiveTitleEffects; // [0]"]},{"text":"```sqf\n21 cutText [\"Hello World!\", \"PLAIN\", 2];\nhint str allActiveTitleEffects; // [21]\n```","code":["21 cutText [\"Hello World!\", \"PLAIN\", 2];\nhint str allActiveTitleEffects; // [21]"]},{"text":"```sqf\ncutText [\"Hello World!\", \"PLAIN\", 2];\ntitleText [\"Hello World!\", \"PLAIN\", 2];\nhint str allActiveTitleEffects; // [-1, 0]\n```","code":["cutText [\"Hello World!\", \"PLAIN\", 2];\ntitleText [\"Hello World!\", \"PLAIN\", 2];\nhint str allActiveTitleEffects; // [-1, 0]"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["allCutLayers","cutText","cutRsc","cutObj","cutFadeOut","titleText","titleRsc","titleObj","titleFadeOut","activeTitleEffectParams","Title Effect Type"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: GUI Control","Introduced with Arma 3 version 1.98","Scripting Commands"]}