From Bohemia Interactive Community
Hover & click on the images for description
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]
- squadInfo: Array with [nick, name, email, web, picture, title]
- nick: String - squad nickname
- name: String - squad full name
- email: String - squad contact email
- web: String - squad website URL
- picture: String - squad picture URL
- title: String - squad title
- memberInfo: Array with [uid, name, fullname, email, icq, remark]
- uid: String - member unique ID
- name: String - member name
- fullname: String - member full name
- email: String - member email
- icq: String - member ICQ number
- remark: String - member remark
2.06 squadId: String - unique squad ID
2.06 a3unitsId: String - unique Arma 3 Units ID
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