BIS fnc ffvUpdate: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
 
|version1= 1.34
|1.34


|gr1= Vehicles
|gr1= Vehicles
Line 15: Line 14:
|r1= [[Nothing]]
|r1= [[Nothing]]


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

Revision as of 22:28, 13 June 2021

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