{"name":"BIS_fnc_getParamValue","operator":null,"title":"BIS fnc getParamValue","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_getParamValue","revid":378105,"updated":"2026-02-14T11:08:56Z","groups":["Mission Parameters"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns the value of the named mission parameter.\nThis function is global and will return selected param value on any PC including JIP. For backward compatibility it also supports \"param1\" and \"param2\".","syntaxes":[{"syntax":"paramClass call BIS_fnc_getParamValue","since":null,"effect":null,"exec":null,"params":[{"name":"paramClass","type":"String","optional":false,"default":null,"description":"class name of one of Mission Parameters","types":["String"],"since":null,"text":"paramClass: String - class name of one of Mission Parameters"},{"name":"defalutValue","type":"Number","optional":true,"default":"0","description":"default value to return if ''paramClass does not exist","types":["Number"],"since":null,"text":"defalutValue: Number - (Optional, default 0) default value to return if ''paramClass does not exist"}],"returns":{"type":"Number","types":["Number"],"description":"param value","text":"Number - param value"}}],"examples":[{"text":"```sqf\nscoreToWin = \"ScoreToWin\" call BIS_fnc_getParamValue;\n```","code":["scoreToWin = \"ScoreToWin\" call BIS_fnc_getParamValue;"]},{"text":"```sqf\n_viewDistance = [\"TAG_viewDistance\", 500] call BIS_fnc_getParamValue;\n```","code":["_viewDistance = [\"TAG_viewDistance\", 500] call BIS_fnc_getParamValue;"]},{"text":"```sqf\nif (param1 == (\"param1\" call BIS_fnc_getParamValue)) then\n{\n    hint \"Old timer\";\n};\n```","code":["if (param1 == (\"param1\" call BIS_fnc_getParamValue)) then\n{\n\thint \"Old timer\";\n};"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["Mission Parameters","getMissionConfigValue","getMissionConfig","BIS_fnc_storeParamsValues"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Mission Parameters","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}