BIS fnc synchronizedObjects: Difference between revisions
Jump to navigation
Jump to search
m (pf) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Get all objects of given type directly synchronized to the given object. Works in [[Eden Editor]] too.|= | | Get all objects of given type directly synchronized to the given object. Works in [[Eden Editor]] too.|DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [object,filter,preciseMatch] call [[BIS_fnc_synchronizedObjects]] |= | | [object,filter,preciseMatch] call [[BIS_fnc_synchronizedObjects]] |SYNTAX= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|p1= object: [[Object]] - Parent object |= | |p1= object: [[Object]] - Parent object |PARAMETER1= | ||
|p2= filter: [[String]] or [[Array]] of strings - Class name filter. 1 or more class name of objects we are interested in |= | |p2= filter: [[String]] or [[Array]] of strings - Class name filter. 1 or more class name of objects we are interested in |PARAMETER2= | ||
|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 |PARAMETER3= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|[[Array]] - Synchronized objects |= | |[[Array]] - Synchronized objects |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 26: | Line 26: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|[[BIS_fnc_allSynchronizedObjects]] |= | |[[BIS_fnc_allSynchronizedObjects]] |SEEALSO= | ||
}} | }} | ||
Revision as of 14:33, 7 April 2019
Description
- Description:
- Get all objects of given type directly synchronized to the given object. Works in Eden Editor too.
- Execution:
- call
- Groups:
- Uncategorised
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 we are interested in
- preciseMatch: Boolean - (Optional, default true) - If true only precise class names are considered, if false inheritance is considered
- Return Value:
- Array - Synchronized objects
Examples
- Example 1:
[BIS_Poliakko,"LocationArea_F"] call BIS_fnc_synchronizedObjects;
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