BIS fnc simpleObjectData: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Function|= Comments ____________________________________________________________________________________________ | Arma 3 |= Game |1.62|= Game Version ____________________...") |
m (1 revision imported: BIS Functions update 2/7) |
(No difference)
|
Revision as of 19:58, 20 May 2017
Description
- Description:
- Get complete data needed for simple object creation.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [classname] call BIS_fnc_simpleObjectData
- Parameters:
- String - Classname of the object; data are retrieved from the config definition.
or
Object - Existing object or simple object that will be scanned; if it is a simple object '_reversed' attribute cannot be retrieved
or
String - Path to the p3d; verifies and fixes model path format and returns it in an array (index 1). It has very limited functionality in this mode as no data can actually be retrieved from model path. - Return Value:
- Array in format:
0: String - Class name from CfgVehicles
1: String - Model - Path to the vehicle p3d model
2: Number - Reversed - Reverse value, to fix orientation
3: Array - Vertical offset
4: Array - Animation adjustments
5: Array - Hidden selections
Template:note
Examples
- Example 1:
["B_Boat_Armed_01_minigun_F"] call BIS_fnc_simpleObjectData;
- Example 2:
[BIS_boat] call BIS_fnc_simpleObjectData;
Additional Information
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