BIS fnc VRHitpart: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "| arma 3 |Game name=" to "| arma3 |Game name=") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1= VR |GROUP1= | |gr1= VR |GROUP1= | ||
| Initialize hit effects on VR targets.<br> | | Initialize hit effects on VR targets.<br> | ||
Line 13: | Line 11: | ||
<br>orange - damaged | <br>orange - damaged | ||
<br>red - destroyed|DESCRIPTION= | <br>red - destroyed|DESCRIPTION= | ||
| [object,time] call [[BIS_fnc_VRHitpart]] |SYNTAX= | | [object,time] call [[BIS_fnc_VRHitpart]] |SYNTAX= | ||
|p1= object: [[Object]] - VR Object|PARAMETER1= | |p1= object: [[Object]] - VR Object|PARAMETER1= | ||
|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|PARAMETER2= | ||
| [[Nothing]]|RETURNVALUE= | | [[Nothing]]|RETURNVALUE= | ||
|x1= <code>_delta = [someObject, 60] [[call]] [[BIS_fnc_VRHitpart]];</code> |= | |x1= <code>_delta = [someObject, 60] [[call]] [[BIS_fnc_VRHitpart]];</code> |= | ||
| [[:Category:Function Group: VR|VR functions]]|SEEALSO= | | [[:Category:Function Group: VR|VR functions]]|SEEALSO= |
Revision as of 22:41, 16 January 2021
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:
_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