BIS fnc VRHitpart: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ")
m (Text replacement - "code>_([a-zA-Z0-9_]+) = " to "code>private _$1 = ")
Line 18: Line 18:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>_delta = [someObject, 60] [[call]] [[BIS_fnc_VRHitpart]];</code>
|x1= <code>[[private]] _delta = [someObject, 60] [[call]] [[BIS_fnc_VRHitpart]];</code>


|seealso= [[:Category:Function Group: VR|VR functions]]
|seealso= [[:Category:Function Group: VR|VR functions]]
}}
}}

Revision as of 13:07, 6 May 2022

Hover & click on the images for description

Description

Description:
Initialize hit effects on VR targets.

grey - undamaged
orange - damaged
red - destroyed
Execution:
call
Groups:
VR

Syntax

Syntax:
[object,time] call BIS_fnc_VRHitpart
Parameters:
object: Object - VR Object
time: Number - (Optional, default 30) Delay before hit parts are returned back to default
Return Value:
Nothing

Examples

Example 1:
private _delta = [someObject, 60] call BIS_fnc_VRHitpart;

Additional Information

See also:
VR functions

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