createCenter: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *ofpe * * *\| *([0-1]\.[0-9]{2}) * \|game2" to "|game1= ofpe |version1= $1 |game2") |
Lou Montana (talk | contribs) m (Text replacement - "\{\{Feature *\| *Informative *\| ([^↵]+) *\}\}" to "{{Feature|informative|$1}}") |
||
(10 intermediate revisions by the same user not shown) | |||
Line 27: | Line 27: | ||
Created sides must have their "side-friendship" defined with [[setFriend]]. | Created sides must have their "side-friendship" defined with [[setFriend]]. | ||
{{Feature | | {{Feature|informative|In {{arma1}} 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.}} | {{Feature | arma3 | In Arma 3, centers for all sides are all created by the engine.}} | ||
|s1= | |s1= [[createCenter]] side | ||
|p1= side: [[Side]] | |p1= side: [[Side]] | ||
|r1=[[Side]] | |r1= [[Side]] | ||
|x1= < | |x1= <sqf>createCenter east;</sqf> | ||
|seealso= [[deleteCenter]] | |seealso= [[deleteCenter]] [[createUnit]] [[createGroup]] [[createVehicle]] [[side]] [[Side]] | ||
}} | }} | ||
Latest revision as of 18:11, 15 March 2024
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
- See also:
- deleteCenter createUnit createGroup createVehicle side Side
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint: Elite version 1.00
- Operation Flashpoint: Elite: New Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Sides
- Scripting Commands: Global Effect