BIS fnc diagMacrosSimpleObject: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|x1= <code></code>" to "|x1=") |
Lou Montana (talk | contribs) m (Text replacement - "bis_fnc_" to "BIS_fnc_") |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.00 | |||
|1.00 | |||
|gr1= Diagnostic | |gr1= Diagnostic | ||
|descr= <pre>/* | |||
Generates simple object config data. | Generates simple object config data. | ||
Line 23: | Line 18: | ||
3: OBJECT or ARRAY - sea position where ground objects will be created (default: position calculated 15 meters away from player) | 3: OBJECT or ARRAY - sea position where ground objects will be created (default: position calculated 15 meters away from player) | ||
4: STRING - custom suffix added to filename if autolog is used (default: ""). | 4: STRING - custom suffix added to filename if autolog is used (default: ""). | ||
Example: | Example: | ||
bis_scriptHandle = [] spawn | bis_scriptHandle = [] spawn BIS_fnc_diagMacrosSimpleObject; | ||
Expected output per class (animate and hide arrays can have varying amount of elements): | Expected output per class (animate and hide arrays can have varying amount of elements): | ||
Line 44: | Line 38: | ||
verticalOffsetAsl = 0;\ | verticalOffsetAsl = 0;\ | ||
}; | }; | ||
*/</pre>{{placeholder}}<!-- Remove this after fill-in --> | */</pre>{{Wiki|placeholder}}<!-- Remove this after fill-in --> | ||
|[] call [[BIS_fnc_diagMacrosSimpleObject]] | |s1= [] call [[BIS_fnc_diagMacrosSimpleObject]] | ||
|p1= | |p1= | ||
| | |r1= | ||
|x1= | |x1= | ||
|seealso= | |||
}} | }} |
Latest revision as of 18:24, 20 June 2021
Description
- Description:
/* Generates simple object config data. Parameters: 0: OBJECT or ARRAY - ground position where ground objects will be created (default: position calculated 15 meters away from player) 1: SCALAR or BOOL - autolog mode (default: false) 0 or false - no autolog, results will be only stored in clipboard 1 or true - autolog on, results will be stored in \A3\macros_CfgVehicles_simpleObject_auto_A3.hpp file. 2 - autlog on + world name, random number and custom suffix are appended to name of generated file to prevent overwriting and provide extra info 2: ARRAY - classes you want to scan, use [] to scan all (default: []). 3: OBJECT or ARRAY - sea position where ground objects will be created (default: position calculated 15 meters away from player) 4: STRING - custom suffix added to filename if autolog is used (default: ""). Example: bis_scriptHandle = [] spawn BIS_fnc_diagMacrosSimpleObject; Expected output per class (animate and hide arrays can have varying amount of elements): #define CFGVEHICLES_SIMPLEOBJECT_class_F\ class SimpleObject\ {\ animate[] =\ {\ {"animationName1", 1},\ {"animationName2", 2}\ };\ hide[] =\ {\ "animationSelection1",\ "animationSelection2"\ };\ verticalOffsetAsl = 0;\ }; */
- Execution:
- call
- Groups:
- Diagnostic
Syntax
- Syntax:
- [] call BIS_fnc_diagMacrosSimpleObject
- Return Value:
- Return value needed
Examples
- Examples:
- Example needed
Additional Information
- See also:
- See also needed
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