BIS fnc replaceWithSimpleObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=")
Line 16: Line 16:
|p1= object: [[Object]] - the object that will be replaced by a simple object
|p1= object: [[Object]] - the object that will be replaced by a simple object


| [[Object]] - the created [[Arma 3 Simple Objects|Simple Object]]
|r1=[[Object]] - the created [[Arma 3 Simple Objects|Simple Object]]


|x1= <code>[tank] [[call]] '''BIS_fnc_replaceWithSimpleObject''';</code>
|x1= <code>[tank] [[call]] '''BIS_fnc_replaceWithSimpleObject''';</code>

Revision as of 18:03, 10 June 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:
Object - the created Simple 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