squadParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(effect n/a - just a getter)
Line 5: Line 5:


|1.18|= Game version
|1.18|= Game version
|eff= global|= Effects in MP
 
|arg= global|= Arguments in MP
|arg= global|= Arguments in MP


Line 21: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_info = squadParams player</code> |= Example 1
|x1= <code>_info = [[squadParams]] [[player]];</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 23:35, 25 April 2014

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