BIS_fnc_replaceWithSimpleObject
Jump to navigation
Jump to search
Description
- Description:
/* Author: Jiri Wainar 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. * Use with caution as this technique is not very clean - should not be used for many objects and definatelly not in MP games. Parameter(s): 0: OBJECT - object that will be replaced by simple object 1: BOOL - force super-simple object (default: false); true: super-simple object will be force, no type info or re-texturing is available, false: super-simple object is used unless re-texturing is possible Returns: OBJECT - simple object that replaced the simulated object Example: [_object:object] call BIS_fnc_replaceWithSimpleObject; See also: * bis_fnc_createSimpleObject * bis_fnc_replaceWithSimpleObject * bis_fnc_simpleObjectData * bis_fnc_exportCfgVehiclesSimpleObjectData * bis_fnc_diagMacrosSimpleObjectData */
(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- Syntax needed
- Return Value:
- Return value needed
Examples
- Example 1:
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