BIS fnc replaceWithSimpleObject: 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 6: Line 6:


| Replaces a normal object with a [[Arma 3 Simple Objects|Simple Object]]. Object must not contain any crew and must be placed on the ground.
| Replaces a normal object with a [[Arma 3 Simple Objects|Simple Object]]. Object must not contain any crew and must be placed on the ground.
{{Informative|
{{Feature|Informative|
* Useful if you do not have access to simple object adjustment data - e.g. in case of unsupported/discontinued asset.
* 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.}}
* All official assets have the adjustment data defined in config.}}

Revision as of 23:59, 6 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Problems:
Use with caution as this technique is not very clean - it should not be used for many objects and definitely not in MP games.
Groups:
Object Manipulation

Syntax

Syntax:
Syntax needed
Parameters:
object: Object - the object that will be replaced by a simple object
Return Value:
Return value needed

Examples

Example 1:
[tank] call BIS_fnc_replaceWithSimpleObject;

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