createGroup: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 29: Line 29:
<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>When using createGroup, the side must already have a group present in the mission.  For example, you can't use <b>_spawnGroup <nowiki>=</nowiki> createGroup Civilian</b> if there isn't at least 1 civillian group already in existance.  I'm unsure as to wether this civillian has to be alive, etc.  ARMA may or may not clean up dead groups.
<br>When using createGroup, the side must already have a group present in the mission.  For example, you can't use <b>_spawnGroup <nowiki>=</nowiki> createGroup Civilian</b> if there isn't at least 1 civillian group already in existance.  I'm unsure as to wether this civillian has to be alive, etc.  ARMA may or may not clean up dead groups.<br>
 
I haven't tested wether or not it will work if there *was* a group from the correct side, but isn't now.
<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-Colonel Sanders Lite<br>
I haven't tested wether or not it will work if there *was* a group from the correct side, but isn't now.<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>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-Colonel Sanders Lite<br>
</dd>
</dd>
<!-- Note Section END -->
<!-- Note Section END -->

Revision as of 22:37, 15 December 2006

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

Description

Description:
Creates a new AI group for the given center (side).
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
group = createGroup east

Additional Information

See also:
See also needed

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

When using createGroup, the side must already have a group present in the mission. For example, you can't use _spawnGroup = createGroup Civilian if there isn't at least 1 civillian group already in existance. I'm unsure as to wether this civillian has to be alive, etc. ARMA may or may not clean up dead groups.

I haven't tested wether or not it will work if there *was* a group from the correct side, but isn't now.

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.

            -Colonel Sanders Lite

Bottom Section