BIS fnc replaceWithSimpleObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Function|= Comments ____________________________________________________________________________________________ | Arma 3 |= Game |1.62|= Game Version ____________________...")
No edit summary
Line 13: Line 13:
* All official assets have the adjustment data defined in config.<br><br>
* All official assets have the adjustment data defined in config.<br><br>


{{note|Use with caution as this technique is not very clean - should not be used for many objects and definatelly not in MP games.}}
{{note|Use with caution as this technique is not very clean - should not be used for many objects and definitely not in MP games.}}
|= Description
|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 18:13, 14 September 2016

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.

Remarks:
  • 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 that will be replaced by simple object
Return Value:
Boolean - true if throwable

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