BIS fnc ambientAnim: Difference between revisions
Jump to navigation
Jump to search
m (see also) |
No edit summary |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Arma 3 |= Game | ||
|1. | |1.62|= Game Version | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | |Replaces object with simple object. Object must not contain any crew and must be placed on ground.<br><br> | ||
Remarks:<br> | |||
* Useful if you do not have access to simple object adjustment data - e.g. in case of unsupported/discontinued asset.<br> | |||
* All official assets have the adjustment data defined in config.<br><br> | |||
{{note|Use with caution as this technique is not very clean - should '''not''' be used for many objects and definitely '''not in MP''' games.}} | |||
|= Description | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [ | | [object] [[call]] '''BIS_fnc_replaceWithSimpleObject''' |= Syntax | ||
|= | |p1= [[Object]]: Object that will be replaced by simple object|= Parameter 1 | ||
____________________________________________________________________________________________ | |||
| | | [[Boolean]] - [[true]] if throwable |= Return value | ||
____________________________________________________________________________________________ | |||
| | |x1= <code>[tank] [[call]] '''BIS_fnc_replaceWithSimpleObject''';</code>|= EXAMPLE1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[ | | [[createSimpleObject]], [[BIS_fnc_adjustSimpleObject]], [[BIS_fnc_createSimpleObject]], [[BIS_fnc_simpleObjectData]] |= See Also | ||
}} | }} | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<!-- Note Section | <!-- BEGIN Note Section --> | ||
<dd class="notedate">Posted on | <!-- For example: | ||
<dd class="notedate">Posted on Month Day, Year - Time (UTC)</dd> | |||
<dt class="note">'''[[User:User Name|User Name]]'''</dt> | |||
<dd class="note">This is an example note. It is true and verifiable, and contains a little code snippet. | |||
<code>[[if]] ([[_this]] == anExample) [[then]] { [[hint]] "Leave it here for others to read"; };</code></dd> | |||
--> | |||
<!-- END Note Section --> | |||
<dt class="note">'''[[User: | |||
<dd class="note"> | |||
<code> | |||
[[if]] ([[ | |||
<!-- Note Section | |||
</dl> | </dl> | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category: | <!-- Appropriate categories go here --> | ||
[[Category:Arma 3: Functions|{{uc:{{PAGENAME}}}}]] | |||
Revision as of 14:25, 14 September 2016
Description
- 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.
- Useful if you do not have access to simple object adjustment data - e.g. in case of unsupported/discontinued asset.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [object] call BIS_fnc_replaceWithSimpleObject
- Parameters:
- Object: Object that will be replaced by simple object
- Return Value:
- Boolean - true if throwable
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