BIS fnc ffvUpdate: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Execution " to "|Execution= ")
m (Some wiki formatting)
 
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.34


|1.34|Game version=
|gr1= Vehicles
____________________________________________________________________________________________


| Update Firing From Vehicle feature depending on condition defined in turret's config.|Description=
|descr= Update Firing From Vehicle feature depending on condition defined in turret's config.
____________________________________________________________________________________________


| vehicle call [[BIS_fnc_ffvUpdate]] |Syntax=
|s1= vehicle call [[BIS_fnc_ffvUpdate]]


|p1= vehicle: [[Object]]


|p1= vehicle: [[Object]]|Parameter 1=
|r1= [[Nothing]]


| [[Nothing]]|Return value=
|x1= <sqf>
if (local _vehicle) then
{
_vehicle animate ["Door_1", 1];
_vehicle call BIS_fnc_ffvUpdate;
};
</sqf>


<!---
|seealso=
|exec= spawn |Execution=
--->
____________________________________________________________________________________________
 
|x1= <code>if ([[local]] _vehicle) then {
_vehicle [[animate]] ["Door_1",1];
_vehicle [[call]] [[BIS_fnc_ffvUpdate]];
};</code>|Example 1=
____________________________________________________________________________________________
 
|  |See also=
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:ffvUpdate}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:ffvUpdate}}]]

Latest revision as of 11:45, 13 July 2022

Hover & click on the images for description

Description

Description:
Update Firing From Vehicle feature depending on condition defined in turret's config.
Execution:
call
Groups:
Vehicles

Syntax

Syntax:
vehicle call BIS_fnc_ffvUpdate
Parameters:
vehicle: Object
Return Value:
Nothing

Examples

Example 1:
if (local _vehicle) then { _vehicle animate ["Door_1", 1]; _vehicle call BIS_fnc_ffvUpdate; };

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