BIS fnc unflipThing: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{RV|type=function |game1= arma3 |version1= 2.16 |gr1= Vehicles |descr= Called by unflip thing action. Can be used to unflip vehicle without transition. The caller is made...")
 
m (Text replacement - "↵|version1= 2.18↵↵|branch= dev↵" to " |version1= 2.18 ")
Tag: Manual revert
 
(4 intermediate revisions by 3 users not shown)
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= 2.16
|version1= 2.18


|gr1= Vehicles
|gr1= Vehicles


|descr= Called by unflip thing action. Can be used to unflip vehicle without transition. The caller is made invincible during flipping and the original [[isDamageAllowed]] state is set afterward.
|descr= Called by unflip thing action. Can be used to unflip vehicle without transition. The caller is made invincible during flipping and the original [[isDamageAllowed]] state is set afterward.
|mp= multiplayer compatible


|s1= [caller, thing] call [[BIS_fnc_unflipThing]]
|s1= [caller, thing] call [[BIS_fnc_unflipThing]]


|p1= caller: [[Object]] - The unit that called the action. Used in context of the unflip action
|p1= caller: [[Object]] - the unit that called the action, used in context of the unflip action


|p2= thing: [[Object]] - The thing that should be flipped
|p2= thing: [[Object]] - the thing that should be flipped


|r1= [[Boolean]] - [[true]]
|r1= [[Boolean]] - [[true]]


|x1= <sqf>[player, vehicle player] call BIS_fnc_unflipThing;</sqf>
|x1= <sqf>[player, quad1] call BIS_fnc_unflipThing;</sqf>


|seealso= [[BIS_fnc_unflipVehicle]]
|seealso= [[BIS_fnc_unflipVehicle]]
}}
}}

Latest revision as of 16:08, 8 October 2024

Hover & click on the images for description

Description

Description:
Called by unflip thing action. Can be used to unflip vehicle without transition. The caller is made invincible during flipping and the original isDamageAllowed state is set afterward.
Execution:
call
Groups:
Vehicles

Syntax

Syntax:
[caller, thing] call BIS_fnc_unflipThing
Parameters:
caller: Object - the unit that called the action, used in context of the unflip action
thing: Object - the thing that should be flipped
Return Value:
Boolean - true

Examples

Example 1:
[player, quad1] call BIS_fnc_unflipThing;

Additional Information

See also:
BIS_fnc_unflipVehicle

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