BIS fnc allSynchronizedObjects: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code> *(\^+\]) +\[\[call\]\] +\[\[(BIS_fnc_[a-zA-Z0-9_]+)\]\];? *<\/code>" to "<sqf>$1 call $2;</sqf>")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *S([a-z ])" to "$1 - s$2")
 
(3 intermediate revisions by the same user not shown)
Line 8: Line 8:
|descr= Return all synchronized objects, including those synced to synced and so on.
|descr= Return all synchronized objects, including those synced to synced and so on.


|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