resources: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma2 |Game name= | | arma2 |Game name= | ||
Line 11: | Line 10: | ||
|gr1= Teams |GROUP1= | |gr1= Teams |GROUP1= | ||
| Returns the resources of a team member. Results are local to the PC on which command was executed. |DESCRIPTION= | | Returns the resources of a team member. Results are local to the PC on which command was executed. |DESCRIPTION= | ||
| '''resources''' member |SYNTAX= | | '''resources''' member |SYNTAX= | ||
Line 28: | Line 25: | ||
|x1= <code>[[resources]] [[teamMember]] _unit;</code>|EXAMPLE1= | |x1= <code>[[resources]] [[teamMember]] _unit;</code>|EXAMPLE1= | ||
| [[addResources]], [[deleteResources]]|SEEALSO= | | [[addResources]], [[deleteResources]]|SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 02:16, 17 January 2021
Description
- Description:
- Returns the resources of a team member. Results are local to the PC on which command was executed.
- Groups:
- Teams
Syntax
- Syntax:
- resources member
- Parameters:
- member: Team Member
- Return Value:
- Array
Examples
- Example 1:
resources teamMember _unit;
Additional Information
- See also:
- addResourcesdeleteResources
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