BIS_fnc_replaceWithSimpleObject

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.62
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.62

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.
Use with caution as this technique is not very clean - should not be used for many objects and definitely not in MP games.

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

Execution:
call
Multiplayer:
-
See also:
createSimpleObjectBIS_fnc_adjustSimpleObjectBIS_fnc_createSimpleObjectBIS_fnc_simpleObjectData

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Bottom Section