BIS fnc synchronizedObjects: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision imported: BIS Functions update 7/7)
m (pf)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 8: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| RGet all objects of given type directly synchronized to the given object. Works in [[Eden Editor]] too.|= Description
Author: Jiri Wainar


Description:
____________________________________________________________________________________________
Get all objects of given type directly synchronized to the given object. Works in EDEN too.


Parameter(s):
|  [object, filter,preciseMatch] call [[BIS_fnc_synchronizedObjects]] |= Syntax
0: OBJECT - parent object
____________________________________________________________________________________________
1: STRING or ARRAY - class name filter; 1 or more classnames of objects we are interested about
|p1= object: [[Object]] - Parent object |= Parameter 1
2: BOOL - precise match; default: true - only precise class names are considered, if false, inheritance is considered
 
Returns:
ARRAY - array of synchronized objects


Example:
|p2= filter: [[String]] or [[Array]] of strings - Class name filter. 1 or more class name of objects we are interested in |= Parameter 2
[BIS_Poliakko,"LocationArea_F"] call BIS_fnc_synchronizedObjects;
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|p3= preciseMatch: [[Boolean]] - (Optional, default [[true]]) - If [[true]] only precise class names are considered, if [[false]] inheritance is considered |= Parameter 3
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_synchronizedObjects]]; --> |= Syntax
| |[[Array]] - Synchronized objects |= Return value
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code>[BIS_Poliakko,"LocationArea_F"] [[call]] [[BIS_fnc_synchronizedObjects]];</code> |=
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
|[[BIS_fnc_allSynchronizedObjects]] |= See also
 
}}
}}



Revision as of 10:03, 2 July 2018

Hover & click on the images for description

Description

Description:
RGet 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:
Return value needed

Examples

Example 1:
[BIS_Poliakko,"LocationArea_F"] call BIS_fnc_synchronizedObjects;

Additional Information

See also:
Array - Synchronized objects

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

Notes

Bottom Section