Difference between revisions of "modParams"

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= ____________________________________________________________________________________________ |arma3 |= Game |1.62|= Game Version |arg= |= Multiplayer Arguments |...")
 
m (format)
Line 16: Line 16:
 
|p3=  |= Parameter 6
 
|p3=  |= Parameter 6
 
| [[Array]] - Retrieved data if any |= Return Value
 
| [[Array]] - Retrieved data if any |= Return Value
|x1= _data = [[modParams]] ["Kart", ["name", "logo", "picture"]]; |= Example 1
+
|x1= <code>_data = [[modParams]] ["Kart", ["name", "logo", "picture"]];</code> |= Example 1
 
| - |= See Also
 
| - |= See Also
 
}}
 
}}

Revision as of 05:09, 20 September 2016

Introduced with Arma 3 version 1.621.62
Hover & click on the images for descriptions

Description

Description:
Returns list of mod paramters according to given options, values are in same order as the given options. Available options: name, picture, logo, logoOver, logoSmall, tooltip, tooltipowned, action, actionName, overview, hidePicture, hideName, defaultMod, serverOnly, active

Syntax

Syntax:
modParams [modClass, options]
Parameters:
modClass: String - class name of the mod
options: Array - See description
Return Value:
Array - Retrieved data if any

Examples

Example 1:
_data = modParams ["Kart", ["name", "logo", "picture"]];

Additional Information

See also:
-
Groups:
Uncategorised

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Bottom Section