BIS_fnc_weaponComponents

From Bohemia Interactive Community
Revision as of 23:22, 2 July 2016 by AgentRev (talk | contribs)
Jump to navigation Jump to search


Hover & click on the images for description

Description

Description:
/*--------------------------------------------------------------------------------------------------


	Description:
	Returns array with classname of the parent weapon (without attachments), followed by classnames of all its attachments.

	Examples:
	"arifle_mx_aco_pointer_f" call BIS_fnc_weaponComponents; // ["arifle_mx_f","optic_aco","acc_pointer_ir"]
	"arifle_mx_gl_black_hamr_pointer_f" call BIS_fnc_weaponComponents; // ["arifle_mx_gl_black_f","optic_hamr","acc_pointer_ir"]
	"arifle_mx_black_f" call BIS_fnc_weaponComponents; // ["arifle_mx_f"]

	Remarks:
	* Classnames returned are converted all to lowercase.

--------------------------------------------------------------------------------------------------*/
(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Syntax needed
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

Notes

Bottom Section