BIS fnc synchronizedObjects: Difference between revisions
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 6: | Line 6: | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
|descr= Get all objects of given type directly | |descr= Get all objects of given type directly synchronised to the given object. Works in [[:Category:Eden Editor|Eden Editor]] too. | ||
|s1= [object, filter, preciseMatch] call [[BIS_fnc_synchronizedObjects]] | |s1= [object, filter, preciseMatch] call [[BIS_fnc_synchronizedObjects]] | ||
Line 16: | Line 16: | ||
|p3= preciseMatch: [[Boolean]] - (Optional, default [[true]]) if [[true]] only precise class names are considered, if [[false]] inheritance is considered | |p3= preciseMatch: [[Boolean]] - (Optional, default [[true]]) if [[true]] only precise class names are considered, if [[false]] inheritance is considered | ||
|r1= [[Array]] of | |r1= [[Array]] of synchronised objects | ||
|x1= <sqf>[BIS_Poliakko, "LocationArea_F"] call BIS_fnc_synchronizedObjects;</sqf> | |x1= <sqf>[BIS_Poliakko, "LocationArea_F"] call BIS_fnc_synchronizedObjects;</sqf> |
Latest revision as of 15:17, 20 September 2025
Description
- Description:
- Get all objects of given type directly synchronised to the given object. Works in Eden Editor too.
- Execution:
- call
- Groups:
- Object Manipulation
Syntax
- Syntax:
- [object, filter, preciseMatch] call BIS_fnc_synchronizedObjects
- Parameters:
- object: Object - parent object
- filter: String or Array of strings - class name filter; 1 or more class name of objects in which we are interested
- preciseMatch: Boolean - (Optional, default true) if true only precise class names are considered, if false inheritance is considered
- Return Value:
- Array of synchronised objects
Examples
- Example 1:
Additional Information
- See also:
- BIS_fnc_allSynchronizedObjects
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