BIS fnc replaceWithSimpleObject: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Remove note template usage) |
||
Line 9: | Line 9: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Replaces object with | | 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| | |||
* 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.}} |DESCRIPTION= | ||
|pr = Use with caution as this technique is not very clean - it should not be used for many objects and definitely '''not''' in MP games. |PROBLEMS= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 22: | Line 22: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Object]] |RETURNVALUE= | | [[Object]] - the created [[Arma 3 Simple Objects|Simple Object]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 38: | Line 38: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
Revision as of 18:34, 26 December 2020
Description
- Description:
- Replaces a normal object with a Simple Object. Object must not contain any crew and must be placed on the ground.
- 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:
- [object] call BIS_fnc_replaceWithSimpleObject
- 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