BIS fnc allSynchronizedObjects: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )C([a-z])" to "$1c$3")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *S([a-z ])" to "$1 - s$2")
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
|s1= [object, filter] call [[BIS_fnc_allSynchronizedObjects]]
|s1= [object, filter] call [[BIS_fnc_allSynchronizedObjects]]


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


|p2= filter: [[String]] or [[Array]] of strings - (Optional, default "") class name filter. 1 or more class name of objects we are interested in
|p2= filter: [[String]] or [[Array]] of strings - (Optional, default "") class name filter. 1 or more class name of objects we are interested in


|r1= [[Array]] - Synchronized objects
|r1= [[Array]] - synchronized objects


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

Latest revision as of 15:49, 8 November 2023

Hover & click on the images for description

Description

Description:
Return all synchronized objects, including those synced to synced and so on.
Execution:
call
Groups:
Object Manipulation

Syntax

Syntax:
[object, filter] call BIS_fnc_allSynchronizedObjects
Parameters:
object: Object - parent object
filter: String or Array of strings - (Optional, default "") class name filter. 1 or more class name of objects we are interested in
Return Value:
Array - synchronized objects

Examples

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

Additional Information

See also:
BIS_fnc_synchronizedObjects

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