squadParams: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "" to "") |
Lou Montana (talk | contribs) m (Text replacement - ">Posted on July ([0-9]{2})[ a-zA-Z]*, ([0-9]{4})" to ">Posted on $2-07-$1") |
||
Line 35: | Line 35: | ||
<dt></dt> | <dt></dt> | ||
<dd class="notedate">Posted on | <dd class="notedate">Posted on 2015-07-19 - 21:43 (UTC)</dd> | ||
<dt class="note">[[User:Waffle SS.|Waffle SS.]]</dt> | <dt class="note">[[User:Waffle SS.|Waffle SS.]]</dt> | ||
<dd class="note"> | <dd class="note"> |
Revision as of 23:09, 13 May 2023
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], // 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:
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 2015-07-19 - 21:43 (UTC)
- Waffle SS.
- Returns an empty array in singleplayer.