Difference between revisions of "VN fnc melee fired"
Jump to navigation
Jump to search
(Created page with "{{Function |v= 1.00 |author=Kerc/IFA3 & Ethan Johnson |a= |e= |g1= vn_melee_functions |d= <pre>Function runs when player fires the melee action.</pre> |s= [_position,_off...") |
(No difference)
|
Latest revision as of 02:16, 5 May 2022
| ← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Kerc/IFA3 & Ethan Johnson |
|
Description
Function runs when player fires the melee action.
Syntax
- Syntax
- [_position,_offset,_length,_player,_butt] call VN_fnc_melee_fired;
- Parameters
- _projectile: Object - Projectile object
- _offset: Array - Offset from the selection position
- _length: Number - Length of the intersection
- _player: Object - Player object
- _butt: Boolean - (Optional, default
false) Is this a butt action - Return value
- Boolean - Function reached the end
Examples
- Example 1
- [bullet, [0,1,0], 5, player, false] call vn_fnc_melee_fired