VN_fnc_melee_fired

From Savage Game Design Wiki
Revision as of 02:16, 5 May 2022 by Slow (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Kerc/IFA3 & Ethan Johnson
Argument(s): n/a
Effect(s): unknown

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