synchronizedObjects

From Bohemia Interactive Community
Revision as of 15:15, 14 February 2015 by SilentSpike (talk | contribs) (see also)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Return the list of objects synchronized with the given unit.
Groups:
Uncategorised

Syntax

Syntax:
synchronizedObjects unit
Parameters:
unit: Object -
Return Value:
Array

Examples

Example 1:
_objects = synchronizedObjects _logic

Additional Information

See also:
synchronizeObjectsAddsynchronizeObjectsRemovesynchronizedTriggerssynchronizedWaypoints

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

Notes

This command only returns the LEADER of a vehicle that is synchronized. You have to use the "vehicle" command to select the actual vehicle. This command only returns the synchronized objects when used on intelligent objects such as units or logic objects. All other objects returns an empty array. In MP this command returns only values when the object is local. otherwise it returns an empty array.

Bottom Section