BIS fnc replaceWithSimpleObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Comments" to "|Comments=")
m (Missing category)
Line 37: Line 37:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Arma 3: Functions|{{uc:replaceWithSimpleObject}}]]
[[Category:Arma 3: Functions|{{uc:replaceWithSimpleObject}}]]
[[Category:Functions|{{uc:replaceWithSimpleObject}}]]

Revision as of 09:08, 20 September 2019

Hover & click on the images for description

Description

Description:
Replaces object with simple object. Object must not contain any crew and must be placed on ground.
NOTE:
  • Useful if you do not have access to simple object adjustment data - e.g. in case of unsupported/discontinued asset.
  • All official assets have the adjustment data defined in config.
Template:note
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[object] call BIS_fnc_replaceWithSimpleObject
Parameters:
object: Object - the object that will be replaced by a simple object
Return Value:
Object

Examples

Example 1:
[tank] call BIS_fnc_replaceWithSimpleObject;

Additional Information

See also:
createSimpleObjectBIS_fnc_adjustSimpleObjectBIS_fnc_createSimpleObjectBIS_fnc_simpleObjectData

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

Bottom Section