BIS fnc VRHitpart: Difference between revisions
Jump to navigation
Jump to search
m (1 revision imported: BIS Functions update 7/7) |
m (see also) |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | arma 3 |= Game name | ||
|1. | |1.24|= Game version | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| < | | Initialize hit effects on VR targets.<br> | ||
<br>grey - undamaged | |||
<br>orange - damaged | |||
<br>red - destroyed|= Description | |||
____________________________________________________________________________________________ | |||
| [object,time] call [[BIS_fnc_VRHitpart]] |= Syntax | |||
____________________________________________________________________________________________ | |||
|p1= object: [[Object]] - VR Object|= Parameter 1 | |||
|p2= time: [[Number]] - (Optional, default 30) Delay before hit parts are returned back to default|= Parameter 2 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[Nothing]]|= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> |= | |x1= <code>_delta = [someObject, 60] [[call]] [[BIS_fnc_VRHitpart]];</code> |= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= See also | | [[:Category:Function Group: VR|VR functions]]|= See also | ||
}} | }} | ||
Revision as of 09:35, 1 June 2018
Description
- Description:
- Initialize hit effects on VR targets.
grey - undamaged
orange - damaged
red - destroyed - Execution:
- call
- Groups:
- Uncategorised
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