addResources: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)]]" to "{{GameCategory|arma2|Scripting Commands}}")
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=
____________________________________________________________________________________________


| Adds resources to a team member. |DESCRIPTION=
| Adds resources to a team member. |DESCRIPTION=
____________________________________________________________________________________________


| teamMember '''addResources''' [resource1, resource2, ...] |SYNTAX=
| teamMember '''addResources''' [resource1, resource2, ...] |SYNTAX=
Line 28: Line 25:
|x1= |EXAMPLE1=  
|x1= |EXAMPLE1=  


____________________________________________________________________________________________


| [[resources]], [[deleteResources]]  |SEEALSO=  
| [[resources]], [[deleteResources]]  |SEEALSO=  


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 01:06, 17 January 2021

Hover & click on the images for description

Description

Description:
Adds resources to a team member.
Groups:
Teams

Syntax

Syntax:
teamMember addResources [resource1, resource2, ...]
Parameters:
teamMember: Team Member
resource1: String
resource2: String
Return Value:
Nothing

Examples

Examples:
Example needed

Additional Information

See also:
resourcesdeleteResources

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