BIS fnc VRHitpart: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "code>_([a-zA-Z0-9_]+) = " to "code>private _$1 = ")
m (Text replacement - "<code>\[\[private\]\] (_?[a-zA-Z0-9_]+) = \[([^\[]*)\] \[\[(call|spawn)\]\] \[\[(BI(N|S)_fnc_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>private $1 = [$2] $3 $4;</sqf>")
Line 18: Line 18:
|r1= [[Nothing]]
|r1= [[Nothing]]


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


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

Revision as of 13:35, 1 July 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