BIS fnc simpleObjectData: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <dl class="command_description"> <!-- BEGIN Note Section --> <!-- END Note Section --> </dl>" to "")
m (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|")
Line 23: Line 23:
* hiddenSelections: [[Array]] - hidden selections
* hiddenSelections: [[Array]] - hidden selections


{{Informative | Return values can be used with [[BIS_fnc_adjustSimpleObject]].}}
{{Feature | Informative | Return values can be used with [[BIS_fnc_adjustSimpleObject]].}}


|x1= <code>["B_Boat_Armed_01_minigun_F"] [[call]] [[BIS_fnc_simpleObjectData]];</code>
|x1= <code>["B_Boat_Armed_01_minigun_F"] [[call]] [[BIS_fnc_simpleObjectData]];</code>

Revision as of 00:00, 7 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Object Manipulation

Syntax

Syntax:
Syntax needed
Parameters:
classname: Object or String:
  • Object - Existing object or simple object that will be scanned; if it is a simple object '_reversed' attribute cannot be retrieved
  • String - Can be either:
    • Classname of the object; data are retrieved from the config definition.
    • 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:
Return value needed

Examples

Example 1:
["B_Boat_Armed_01_minigun_F"] call BIS_fnc_simpleObjectData;
Example 2:
[BIS_boat] call BIS_fnc_simpleObjectData;

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