BIS fnc VRHitpart: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\|= " to " ") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.24 | |1.24 | ||
|gr1= VR | |gr1= VR | ||
| 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 | <br>red - destroyed | ||
| [object,time] call [[BIS_fnc_VRHitpart]] | | [object,time] call [[BIS_fnc_VRHitpart]] | ||
|p1= object: [[Object]] - VR Object | |p1= object: [[Object]] - VR Object | ||
|p2= time: [[Number]] - (Optional, default 30) Delay before hit parts are returned back to default | |p2= time: [[Number]] - (Optional, default 30) Delay before hit parts are returned back to default | ||
| [[Nothing]] | | [[Nothing]] | ||
|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]] | | [[:Category:Function Group: VR|VR functions]] | ||
}} | }} | ||
Revision as of 22:19, 17 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