createGroup: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. classification)
(Noted the automatically created waypoint of createGroup and another when followed-up by createUnit)
Line 29: Line 29:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on December 15, 2006 - 21:30</dd>
<dd class="notedate">Posted on December 15, 2006 - 21:30</dd>
<dt class="note">'''[[User:ColonelSandersLite|ColonelSandersLite]]'''</dt><dd class="note">
<dt class="note">'''[[User:ColonelSandersLite|ColonelSandersLite]]'''</dt>
<dd class="note">
<br>The group limit is 144 groups groups per side.  If you attempt to create a group, and there is no room for another, it simply doesn't create, and it doesn't error.<br>
<br>The group limit is 144 groups groups per side.  If you attempt to create a group, and there is no room for another, it simply doesn't create, and it doesn't error.<br>
</dd>
</dd>
<dd class="notedate">--[[User:5133p39|5133p39]] 07:30, 10 July 2007 (CEST)</dd>
 
<dt class="note"></dt><dd class="note">In '''Armed Assault''', empty groups are not automaticaly deleted - if you created 144 groups, you will not be able to create new group even if all units in all those groups died, because all the 144 groups still exists - you will have to delete some groups manualy.</dd>
<dd class="notedate">Posted on July 10,2007</dd>
<dt class="note">'''[[User:5133p39|5133p39]]'''</dt>
<dd class="note">
In '''Armed Assault''', empty groups are not automatically deleted - if you created 144 groups, you will not be able to create new group even if all units in all those groups died, because all the 144 groups still exists - you will have to delete some groups manually.
</dd>
 
<dd class="notedate">Posted on January 04, 2011</dd>
<dt class="note">'''[[User:kju|kju]]'''</dt>
<dd class="note">
A group created with createGroup will get a waypoint at [0,0,0]. When you use [[createUnit]] to fill it with units, it will get an additional waypoint at the position the first unit is created. This new waypoint will also be set as [[currentWaypoint]]. However keep these two waypoints in mind when you do some scripting involving this groups' waypoints.
</dd>
 
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 10:19, 4 January 2011

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Creates a new AI group for the given Side. An HQ (center) for that side must already be in the Mission.sqm or have been initialized with createCenter.
Groups:
Uncategorised

Syntax

Syntax:
Group = createGroup side
Parameters:
side: Side
Return Value:
Group

Examples

Example 1:
_group = createGroup east

Additional Information

See also:
createCentercreateUnit

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

Posted on December 15, 2006 - 21:30
ColonelSandersLite

The group limit is 144 groups groups per side. If you attempt to create a group, and there is no room for another, it simply doesn't create, and it doesn't error.
Posted on July 10,2007
5133p39
In Armed Assault, empty groups are not automatically deleted - if you created 144 groups, you will not be able to create new group even if all units in all those groups died, because all the 144 groups still exists - you will have to delete some groups manually.
Posted on January 04, 2011
kju
A group created with createGroup will get a waypoint at [0,0,0]. When you use createUnit to fill it with units, it will get an additional waypoint at the position the first unit is created. This new waypoint will also be set as currentWaypoint. However keep these two waypoints in mind when you do some scripting involving this groups' waypoints.

Bottom Section