squadParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (note typo)
Line 47: Line 47:
<dt class="note">[[User:Waffle SS.|Waffle SS.]]</dt>
<dt class="note">[[User:Waffle SS.|Waffle SS.]]</dt>
<dd class="note">
<dd class="note">
Returns empty array in singleplayer.
Returns an empty array in singleplayer.
</dd>
</dd>
</dl>
</dl>
<!-- DISCONTINUE Notes -->
<!-- DISCONTINUE Notes -->

Revision as of 23:01, 20 July 2015

Hover & click on the images for description

Description

Description:
Returns data about squad of given unit loaded from squad.xml.
All items in returned array are String.
Groups:
Uncategorised

Syntax

Syntax:
squadParams unit
Parameters:
unit: Object
Return Value:
Array - [[squadNick,squadName,squadEmail,squadWeb,squadPicture,squadTitle],[memberId,memberNick,memberName,memberEmail,memberIcq,memberRemark]]

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

Notes

Bottom Section

Posted on July 19, 2015 - 21:43 (UTC)
Waffle SS.
Returns an empty array in singleplayer.