|Affected ArmA II version:||Please select...||First affected ArmA II version:|
|Reproduced by another DH user:||No||Single / Multi Player?:|
|I am using some Mods:||No||BIForumURL:|
|I am using:||NGUrl:|
|Reproducible for you:||No||WIKIurl:|
|Related to content of DLC:|
The command assignTeam (http://community.bistudio.com/wiki/assignTeam) allows us to create team "subgroups" in a parent group. However, we cannot detect if a unit is in a given team via scripting.
Can we please get a "getAssignedTeam" command that can be used on a unit and returns a string of what color team they are on, and "MAIN" if none? (same as how assignTeam works)
This would be very helpful for our popular ShackTac HUD addon, as it would permit us to use the in-game user interface team assignment features to color-code different team members on the HUD.
Updated by Suma about 5 years ago
- Status changed from Assigned to Resolved
Implemented in 83400 as "assignedTeam xxx".
Updated by kju almost 5 years ago
- Target version changed from Upcoming version to 1.60 BETA
- CPU deleted (
- Audio card deleted (
- Size of OS swap file deleted (
Updated by zx64 almost 5 years ago
Only just tested this in multiplayer and the assigned team values aren't visible remotely. :-(
Should this ticket be re-opened or make a new one?
Updated by Fireball almost 5 years ago
- Due date set to 11/30/2011
- Status changed from Closed to Feedback
- Assignee set to Suma
Reopening due to user request.
Updated by Suma over 4 years ago
Does not seem related to this ticket. If I am not mistaken, no colored teams are visible in MP, it does not matter if created by a script or from UI.
I suggest creating a new ticket.
Updated by kju over 4 years ago
His desire is to easily query remote data.
However this could also be scripted (sending the data between entities).
So yes "global" behavior would be a convenience but not necessary as far as I can tell.
Updated by Fireball over 4 years ago
- Due date deleted (
- Status changed from Feedback to Closed
- Assignee deleted (
Ok, please open a new ticket for MP compat, as the colored teams were originally only designed for SP.