BIS fnc allSynchronizedObjects: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\|= " to " ") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1 = Object Manipulation | |gr1 = Object Manipulation | ||
| Return all synchronized objects, including those synced to synced and so on. | | Return all synchronized objects, including those synced to synced and so on. | ||
| [object, filter] call [[BIS_fnc_allSynchronizedObjects]] | | [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 | ||
| [[Array]] - Synchronized objects | | [[Array]] - Synchronized objects | ||
|x1= <code>[BIS_Poliakko,"LocationArea_F"] [[call]] [[BIS_fnc_allSynchronizedObjects]];</code> | |x1= <code>[BIS_Poliakko,"LocationArea_F"] [[call]] [[BIS_fnc_allSynchronizedObjects]];</code> | ||
|[[BIS_fnc_synchronizedObjects]] | |[[BIS_fnc_synchronizedObjects]] | ||
}} | }} | ||
Revision as of 22:37, 17 January 2021
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