createCenter: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game version" to "|Game version=") |
Lou Montana (talk | contribs) (Fix description) |
||
Line 5: | Line 5: | ||
|1.00|Game version= | |1.00|Game version= | ||
|eff= global |Multiplayer Effects= | |eff= global |Multiplayer Effects= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Instanciate a [[Side]] center. A [[Side]] center is required to be able to [[createGroup|create groups]] of this side.<br> | ||
Centers can only be created for [[east]], [[west]], [[resistance]], [[civilian]] and [[sideLogic]] [[Side|sides]].<br> | |||
Created sides must have their "side-friendship" defined with [[setFriend]]. | |||
{{Informative | In {{arma}} and {{arma2}}, only [[Mission.sqm]]'s units side centers are created; e.g if no [[resistance]] unit has been placed in the editor you must use [[createCenter]] before being able to create a [[resistance]] group.}} | |||
{{Feature arma3 | In Arma 3, centers for all sides are all created by the engine.}} |DESCRIPTION= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[createCenter]] side |SYNTAX= | ||
|p1= side: [[Side]] |PARAMETER1= | |p1= side: [[Side]] |PARAMETER1= | ||
Line 22: | Line 25: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code> | |x1= <code>[[createCenter]] [[east]];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[deleteCenter]], [[createUnit]], [[createGroup]], [[createVehicle]], [[Side]] |SEEALSO= | | [[deleteCenter]], [[createUnit]], [[createGroup]], [[createVehicle]], [[side]], [[Side]] |SEEALSO= | ||
}} | }} | ||
Line 32: | Line 34: | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<!-- Note Section END --> | <!-- Note Section END --> | ||
</dl> | </dl> | ||
Line 40: | Line 40: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Scripting Commands| | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands OFP Elite | [[Category:Scripting Commands OFP Elite |{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]] | |||
[[Category: | |||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Command_Group:_Object_Manipulation|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Command_Group:_Sides|{{uc:{{PAGENAME}}}}]] |
Revision as of 03:12, 8 September 2019
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:
- Uncategorised
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 Arma version 1.00
- Arma: New Scripting Commands
- Arma: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Global Effect
- Scripting Commands OFP Elite
- Scripting Commands ArmA
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- Command Group: Object Manipulation
- Command Group: Sides