synchronizeObjectsAdd: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) 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
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