BIS fnc weaponComponents: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " +" to " ")
Line 4: Line 4:
|x2= <code>"arifle_mx_gl_black_hamr_pointer_f" call BIS_fnc_weaponComponents; //["arifle_mx_gl_black_f","optic_hamr","acc_pointer_ir"]</code>
|x2= <code>"arifle_mx_gl_black_hamr_pointer_f" call BIS_fnc_weaponComponents; //["arifle_mx_gl_black_f","optic_hamr","acc_pointer_ir"]</code>
|x3= <code>"arifle_mx_black_f" call BIS_fnc_weaponComponents; //["arifle_mx_f"]</code>|}}
|x3= <code>"arifle_mx_black_f" call BIS_fnc_weaponComponents; //["arifle_mx_f"]</code>|}}


[[Category:{{Name|arma3}}: Functions|{{uc:endMissionServer}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:endMissionServer}}]]

Revision as of 09:26, 11 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Weapons

Syntax

Syntax:
Syntax needed
Parameters:
classname: String - Classname of the parent weapon
Return Value:
Return value needed

Examples

Example 1:
"arifle_mx_aco_pointer_f" call BIS_fnc_weaponComponents; //["arifle_mx_f","optic_aco","acc_pointer_ir"]
Example 2:
"arifle_mx_gl_black_hamr_pointer_f" call BIS_fnc_weaponComponents; //["arifle_mx_gl_black_f","optic_hamr","acc_pointer_ir"]
Example 3:
"arifle_mx_black_f" call BIS_fnc_weaponComponents; //["arifle_mx_f"]

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