BIS fnc synchronizedObjects: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Object Manipulation |GROUP1= | |gr1 = Object Manipulation |GROUP1= | ||
| Get all objects of given type directly synchronized to the given object. Works in [[Eden Editor]] too.|DESCRIPTION= | | 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]] |SYNTAX= | | [object,filter,preciseMatch] call [[BIS_fnc_synchronizedObjects]] |SYNTAX= | ||
|p1= object: [[Object]] - Parent object |PARAMETER1= | |p1= object: [[Object]] - Parent object |PARAMETER1= | ||
Line 20: | Line 16: | ||
|p3= preciseMatch: [[Boolean]] - (Optional, default [[true]]) - If [[true]] only precise class names are considered, if [[false]] inheritance is considered |PARAMETER3= | |p3= preciseMatch: [[Boolean]] - (Optional, default [[true]]) - If [[true]] only precise class names are considered, if [[false]] inheritance is considered |PARAMETER3= | ||
|[[Array]] - Synchronized objects |RETURNVALUE= | |[[Array]] - Synchronized objects |RETURNVALUE= | ||
|x1= <code>[BIS_Poliakko,"LocationArea_F"] [[call]] [[BIS_fnc_synchronizedObjects]];</code> |= | |x1= <code>[BIS_Poliakko,"LocationArea_F"] [[call]] [[BIS_fnc_synchronizedObjects]];</code> |= | ||
|[[BIS_fnc_allSynchronizedObjects]] |SEEALSO= | |[[BIS_fnc_allSynchronizedObjects]] |SEEALSO= |
Revision as of 23:43, 16 January 2021
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 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