BIS fnc synchronizedObjects: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Some wiki formatting)
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function


| arma3 |Game name=
|game1= arma3
|version1= 1.00


|1.00|Game version=
|gr1= Object Manipulation


|gr1 = Object Manipulation |GROUP1=
|descr= Get all objects of given type directly synchronized to the given object. Works in [[:Category:Eden Editor|Eden Editor]] too.


| Get all objects of given type directly synchronized to the given object. Works in [[Eden Editor]] too.|DESCRIPTION=
|s1= [object, filter, preciseMatch] call [[BIS_fnc_synchronizedObjects]]


|p1= object: [[Object]] - parent object


| [object,filter,preciseMatch] call [[BIS_fnc_synchronizedObjects]] |SYNTAX=
|p2= filter: [[String]] or [[Array]] of strings - class name filter; 1 or more class name of objects in which we are interested
|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 |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=
|r1= [[Array]] of synchronized objects


|[[Array]] - Synchronized objects |RETURNVALUE=
|x1= <sqf>[BIS_Poliakko, "LocationArea_F"] call BIS_fnc_synchronizedObjects;</sqf>


|x1= <code>[BIS_Poliakko,"LocationArea_F"] [[call]] [[BIS_fnc_synchronizedObjects]];</code> |=
|seealso= [[BIS_fnc_allSynchronizedObjects]]
 
|[[BIS_fnc_allSynchronizedObjects]] |SEEALSO=
}}
}}
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:synchronizedObjects}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:synchronizedObjects}}]]

Latest revision as of 11:06, 8 November 2023

Hover & click on the images for description

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:
[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