From Bohemia Interactive Community
Hover & click on the images for description
⚠
Only available in
Development branch(es) until its release with Arma 3 patch
v2.18.
Description
- Description:
- Imports one or multiple local variables from the parent scope, and defines them as private variables in the current scope. It can bypass privateAll.
- Groups:
- Variables
Syntax
- Syntax:
- import variableName
- Parameters:
- variableName: String or Array of Strings - variable(s) to import
- Return Value:
- Nothing
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- privateAll private params
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
- Hypoxic125 - c
- Posted on Mar 03, 2024 - 18:31 (UTC)
-
When making local functions, the imported variable does not have to exist until the function is called.