squadParams

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.18
  Arguments of this scripting command don't have to be local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.18

Description

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

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

Multiplayer:
-
See also:
squad.xml

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section

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