BIS fnc VRHitpart: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Function " to "{{RV|type=function ") |
Lou Montana (talk | contribs) m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )D([a-z])" to "$1d$3") |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.24 | |||
|1.24 | |||
|gr1= VR | |gr1= VR | ||
| Initialize hit effects on VR targets.<br> | |descr= Initialize hit effects on VR targets.<br> | ||
<br>grey - undamaged | <br>grey - undamaged | ||
<br>orange - damaged | <br>orange - damaged | ||
<br>red - destroyed | <br>red - destroyed | ||
| [object,time] call [[BIS_fnc_VRHitpart]] | |s1= [object,time] call [[BIS_fnc_VRHitpart]] | ||
|p1= object: [[Object]] - VR Object | |p1= object: [[Object]] - VR Object | ||
|p2= time: [[Number]] - (Optional, default 30) | |p2= time: [[Number]] - (Optional, default 30) delay before hit parts are returned back to default | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>private _delta = [someObject, 60] call BIS_fnc_VRHitpart;</sqf> | ||
| [[:Category:Function Group: VR|VR functions]] | |seealso= [[:Category:Function Group: VR|VR functions]] | ||
}} | }} | ||
Latest revision as of 12:28, 8 November 2023
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:
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