BIS fnc synchronizedObjects: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Eden( |_)Editor(\||\])" to "[[:Category:Eden Editor$2") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
|descr= Get all objects of given type directly synchronized to the given object. Works in [[:Category:Eden Editor]] too. | |descr= Get all objects of given type directly synchronized 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]] | ||
|p1= object: [[Object]] - | |p1= object: [[Object]] - parent object | ||
|p2= filter: [[String]] or [[Array]] of strings - | |p2= filter: [[String]] or [[Array]] of strings - class name filter; 1 or more class name of objects in which we are interested | ||
|p3= preciseMatch: [[Boolean]] - (Optional, default [[true]]) | |p3= preciseMatch: [[Boolean]] - (Optional, default [[true]]) if [[true]] only precise class names are considered, if [[false]] inheritance is considered | ||
|r1= [[Array]] | |r1= [[Array]] of synchronized objects | ||
|x1= <sqf>[BIS_Poliakko,"LocationArea_F"] call BIS_fnc_synchronizedObjects;</sqf> | |x1= <sqf>[BIS_Poliakko, "LocationArea_F"] call BIS_fnc_synchronizedObjects;</sqf> | ||
|seealso= [[BIS_fnc_allSynchronizedObjects]] | |seealso= [[BIS_fnc_allSynchronizedObjects]] | ||
}} | }} |
Latest revision as of 11:06, 8 November 2023
Description
- Description:
- Get all objects of given type directly synchronized 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 synchronized 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