BIS fnc VRHitpart: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )D([a-z])" to "$1d$3")
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function


| arma3 |Game name=
|game1= arma3
|version1= 1.24


|1.24|Game version=
|gr1= VR


|gr1= VR |GROUP1=
|descr= Initialize hit effects on VR targets.<br>
 
| Initialize hit effects on VR targets.<br>
<br>grey - undamaged
<br>grey - undamaged
<br>orange - damaged
<br>orange - damaged
<br>red - destroyed|DESCRIPTION=
<br>red - destroyed


| [object,time] call [[BIS_fnc_VRHitpart]] |SYNTAX=
|s1= [object,time] call [[BIS_fnc_VRHitpart]]


|p1= object: [[Object]] - VR Object|PARAMETER1=
|p1= object: [[Object]] - VR Object
|p2= time: [[Number]] - (Optional, default 30) Delay before hit parts are returned back to default|PARAMETER2=
|p2= time: [[Number]] - (Optional, default 30) delay before hit parts are returned back to default


| [[Nothing]]|RETURNVALUE=
|r1= [[Nothing]]


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


| [[:Category:Function Group: VR|VR functions]]|SEEALSO=
|seealso= [[:Category:Function Group: VR|VR functions]]
}}
}}
<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:VRHitpart}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:VRHitpart}}]]

Latest revision as of 12:28, 8 November 2023

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