BIS fnc synchronizedObjects: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ")
m (Text replacement - "<code> *(\^+\]) +\[\[call\]\] +\[\[(BIS_fnc_[a-zA-Z0-9_]+)\]\];? *<\/code>" to "<sqf>$1 call $2;</sqf>")
Line 18: Line 18:
|r1= [[Array]] - Synchronized objects
|r1= [[Array]] - Synchronized objects


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


|seealso= [[BIS_fnc_allSynchronizedObjects]]
|seealso= [[BIS_fnc_allSynchronizedObjects]]
}}
}}

Revision as of 19:03, 5 May 2022

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