R3vo – User talk

From Bohemia Interactive Community
Revision as of 18:01, 23 December 2018 by R3vo (talk | contribs)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
/* Karel Moricky, optimised by Killzone_Kid Description: Define script parameter Parameter(s): 0: ARRAY - list of params 1: NUMBER - selected index 2: ANY (Optional) - default param (used when param is missing or of wrong type) - you can overload default value by setting 'BIS_fnc_<functionName>_<index>' 3: ARRAY (Optional) - list of allowed type examples (e.g. ["",[],0,objnull]) 4: NUMBER (Optional) - If value is ARRAY, checks if it has required number of elements Returns: ANY - either value from list of params, or default value
  • /
///////////////////////////////////////////////////////////////////////////////////////////////////////////
  1. define TYPE_ERROR "Error: type %1 expected %2 on index %3 in %4"
  2. define SIZE_ERROR "Error: size %1 expected %2 on index %3 in %4"


Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[] call BIS_fnc_param;
Return Value:
Return value needed

Examples

Example 1:
;

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note