BIS fnc replaceWithSimpleObject: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Remove note template usage) |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| Arma 3 |Game= | | Arma 3 |Game= | ||
Line 7: | Line 6: | ||
|gr1 = Object Manipulation |GROUP1= | |gr1 = Object Manipulation |GROUP1= | ||
| 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. | ||
Line 15: | Line 13: | ||
|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= | |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= | ||
| [object] call [[BIS_fnc_replaceWithSimpleObject]] |SYNTAX= | | [object] call [[BIS_fnc_replaceWithSimpleObject]] |SYNTAX= | ||
|p1= object: [[Object]] - the object that will be replaced by a simple object |PARAMETER1= | |p1= object: [[Object]] - the object that will be replaced by a simple object |PARAMETER1= | ||
| [[Object]] - the created [[Arma 3 Simple Objects|Simple Object]] |RETURNVALUE= | | [[Object]] - the created [[Arma 3 Simple Objects|Simple Object]] |RETURNVALUE= | ||
|x1= <code>[tank] [[call]] '''BIS_fnc_replaceWithSimpleObject''';</code>|EXAMPLE1= | |x1= <code>[tank] [[call]] '''BIS_fnc_replaceWithSimpleObject''';</code>|EXAMPLE1= | ||
| [[createSimpleObject]], [[BIS_fnc_adjustSimpleObject]], [[BIS_fnc_createSimpleObject]], [[BIS_fnc_simpleObjectData]] |SEEALSO= | | [[createSimpleObject]], [[BIS_fnc_adjustSimpleObject]], [[BIS_fnc_createSimpleObject]], [[BIS_fnc_simpleObjectData]] |SEEALSO= |
Revision as of 23:45, 16 January 2021
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