squadParams: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Killzone Kid (talk | contribs) No edit summary |
||
Line 18: | Line 18: | ||
|p1= unit: [[Object]] | |p1= unit: [[Object]] | ||
|r1= [[Array]] - < | |r1= [[Array]] - in format : <br> | ||
[ | |||
:[nick,name,email,web,picture,title], {{cc| squad info}} | |||
:[uid,name,fullname,email,icq,remark<nowiki>], {{cc| unit info}} | |||
:squadId, {{cc| unique squad ID (Since Arma 2.05.147777)}} | |||
:a3unitsId {{cc| unique Arma 3 Units ID (Since Arma 2.05.147777)}} | |||
] | |||
|x1= <code>_info = [[squadParams]] [[player]];</code> | |x1= <code>_info = [[squadParams]] [[player]];</code> |
Revision as of 17:18, 19 June 2021
Description
- Description:
- Returns data about squad of given unit loaded from squad.xml as well as about unit itself.
All items in returned array are String. - Groups:
- Object ManipulationSystem
Syntax
- Syntax:
- squadParams unit
- Parameters:
- unit: Object
- Return Value:
- Array - in format :
[- [nick,name,email,web,picture,title], // squad info
- [uid,name,fullname,email,icq,remark<nowiki>], // unit info
- squadId, // unique squad ID (Since Arma 2.05.147777)
- a3unitsId // unique Arma 3 Units ID (Since Arma 2.05.147777)
Examples
- Example 1:
_info = squadParams player;
Additional Information
- See also:
- squad.xml
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
- Posted on July 19, 2015 - 21:43 (UTC)
- Waffle SS.
- Returns an empty array in singleplayer.