squadParams: Difference between revisions
BrettMayson (talk | contribs) mNo edit summary |
BrettMayson (talk | contribs) mNo edit summary |
||
| Line 17: | Line 17: | ||
|p1= unit: [[Object]] | |p1= unit: [[Object]] | ||
|r1= [[Array]] with [squadInfo, memberInfo, squadId, a3unitsId] | |r1= [[Array]] with [squadInfo, memberInfo, squadId, a3unitsId] | ||
* squadInfo: [[Array]] with [nick, name, email, web, picture, title] | * squadInfo: [[Array]] with [nick, name, email, web, picture, title] | ||
** nick: [[String]] - squad nickname | ** nick: [[String]] - squad nickname | ||
** name: [[String]] - squad full name | ** name: [[String]] - squad full name | ||
| Line 25: | Line 25: | ||
** picture: [[String]] - squad picture URL | ** picture: [[String]] - squad picture URL | ||
** title: [[String]] - squad title | ** title: [[String]] - squad title | ||
* memberInfo: [[Array]] with [uid, name, fullname, email, icq, remark] | * memberInfo: [[Array]] with [uid, name, fullname, email, icq, remark] | ||
** uid: [[String]] - member unique ID | ** uid: [[String]] - member unique ID | ||
** name: [[String]] - member name | ** name: [[String]] - member name | ||
Latest revision as of 10:02, 2 January 2026
Description
- Description:
- Returns data about squad of given unit loaded from squad.xml as well as the unit itself.
- Groups:
- Object ManipulationSystem
Syntax
- Syntax:
- squadParams unit
- Parameters:
- unit: Object
- Return Value:
- Array with [squadInfo, memberInfo, squadId, a3unitsId]
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- squad.xml
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note