createCenter: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]OFP[ _]Elite *(\|.*)?\]\]" to "{{GameCategory|ofpe|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma1 |Game name= | | arma1 |Game name= | ||
Line 9: | Line 8: | ||
|gr1= Sides |GROUP1= | |gr1= Sides |GROUP1= | ||
| Instanciate a [[Side]] center. A [[Side]] center is required to be able to [[createGroup|create groups]] of this side.<br> | | Instanciate a [[Side]] center. A [[Side]] center is required to be able to [[createGroup|create groups]] of this side.<br> | ||
Line 18: | Line 16: | ||
{{Feature|arma3 | In Arma 3, centers for all sides are all created by the engine.}} |DESCRIPTION= | {{Feature|arma3 | In Arma 3, centers for all sides are all created by the engine.}} |DESCRIPTION= | ||
| [[createCenter]] side |SYNTAX= | | [[createCenter]] side |SYNTAX= | ||
Line 25: | Line 22: | ||
| [[Side]] |RETURNVALUE= | | [[Side]] |RETURNVALUE= | ||
|x1= <code>[[createCenter]] [[east]];</code> |EXAMPLE1= | |x1= <code>[[createCenter]] [[east]];</code> |EXAMPLE1= | ||
| [[deleteCenter]], [[createUnit]], [[createGroup]], [[createVehicle]], [[side]], [[Side]] |SEEALSO= | | [[deleteCenter]], [[createUnit]], [[createGroup]], [[createVehicle]], [[side]], [[Side]] |SEEALSO= |
Revision as of 00:19, 17 January 2021
Description
- Description:
- Instanciate a Side center. A Side center is required to be able to create groups of this side.
Centers can only be created for east, west, resistance, civilian and sideLogic sides.
Created sides must have their "side-friendship" defined with setFriend. - Groups:
- Sides
Syntax
- Syntax:
- createCenter side
- Parameters:
- side: Side
- Return Value:
- Side
Examples
- Example 1:
createCenter east;
Additional Information
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
Categories:
- Scripting Commands
- Introduced with Armed Assault version 1.00
- ArmA: Armed Assault: New Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Command Group: Sides
- Scripting Commands: Global Effect
- Operation Flashpoint: Elite: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands