synchronizeObjectsAdd: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2 |Game name=
| arma2 |Game name=
Line 10: Line 9:


|gr1= Object Manipulation |GROUP1=
|gr1= Object Manipulation |GROUP1=
____________________________________________________________________________________________


| Add given objects to the unit's list of synchronized objects. |DESCRIPTION=
| Add given objects to the unit's list of synchronized objects. |DESCRIPTION=
____________________________________________________________________________________________


| unit '''synchronizeObjectsAdd''' objects |SYNTAX=
| unit '''synchronizeObjectsAdd''' objects |SYNTAX=
Line 29: Line 26:
_acm [[synchronizeObjectsAdd]] <nowiki>[</nowiki>[[player]]<nowiki>]</nowiki>;</code>|EXAMPLE1=  
_acm [[synchronizeObjectsAdd]] <nowiki>[</nowiki>[[player]]<nowiki>]</nowiki>;</code>|EXAMPLE1=  


____________________________________________________________________________________________


|[[synchronizeObjectsRemove]]  |SEEALSO=  
|[[synchronizeObjectsRemove]]  |SEEALSO=  


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 03:53, 17 January 2021

Hover & click on the images for description

Description

Description:
Add given objects to the unit's list of synchronized objects.
Groups:
Object Manipulation

Syntax

Syntax:
unit synchronizeObjectsAdd objects
Parameters:
unit: Object
objects: Array - An array of objects
Return Value:
Nothing

Examples

Example 1:
_acm = _groupLogic createUnit ["AmbientCombatManager", position player,[],0,"NONE"]; _acm synchronizeObjectsAdd [player];

Additional Information

See also:
synchronizeObjectsRemove

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

Bottom Section